Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPIChannelSchemaType

Type Alias: IndexerAPIChannelSchemaType

type IndexerAPIChannelSchemaType = {
  chainId: number;
  createdAt: Date;
  description: string;
  hook: null | `0x${string}`;
  id: bigint;
  metadata: {
     key: `0x${string}`;
     value: `0x${string}`;
  }[];
  name: string;
  owner: `0x${string}`;
  updatedAt: Date;
};

Defined in: packages/sdk/src/indexer/schemas.ts:72

Type declaration

chainId

chainId: number;

createdAt

createdAt: Date;

description

description: string;

hook

hook: null | `0x${string}`;

id

id: bigint;

metadata

metadata: {
  key: `0x${string}`;
  value: `0x${string}`;
}[] = IndexerAPIMetadataSchema;

name

name: string;

owner

owner: `0x${string}` = HexSchema;

updatedAt

updatedAt: Date;