React Hooks
useUpdateTransportLayer
Update the transport layer for an infinite channel
Usage
Returns
updateInfiniteChannelTransportLayer
Function to update the infinite channel transport layer. See updateTransportLayer parameters.
- type:
({ channelAddress: string; saleDurationInSeconds: number; transactionOverrides?: TransactionOverrides; }) => Promise<Log[] | undefined>
status
- type:
ContractExecutionStatus
type ContractExecutionStatus =
| 'pendingApproval'
| 'txInProgress'
| 'complete'
| 'error'
the status of the transaction
txHash
- type:
string
the transaction hash of the transaction
error
- type:
any
the revert message if the transaction fails