React Hooks
useUpdateChannelFees
Update the fees and reward splits for a deployed channel
Usage
Returns
updateChannelFees
Function to update the fees and reward splits for a deployed channel. See updateChannelFees args.
- type:
({ channelAddress, feeContract, feeArgs, transactionOverrides }: SetChannelFeeConfig) => Promise<Log[] | undefined>
status
- type:
ContractExecutionStatus
the status of the transaction
txHash
- type:
string
the transaction hash of the transaction
error
- type:
any
the revert message if the transaction fails