Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / fetchComment

Function: fetchComment()

function fetchComment(options): Promise<IndexerAPICommentSchemaType>;

Defined in: packages/sdk/src/indexer/api.ts:109

Fetch one single comment from the Indexer API

Parameters

options

FetchCommentOptions

Returns

Promise<IndexerAPICommentSchemaType>

A promise that resolves the comment fetched from the Indexer API

Throws

If the comment is not available on given chain(s) or there is some request failure.