set_commission: TxDescriptor<{
    new_commission?: [number, SS58String];
    pool_id: number;
}>

Set the commission of a pool. Both a commission percentage and a commission payee must be provided in the current tuple. Where a current of None is provided, any current commission will be removed.

  • If a None is supplied to new_commission, existing commission will be removed.