record
List the 6 record actions of @ensforge/sdk and whether each reads, writes or signs. Covers get, getAddress, getAvatar, getContentHash, getText, set.
6 actions · 5 reads · 1 write
Since v1.0.0View source
Call them as ens.record.<action>(options) on a client, or Actions.record.<action>(client, options).
Reads
| Action | Description |
|---|---|
get (batchable) | Reads any mix of a name's records in one request: texts, addresses, content hash, ABI, public key, name record, interface implementers and data records. |
getAddress (batchable) | Reads one address record of an ENS name, for Ethereum by default or any coin (ENSIP-9, ENSIP-11). |
getAvatar (batchable) | Reads the avatar of an ENS name and resolves it to a URL a browser can load (ENSIP-12). |
getContentHash (batchable) | Reads the content hash of an ENS name (ENSIP-7), decoded into its protocol, value and URI. |
getText (batchable) | Reads one text record of an ENS name, such as url, avatar or com.twitter. |
Writes
| Action | Description |
|---|---|
set | Writes records of an ENS name and resolves once the transaction is submitted. |
Was this page helpful?