Introduction
Reading a role shows who may authorize it and which permissions are attached.- Use when: you need to display access, choose a signer, or inspect a remaining allowance.
- For: wallet settings screens and transaction-preparation flows.
How it works
- Connect a public RPC client to the wallet config address.
- Read
getRolefor the on-chain role ID and decode the result. - Use its action count to read and decode each permission.
- Use the resulting fields to explain the role’s current access.
Returned structure
A native-limit permission contains
type: "nativeLimit" and amount, its remaining allowance in wei. Recurring permissions contain the allowance, window, last reset, and current amount. EVM recurring windows use timestamp seconds.

