set_agnta_grant
Opt a wallet into an AGNTA DelegationGrant spend/scope cap (non-custodial control plane).
Validates grant_pda decodes as a base58 32-byte address, the on-chain account exists and decodes as a DelegationGrant, it is not revoked and not expired, and its delegate matches wallet_address -- every failure raises INVALID_PARAMS with a distinct message. Adds an ADDITIONAL cap enforced alongside (never replacing) WalletPolicy on every subsequent value-bearing call for this wallet -- always TIGHTENS enforcement, so it applies directly for every wallet, Lane 2 included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caller_id | No | ||
| grant_pda | Yes | ||
| wallet_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||