Metadata
| Field | Value |
|---|---|
| Name | accounts.balance |
| Category | read |
| Required scope | accounts:read |
| Idempotency key required | no |
Annotations
| Annotation | Value |
|---|---|
| Title | Account Balance |
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | no |
| Requires human approval | no |
Input schema
Output schema
Request examples
Response examples
Successful response — all chains when no filter applied:Errors
| Code | Name | Cause | Remediation |
|---|---|---|---|
-32600 | Invalid request | Malformed JSON-RPC envelope | Check method, jsonrpc, and id fields |
-32602 | Invalid params | chain is not one of the allowed enum values, or vault_id is not a valid UUID | Validate against schema before call |
-32000 | Unauthenticated | Missing Authorization header | Supply a valid Bearer token |
-32001 | Unauthorized | Grant token expired or revoked | Refresh token via agent.grant.refresh |
-32002 | Insufficient scope | Grant missing accounts:read scope | Issue new grant with accounts:read scope |
-32603 | Internal error | Server-side error | Retry with backoff; contact support |
Auth
Caller’s grant must include theaccounts:read scope. Grants whose scope set is a superset of the required scope are accepted.