Audit Token Accounts Delegated to an Address
A 3-step recipe with Solana. We can help you get access.
Recipe · 3 steps
Audit Token Accounts Delegated to an Address
with Solana
Enumerate and quantify what a delegate address is authorized to spend.
- List every SPL Token account that names this address as its delegate, parsed so the delegated amount is readable alongside the mint.
- Resolve the balance sitting in the first delegated token account, turning the delegation into a concrete exposure figure.
- Inspect the delegated token account in parsed form to surface the mint and the account's true owner, so a revoke can be routed to the right wallet.
What you'll need to have ready
- delegateAddress: Base58-encoded public key holding delegated spend authority over token accounts.
- tokenProgramId: The token program that owns the token accounts.
For your developer
Arazzo workflow solana:token-delegate-audit, 3 operations: getTokenAccountsByDelegate → getTokenAccountBalance → getAccountInfo. Specs on APIs.io.