@ecp.eth/sdk / indexer / IndexerAPIListChannelsSchemaType
Type Alias: IndexerAPIListChannelsSchemaType
type IndexerAPIListChannelsSchemaType = {
pagination: {
endCursor?: `0x${string}`;
hasNext: boolean;
hasPrevious: boolean;
limit: number;
startCursor?: `0x${string}`;
};
results: {
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:91
Type declaration
pagination
pagination: {
endCursor?: `0x${string}`;
hasNext: boolean;
hasPrevious: boolean;
limit: number;
startCursor?: `0x${string}`;
} = IndexerAPICursorPaginationSchema;
pagination.endCursor?
optional endCursor: `0x${string}`;
pagination.hasNext
hasNext: boolean;
pagination.hasPrevious
hasPrevious: boolean;
pagination.limit
limit: number;
pagination.startCursor?
optional startCursor: `0x${string}`;
results
results: {
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;
}[];