approval
List the 6 approval actions of @ensforge/sdk and whether each reads, writes or signs. Covers getDelegate, getOperator, getToken, setDelegate, setOperator.
6 actions · 3 reads · 3 writes
Since v1.0.0View source
Call them as ens.approval.<action>(options) on a client, or Actions.approval.<action>(client, options).
Reads
| Action | Description |
|---|---|
getDelegate (batchable) | Checks whether a delegate may edit a name's records on its public resolver (isApprovedFor). |
getOperator (batchable) | Checks whether an operator may manage everything an owner holds on an ENS contract (isApprovedForAll). |
getToken (batchable) | Reads the address approved to transfer one ENSv1 name token (getApproved). |
Writes
| Action | Description |
|---|---|
setDelegate | Approves or revokes a delegate who may edit a name's records on its public resolver. |
setOperator | Approves or revokes an operator for everything the signer holds on an ENS contract (setApprovalForAll). |
setToken | Approves one address to transfer one ENSv1 name token, or clears the approval. |
Was this page helpful?