# role

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

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

Source: https://ensforge.com/docs/reference/sdk/role

<ApiMeta summary="3 actions · 1 read · 2 writes" since="1.0.0" source="packages/sdk/src/actions/role" />

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

## Reads [#reads]

| Action | Description |
| --- | --- |
| [`get`](/docs/reference/sdk/role/get) (batchable) | Reads the ENSv2 roles an account holds on a name, or at the root of a registry or resolver. |

## Writes [#writes]

| Action | Description |
| --- | --- |
| [`grant`](/docs/reference/sdk/role/grant) | Grants ENSv2 roles to an account on a name, or at the root of a registry or resolver. |
| [`revoke`](/docs/reference/sdk/role/revoke) | Revokes ENSv2 roles from an account on a name, or at the root of a registry or resolver. |