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:174

Properties

channelId

channelId: bigint;

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

The ID of the channel to get metadata for


channelManagerAddress?

optional channelManagerAddress: Hex;

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

The address of the channel manager

Default

CHANNEL_MANAGER_ADDRESS

readContract

readContract: ContractReadFunctions["getChannelMetadata"];

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