Skip to main content
Check out the sdk quickstart guide for help setting up your client.

Usage

Returns

Parameters

channelAddress

  • type: string
The target channel address

feeContract

  • type: string
The address of the fee contract to use. Use CUSTOM_FEES for the default fee contract, or address zero to disable fees.

feeArgs

  • type: CustomFeeInputs | null
The fee configuration to apply. If feeContract is set to address zero, this parameter is ignored.

transactionOverrides (optional)

  • type: TransactionOverrides
Overrides for the transaction

Calldata

generate calldata for the transaction

Returns

Gas Estimation

Estimate gas for the transaction

Returns