Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / getCommentCursor

Function: getCommentCursor()

function getCommentCursor(commentId, timestamp): `0x${string}`;

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

Get the cursor for a comment

Parameters

commentId

`0x${string}`

The ID of the comment

timestamp

Date

The timestamp of the comment

Returns

`0x${string}`

The cursor for the comment