Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / getChannelCursor

Function: getChannelCursor()

function getChannelCursor(channelId, timestamp): `0x${string}`;

Defined in: packages/sdk/src/indexer/utils.ts:20

Get the cursor for a channel

Parameters

channelId

bigint

The ID of the channel

timestamp

Date

The timestamp of the channel

Returns

`0x${string}`

The cursor for the channel