@ecp.eth/sdk / indexer
indexer
Ethereum Comments Protocol SDK Indexer Functionality for indexing and querying comments data
Classes
| Class | Description |
|---|---|
| ResponseError | An error thrown when a response from the indexer is not successful. |
Type Aliases
Variables
Functions
| Function | Description |
|---|---|
| convertIndexerMetadataToRecord | Converts IndexerAPI MetadataEntry array to Record format for easier manipulation |
| convertRecordToIndexerMetadata | Converts Record format metadata to IndexerAPI MetadataEntry array format |
| fetchAuthorData | Fetch author data from the Indexer API |
| fetchAutocomplete | Fetch autocomplete suggestions from the Indexer API |
| fetchChannel | Fetch a single channel by ID from the Indexer API |
| fetchChannels | Fetch channels from the Indexer API |
| fetchComment | Fetch one single comment from the Indexer API |
| fetchCommentReplies | Fetch replies for a comment from the Indexer API |
| fetchComments | Fetch comments from the Indexer API |
| fetchGroupedNotifications | Fetch grouped notifications from the Indexer API |
| fetchNotifications | Fetch notifications from the Indexer API |
| getChannelCursor | Get the cursor for a channel |
| getCommentCursor | Get the cursor for a comment |
| getReportsCursor | Get the cursor for a report |
| indexerApiRetryCondition | Determine if a fetch error from the indexer API should be retried |
| isMuted | Checks if an address is marked as muted on the indexer of your choice. |
| isRetryableHttpResponse | Check if a response is retryable |
| markNotificationsAsSeen | Mark notifications as seen |
| reportComment | Report a comment to the Indexer API |
References
convertContractToRecordFormat
Re-exports convertContractToRecordFormat
convertRecordToContractFormat
Re-exports convertRecordToContractFormat
createKeyTypeMap
Re-exports createKeyTypeMap
MetadataRecord
Re-exports MetadataRecord
MetadataType
Re-exports MetadataType
parseMetadataFromContract
Re-exports parseMetadataFromContract
prepareMetadataForContract
Re-exports prepareMetadataForContract