Uplink client
createFiniteChannel
Create a new finite channel
Check out the sdk quickstart guide for help setting up your client.
Usage
Returns
Parameters
uri
- type:
string
The metadata URI of the channel
name
- type:
string
The name of the channel
defaultAdmin
- type:
string
The address of the default admin. Admins can update channel metadata, fees, and logic and add or remove managers.
managers
- type:
string[]
An array of manager addresses. Managers can update channel metadata, fees, and logic.
setupActions
- type:
SetupAction[]
An array of channel fee and logic configurations
transportLayer
- type:
FiniteTransportLayer
The transport layer configuration. Set the timing and reward criteria for the channel.
transactionOverrides (optional)
- type:
TransactionOverrides
Overrides for the transaction
Calldata
generate calldata for the transaction
Returns
Gas Estimation
Estimate gas for the transaction