testnet
GitHub

Query/GetReceivedAttestationUIDs

GetReceivedAttestationUIDs(IndexerContract, Recipient, SchemaUid, Pagination) -> [string]

Queries the Indexer contract for a list of attestation UIDs received by a specific address for a specific schema.

Parameters

Name Type Required Description
indexer_contract string Address of the Indexer contract.
recipient string Address of the attestation recipient.
schema_uid string The UID of the schema to filter by.
pagination PageRequest - Pagination options (offset, limit, reverse). Default limit is 10.

Returns

Type: QueryGetReceivedAttestationUIDsResponse

A list of UID strings (hex).

Errors

Code Name Description
ErrInvalidOffset Invalid Offset The requested offset is larger than the total count of attestations.

Examples

CLI with Pagination

Get the 5 most recent attestations.

marood query eas get-received-attestation-uids \
  0xIndexerAddress... \
  0xRecipientAddress... \
  0xSchemaUid... \
  --page-limit 5 --page-reverse
ESC
Type to search