@ecp.eth/sdk / indexer
indexer
Ethereum Comments Protocol SDK Indexer Functionality for indexing and querying comments data
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 |
getChannelCursor | Get the cursor for a channel |
getCommentCursor | Get the cursor for a comment |
getReportsCursor | Get the cursor for a report |
isMuted | Checks if an address is marked as a muted on the indexer of your choice. |
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