Skip to content

@ecp.eth/sdk


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

Type Alias: OwnerOfParams

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

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

Properties

channelId

channelId: bigint;

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

The ID of the channel to get the owner of


channelManagerAddress?

optional channelManagerAddress: Hex;

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

The address of the channel manager

Default

CHANNEL_MANAGER_ADDRESS

readContract

readContract: ContractReadFunctions["ownerOf"];

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