indexer
List the 19 indexer actions of @ensforge/sdk and whether each reads, writes or signs. Covers getEvents, getHistory, getName, getNamesByExpiry.
19 actions · 19 reads
Since v1.0.0View source
Call them as ens.indexer.<action>(options) on a client, or Actions.indexer.<action>(client, options).
Reads
| Action | Description |
|---|---|
getEvents (batchable) | Searches indexed ENS events by name, address, resolver, contract or block range. |
getHistory (batchable) | Reads the full history of a name, or of every name an address is related to. |
getName (batchable) | Reads one name from the indexer: owner, manager, expiry, resolver, records and protocol. |
getNamesByExpiry (batchable) | Lists names by when they expire or leave their grace period. |
getNamesForAddress (batchable) | Lists the names an address owns, manages, holds roles on, resolves to, or used to own. |
getNamespace (batchable) | Reads what the indexer serves for a namespace: its networks and which features are complete. |
getPermissions (batchable) | Lists who can do what over a name, a registration, an account or an ENSv2 registry. |
getPrimaryName (batchable) | Reads an address's primary name from the indexer, verified on-chain when the indexer can. |
getRecords (batchable) | Reads a name's records and its record inventory from the indexer. |
getRegistry (batchable) | Reads an ENSv2 registry: the name it serves, its parent registry, when it was created and its counts. |
getRegistryLabels (batchable) | Lists the labels of an ENSv2 registry, optionally only those an address holds or does not hold. |
getResolver (batchable) | Reads a resolver and one page of the names bound to it. |
getResolverLinks (batchable) | Lists the names linked to record sets on an ENSv2 resolver. |
getResolverRoles (batchable) | Lists the role grants on an ENSv2 resolver. |
getResolvers (batchable) | Lists the ENSv2 resolvers on which an address holds roles. |
getStatus (batchable) | Reads the indexer's health and how far each chain is indexed. |
getSubnames (batchable) | Lists the direct subnames of a name. |
lookup (batchable) | Reads up to 1,000 names and addresses in one request. |
search (batchable) | Searches names by text. |
Was this page helpful?