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

role

List the 3 role actions of @ensforge/sdk and whether each reads, writes or signs. Covers get, grant, revoke. Covers get, grant, revoke.

3 actions · 1 read · 2 writes
Since v1.0.0View source

Call them as ens.role.<action>(options) on a client, or Actions.role.<action>(client, options).

Reads

ActionDescription
get (batchable)Reads the ENSv2 roles an account holds on a name, or at the root of a registry or resolver.

Writes

ActionDescription
grantGrants ENSv2 roles to an account on a name, or at the root of a registry or resolver.
revokeRevokes ENSv2 roles from an account on a name, or at the root of a registry or resolver.

Was this page helpful?

On this page