Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforgeSDK

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

ActionDescription
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

ActionDescription
setDelegateApproves or revokes a delegate who may edit a name's records on its public resolver.
setOperatorApproves or revokes an operator for everything the signer holds on an ENS contract (setApprovalForAll).
setTokenApproves one address to transfer one ENSv1 name token, or clears the approval.

Was this page helpful?

On this page