testnet
GitHub

Query/GetReceivedAttestationUIDCount

GetReceivedAttestationUIDCount(IndexerContract, Recipient, SchemaUid) -> uint64

Returns the total number of attestations received by a recipient for a given schema. Useful for calculating pagination offsets.

Parameters

Name Type Required Description
indexer_contract string Address of the Indexer contract.
recipient string Address of the recipient.
schema_uid string The Schema UID.

Returns

Type: uint64

The count of attestations.

Examples

CLI Usage

Check how many attestations a user has.

marood query eas get-received-attestation-uid-count \
  0xIndexerAddr... 0xRecipient... 0xSchema...
ESC
Type to search