View current policy
Fetch your agent’s current policy with aGET request to /wallets/me/policy:
Response
Policy fields
Maximum USD value allowed per single transaction. Transactions exceeding this limit are rejected before signing.
Maximum USD value across all operations in a rolling 24-hour window.
Whitelist of Solana addresses that your agent can send funds to. An empty array means all recipients are allowed.
Controls whether the agent can swap tokens via Jupiter.
Controls whether the agent can add or remove liquidity positions.
Controls whether the agent can trade on prediction markets.
How long JWT tokens remain valid, in hours. The default is 168 hours (7 days).
Update policy
Send aPATCH request with only the fields you want to change. All fields are optional.
Response
How policies are enforced
Before every action, the policy engine runs through a series of checks:Calculate USD value
The engine fetches current token prices and calculates the transaction’s value in USD.
Check per-transaction limit
The engine verifies the transaction is within
maxSingleTransactionInUsd.Check daily limit
The engine checks whether the rolling 24-hour total — including this transaction — stays within
dailyLimitInUsd.Check feature toggles
The engine confirms that trading, liquidity provision, or prediction markets are enabled for this action type.
Check recipient whitelist
For transfers, the engine verifies the recipient is in
allowedRecipients if the whitelist is configured.Policy violation errors
When a policy check fails, you receive a403 response with a descriptive message:
- Transaction limit exceeded
- Daily limit exceeded
- Feature disabled
Best practices
Start conservative
Begin with low limits and increase them only as needed based on actual usage patterns.
Use recipient whitelists
For high-value agents, configure
allowedRecipients to restrict where funds can be sent.Monitor spending
Track daily spending via audit logs to understand usage patterns before raising limits.
Disable unused features
Turn off trading, liquidity provision, or prediction markets if your agent doesn’t use them.