@ecp.eth/sdk / channel-manager / GetChannelParams
Type Alias: GetChannelParams
type GetChannelParams = {
channelId: bigint;
channelManagerAddress?: Hex;
readContract: ContractReadFunctions["getChannel"];
};Defined in: packages/sdk/src/channel-manager/channel.ts:125
Properties
channelId
channelId: bigint;Defined in: packages/sdk/src/channel-manager/channel.ts:129
The ID of the channel to get
channelManagerAddress?
optional channelManagerAddress: Hex;Defined in: packages/sdk/src/channel-manager/channel.ts:135
The address of the channel manager
Default
CHANNEL_MANAGER_ADDRESSreadContract
readContract: ContractReadFunctions["getChannel"];Defined in: packages/sdk/src/channel-manager/channel.ts:136