@ecp.eth/sdk / indexer / IndexerAPIListChannelsOutputSchemaType
Type Alias: IndexerAPIListChannelsOutputSchemaType
type IndexerAPIListChannelsOutputSchemaType = {
pagination: {
endCursor?: `0x${string}`;
hasNext: boolean;
hasPrevious: boolean;
limit: number;
startCursor?: `0x${string}`;
};
results: {
chainId: number;
createdAt: string;
description: string;
hook: null | `0x${string}`;
id: string;
metadata: {
key: `0x${string}`;
value: `0x${string}`;
}[];
name: string;
owner: `0x${string}`;
updatedAt: string;
}[];
};
Defined in: packages/sdk/src/indexer/schemas.ts:101
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: string;
description: string;
hook: null | `0x${string}`;
id: string;
metadata: {
key: `0x${string}`;
value: `0x${string}`;
}[];
name: string;
owner: `0x${string}`;
updatedAt: string;
}[];