Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / channel-manager / GetChannelMetadataParams

Type Alias: GetChannelMetadataParams

type GetChannelMetadataParams = {
  channelId: bigint;
  channelManagerAddress?: Hex;
  readContract: ContractReadFunctions["getChannelMetadata"];
};

Defined in: packages/sdk/src/channel-manager/channel.ts:144

Properties

channelId

channelId: bigint;

Defined in: packages/sdk/src/channel-manager/channel.ts:148

The ID of the channel to get metadata for


channelManagerAddress?

optional channelManagerAddress: Hex;

Defined in: packages/sdk/src/channel-manager/channel.ts:154

The address of the channel manager

Default

CHANNEL_MANAGER_ADDRESS

readContract

readContract: ContractReadFunctions["getChannelMetadata"];

Defined in: packages/sdk/src/channel-manager/channel.ts:155