Update the transport layer for an infinite channel
import { uplinkClient } from './config' const { event } = await uplinkClient.updateInfiniteChannelTransportLayer({ channelAddress: '0x123...', saleDurationInSeconds: 100 })
{ event: Log }
string
const { event } = await uplinkClient.updateInfiniteChannelTransportLayer({ channelAddress: '0x1234567890123456789012345678901234567890', ... })
number
const { event } = await uplinkClient.updateInfiniteChannelTransportLayer({ saleDurationInSeconds: 100, ... })
TransactionOverrides
type TransactionOverrides = { accessList?: AccessList gas?: bigint maxFeePerGas?: bigint maxPriorityFeePerGas?: bigint nonce?: number value?: bigint }
const { event } = await uplinkClient.updateInfiniteChannelTransportLayer({ ... transactionOverrides: { gas: 1000000n } })
const { address, data } = await uplinkClient.calldata.updateInfiniteChannelTransportLayer({...})
{ address: string, // address of the target contract data: string // calldata for the transaction }
const gas = await uplinkClient.estimateGas.updateInfiniteChannelTransportLayer({...})
bigint // gas estimate in wei