Update the fees and reward splits for a deployed channel
"use client"; import { useUpdateChannelFees } from "@tx-kit/hooks"; const MyComponent = () => { const { updateChannelFees, status, txHash, error } = updateChannelFees() const onClick = () => { updateChannelFees({ ... }) } return <button onClick={onClick}>Update Fees</button> }
({ channelAddress, feeContract, feeArgs, transactionOverrides }: SetChannelFeeConfig) => Promise<Log[] | undefined>
ContractExecutionStatus
type ContractExecutionStatus = | 'pendingApproval' | 'txInProgress' | 'complete' | 'error'
string
any