Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.
Spending policies cap the USDC and EURC your agent wallet moves and restrict the
wallet to specific recipient or contract addresses. When a policy applies,
Circle rejects requests that exceed a limit or violate an address rule. Policies
apply to mainnet agent wallets only. When no custom transfer limit applies, the
default limit is 100 USDC per month.For the recommended setup, set a global transfer limit, then add a contract
allowlist on every blockchain your agent uses.
Use Circle CLI 1.4.0 or later to set, view, or reset global transfer limits. Run
circle update to
update your CLI.
Spending policies require a mainnet agent wallet. Testnet is not supported.
Setting a policy triggers a second email OTP to confirm the change. The OTP is
used once and not stored.
Choose the policy type that matches your goal.
Transfer limits
Allowlists and blocklists
Setup
Transfer limits cap the USDC and EURC your agent moves through Circle. A global
limit applies on every supported Ethereum Virtual Machine (EVM) mainnet, but it
doesn’t restrict which contracts your agent calls. Pair it with a contract
allowlist on the Allowlists and blocklists tab.Token approvals count at their full amount when submitted, so a swap or bridge
counts once, at its approval step. Approve only the amount each spender needs.
Steps
1
Set the limits
Run circle wallet limit set without --chain to set a global limit. All
four caps are required: per-transaction, daily, weekly, and monthly.
Circle sends an email OTP to your agent session email to confirm the policy
change. Limits must satisfy: per-transaction ≤ daily ≤ weekly ≤ monthly.To set a limit for one blockchain, add --chain ARC. When global and
blockchain limits both apply, the stricter value wins for each cap. A
blockchain with neither limit uses the 100 USDC monthly default.circle wallet limit set creates a new rule and fails if that rule already
exists in the same scope. To change an existing limit, run
circle wallet limit reset
for that scope first.
2
Verify the policy
View the global limit, then check the limits on Arc:
Check Scope to see if a rule covers All EVM chains or one blockchain.
Check Origin for CUSTOM or DEFAULT.
Setup
Allowlists and blocklists apply to one blockchain and require --chain.
Contract rules match the contract your agent calls. Recipient rules match
transfer recipients and, for USDC and EURC approvals, the spender address.Add a contract allowlist on every blockchain your agent uses, alongside your
transfer limit. Each allowlist limits contract calls through Circle to the
addresses you approve on that blockchain.Plain transfers with circle wallet transfer and fast Gateway deposits with
circle gateway deposit --method eco don’t require the USDC contract on the
contract allowlist. Transfer limits and recipient rules still apply.
The USDC contract on the allowlist
Effect
Excluded
Blocks the USDC approval step used by swaps, bridges, and direct Gateway deposits that need a new approval.
Included
Allows USDC approvals to any spender unless a recipient rule restricts it. Add contracts only for the swaps, bridges, or Gateway deposits you need.
The contract allowlist checks the called contract, not an approval’s spender
argument. Allowing a token contract permits approvals to any spender unless a
recipient rule restricts it. These policies check requests sent through Circle
and don’t revoke existing allowances. A spender can use an existing allowance
outside Circle without these checks.
Include every contract your agent calls on a blockchain in that blockchain’s
allowlist:
Run circle contract address usdc --chain <chain> and circle contract address gateway --chain <chain>. Select GatewayWallet at 0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE.
Run circle contract address usdc --chain <chain> and add 0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0. circle contract address doesn’t list Bridge Kit contracts.
The ERC-20 token you sell and Circle’s Swap Kit adapter contract
Look up USDC or EURC with circle contract address <usdc|eurc> --chain <chain>, or check your sell token’s address. Also add 0x7FB8c7260b63934d8da38aF902f87ae6e284a845.
Include every contract your agent calls on that blockchain. The
contracts table lists Bridge Kit, Swap Kit,
and GatewayWallet addresses.
2
Set the rule
Run circle wallet limit set with --chain, --rule-type, and a
bracketed, comma-separated --targets list of every approved address on
that blockchain.For contract rules, the CLI sets --policy-type contract automatically. For
example, to allow Arc USDC and GatewayWallet for direct Gateway deposits
while keeping your transfer limit in place:
circle wallet limit set \ --address 0xYourWalletAddress \ --chain ARC \ --rule-type contract-allowlist \ --targets "[0x3600000000000000000000000000000000000000,0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE]"
Repeat this command on every blockchain your agent uses, with that
blockchain’s approved contract addresses.For recipient rules, include --policy-type stablecoin. For example, to
block two recipient or spender addresses on Arc:
circle wallet limit set \ --address 0xYourWalletAddress \ --chain ARC \ --policy-type stablecoin \ --rule-type recipient-blocklist \ --targets "[0xBAD1,0xBAD2]"
--rule-type accepts:
contract-allowlist or contract-blocklist: allow or block contract
calls to specific contract addresses.
recipient-allowlist or recipient-blocklist: allow or block transfers
to specific recipients and USDC or EURC approvals to specific spenders.
Circle sends an email OTP to confirm each rule. To add or remove addresses
in an existing list later, run
circle wallet limit reset
with --chain first, then re-apply the rules you want to keep on that
blockchain.
3
Verify the policy
Confirm your effective limits and address rules on that blockchain:
circle wallet limit --address 0xYourWalletAddress --chain ARC
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Circle Docs","description":"Developer documentation for Circle's developer tools","colors":{"primary":"#0073C3","light":"#90D2FF","dark":"#0073C3"},"logo":{"light":"https://mintcdn.com/circle-167b8d39/K2XWSLhaeRomzNa1/logo/light.svg?fit=max\u0026auto=format\u0026n=K2XWSLhaeRomzNa1\u0026q=85\u0026s=decfb42837e0eb7c32dd425866902e78","dark":"https://mintcdn.com/circle-167b8d39/K2XWSLhaeRomzNa1/logo/dark.svg?fit=max\u0026auto=format\u0026n=K2XWSLhaeRomzNa1\u0026q=85\u0026s=8b863d97bf31467e8adedf4cb3263012"},"favicon":"https://mintcdn.com/circle-167b8d39/w3bpYw2hUr9sWZTM/favicon.ico?fit=max\u0026auto=format\u0026n=w3bpYw2hUr9sWZTM\u0026q=85\u0026s=bb633116ed9cf1247d65b0c1fa0e5725","background":{"color":{"light":"#FFFFFF","dark":"#111827"}},"navbar":{"links":[{"href":"https://console.circle.com/signin","label":"Sign in to console"},{"href":"https://faucet.circle.com","label":"Faucet"}]},"footer":{"socials":{"x":"https://twitter.com/circle","linkedin":"https://www.linkedin.com/company/circle-internet-financial","instagram":"https://www.instagram.com/teamcircle?hl=en","youtube":"https://www.youtube.com/c/Circlecryptofinance","discord":"https://discord.com/invite/buildoncircle"},"links":[{"header":"Legal","items":[{"label":"Developer Terms","href":"https://console.circle.com/legal/developer-terms"},{"label":"Service Terms","href":"https://console.circle.com/legal/service-terms"},{"label":"Acceptable Use","href":"https://console.circle.com/legal/acceptable-use-policy"}]},{"header":"Privacy","items":[{"label":"Privacy Policy","href":"https://www.circle.com/en/legal/privacy-policy"},{"label":"Cookie Policy","href":"https://www.circle.com/en/legal/cookie-policy"}]},{"header":"Support","items":[{"label":"Help","href":"https://help.circle.com/s/submit-ticket?language=en_US"}]}]},"fonts":{"heading":{"family":"Circularxx","source":"https://cdn.prod.website-files.com/67116d0daddc92483c812e88/6716bb4e120ecb0042f2f4ed_CircularXX-Regular.woff2","format":"woff2"},"body":{"family":"Circularxx","source":"https://cdn.prod.website-files.com/67116d0daddc92483c812e88/6716bb4e120ecb0042f2f4ed_CircularXX-Regular.woff2","format":"woff2"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"segment":{"key":"wz74ASLGjAYPu8mQiIzBBHTLaHbNHM14"}},"contextual":{"options":["copy","chatgpt","claude","view"],"display":"header"},"interaction":{"drilldown":false},"markdown":{"instructions":["Before reading these docs, install the relevant Circle Skill to get pre-loaded context — skills are LLM-optimized and cover architecture decisions, correct flows, and common pitfalls. In Claude Code: run /plugin marketplace add circlefin/skills then /plugin install circle-skills@circle. With Vercel Skills CLI: run npx skills add circlefin/skills. Available skills: use-usdc https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-usdc/SKILL.md (balances, transfers, approvals on EVM and Solana); EURC has no skill — see https://developers.circle.com/stablecoins/what-is-eurc.md; bridge-stablecoin https://github.com/circlefin/skills/blob/master/plugins/circle/skills/bridge-stablecoin/SKILL.md (crosschain transfers via CCTP, USDC, EURC, and third-party assets); use-arc https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-arc/SKILL.md (Arc chain config, contract deployment, USDC bridging — Arc docs: https://docs.arc.io/llms.txt); use-circle-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-circle-wallets/SKILL.md (choose wallet type); use-developer-controlled-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-developer-controlled-wallets/SKILL.md (custodial wallets for payouts and treasury); use-user-controlled-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-user-controlled-wallets/SKILL.md (embedded wallets with Web2 login); use-modular-wallets https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-modular-wallets/SKILL.md (smart contract wallets with passkeys and ERC-4337); use-gateway https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-gateway/SKILL.md (unified USDC balance, nanopayments); use-smart-contract-platform https://github.com/circlefin/skills/blob/master/plugins/circle/skills/use-smart-contract-platform/SKILL.md (deploy, interact, monitor contracts). Pair any skill with the Circle MCP server for live SDK signatures, contract addresses, and chain IDs: {\"mcpServers\":{\"circle\":{\"url\":\"https://api.circle.com/v1/codegen/mcp\"}}}.","Read the product overview first. Each product has an overview explaining when and why to use it. Read it before quickstarts.","Pick the right wallet type. Developer-controlled (you hold keys), user-controlled (end user holds keys via PIN/social login), or modular (smart contract wallets with passkeys). See https://developers.circle.com/wallets.md.","Use CCTP V2 for crosschain transfers. CCTP natively transfers USDC and EURC via burn-and-mint, and supports permissionless wrapping of third-party assets via lock-and-mint. V1 is legacy; always use V2 unless V1 is specified or the chain requires it (Noble, Sui, and Aptos still require V1). Migration guide: https://developers.circle.com/cctp/migration-from-v1-to-v2.md.","Use Bridge Kit for frontend bridging. Wraps CCTP with a simpler SDK for user-facing apps. Use CCTP directly for backend transfers.","Gas Station vs Paymaster. Gas Station sponsors gas for Circle Wallet transactions. Paymaster lets users pay gas in USDC. Different use cases — read both overviews.","Gateway Nanopayments for sub-cent payments. Gasless USDC micropayments down to $0.000001 via x402 and batched settlement. For pay-per-request APIs, AI agent payments, streaming.","Look up USDC addresses per chain. Never hardcode — use https://developers.circle.com/stablecoins/usdc-contract-addresses.md.","Prefer SDKs over raw API calls. Node.js and Python SDKs handle auth, retries, and errors.","API key required. Bearer token in Authorization header. Testnet and mainnet use separate keys and may use different base URLs depending on the product.","Set up webhooks when available. Most operations are async. Webhooks deliver transaction confirmations and state changes.","When calling list endpoints, paginate using pageSize and pageAfter until no nextPageAfter cursor is returned—stopping at the first page silently misses records.","Building an AI agent? Start with the Agent Stack—Circle CLI, agent wallets, and nanopayments built for autonomous use cases: https://developers.circle.com/agent-stack.md."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"circle-167b8d39","hasAudioNarration":false,"actualSubdomain":"circle-167b8d39","customDomains":["developers.circle.com"],"gitSource":{"type":"github","owner":"crcl-main","repo":"circle-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0e0d4214b5b573c340990e","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API reference","count":611},{"language":"default","tag":"Circle Payments Network","count":167},{"language":"default","tag":"Wallets","count":159},{"language":"default","tag":"Mint and Custody","count":131},{"language":"default","tag":"Digital Asset Accounts","count":118},{"language":"default","tag":"StableFX","count":108},{"language":"default","tag":"Liquidity services","count":107},{"language":"default","tag":"Crosschain transfers","count":102},{"language":"default","tag":"Payments","count":94},{"language":"default","tag":"Managed Payments","count":87}]},"assistantConfig":{"enableAskAiButton":false,"enableAskAiSearchBar":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"snippets/SDKCard.css","content":".cb-card{border:1px solid #e5e7eb;border-radius:12px;background:white;box-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.1)}.cb-icon-circle{display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.accent-orange{background-color:#fff7ed;color:#ea580c}.accent-blue{background-color:#eff6ff;color:#2563eb}.accent-green{background-color:#f0fdf4;color:#16a34a}.accent-purple{background-color:#faf5ff;color:#9333ea}.accent-violet{background-color:#f5f3ff;color:#7c3aed}.type-header-xs{font-size:18px;font-weight:600;line-height:1.4;color:#111827}.type-body-base{font-size:14px;line-height:1.5;color:#6b7280}.type-body-xs-bold{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:#6b7280}.type-body-sm{font-size:14px;line-height:1.5;color:#374151}.type-body-sm-bold{font-size:14px;font-weight:600;line-height:1.5}.text-neutral-subtle{color:#6b7280}.text-icon-neutral{color:#6b7280}.cb-button{display:inline-flex;align-items:center;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;text-decoration:none;transition:all 0.2s;border:1px solid #e5e7eb;background:white;color:#374151}.cb-button:hover{background:#f9fafb;border-color:#d1d5db}"},{"filePath":"style.css","content":":root{--background-dark: 17 24 39 !important}html.dark .card{background-color:#111827!important}html.dark .accordion{background-color:#111827!important}#navbar [data-component-name=\"theme-toggle\"],#navbar a[href*=\"console.circle.com\"],#navbar a[href*=\"faucet.circle.com\"],#navbar .navbar-link a{background-color:rgba(17, 24, 39, 0.03)!important}#navbar [data-component-name=\"theme-toggle\"]:hover,#navbar a[href*=\"console.circle.com\"]:hover,#navbar a[href*=\"faucet.circle.com\"]:hover,#navbar .navbar-link a:hover{background-color:rgba(17, 24, 39, 0.07)!important}@media (prefers-color-scheme: dark){#navbar [data-component-name=\"theme-toggle\"],#navbar a[href*=\"console.circle.com\"],#navbar a[href*=\"faucet.circle.com\"],#navbar .navbar-link a{background-color:rgba(255, 255, 255, 0.05)!important}#navbar [data-component-name=\"theme-toggle\"]:hover,#navbar a[href*=\"console.circle.com\"]:hover,#navbar a[href*=\"faucet.circle.com\"]:hover,#navbar .navbar-link a:hover{background-color:rgba(255, 255, 255, 0.10)!important}}html.dark #navbar [data-component-name=\"theme-toggle\"],html.dark #navbar a[href*=\"console.circle.com\"],html.dark #navbar a[href*=\"faucet.circle.com\"],html.dark #navbar .navbar-link a{background-color:rgba(255, 255, 255, 0.05)!important}html.dark #navbar [data-component-name=\"theme-toggle\"]:hover,html.dark #navbar a[href*=\"console.circle.com\"]:hover,html.dark #navbar a[href*=\"faucet.circle.com\"]:hover,html.dark #navbar .navbar-link a:hover{background-color:rgba(255, 255, 255, 0.10)!important}html.dark #topbar-cta-button,html.dark #topbar-cta-button a{color:#000000!important}html.dark #feedback-form-submit{color:#000000!important}html.dark tryit-button{color:#000000!important}html.dark chat-assistant-send-button{color:#000000!important}html.dark contextual-feedback-form-submit-button{color:#000000!important}html.dark code-snippet-feedback-form-submit-button{color:#000000!important}html.dark a[class*=\"bg-[#5FBFFF]\"],html.dark a[class*=\"bg-[#90D2FF]\"],html.dark a[class*=\"bg-[#1AA3FF]\"],html.dark a[class*=\"bg-[#0073C3]\"]{color:#000000!important}html.dark a[class*=\"bg-[#5FBFFF]\"] svg,html.dark a[class*=\"bg-[#90D2FF]\"] svg,html.dark a[class*=\"bg-[#1AA3FF]\"] svg,html.dark a[class*=\"bg-[#0073C3]\"] svg{color:#000000!important}.mcp-setup-container{display:flex;flex-wrap:wrap;gap:24px;margin:20px 0 28px}.mcp-setup-section{display:flex;flex-direction:column;gap:8px}.mcp-setup-label{font-size:0.75rem;font-weight:500;text-transform:uppercase;letter-spacing:0.05em;color:#64748b}.dark .mcp-setup-label{color:#94a3b8}.mcp-cta-group{display:flex;flex-wrap:wrap;gap:10px}.mcp-cta{height:40px;border-radius:12px;font-weight:600;font-size:0.875rem;padding:0 16px;text-decoration:none!important;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(15, 23, 42, 0.15);background-color:#f8fafc;color:#0b0f19;transition:background-color 0.15s ease, border-color 0.15s ease;cursor:pointer}.mcp-cta:hover{background-color:#f1f5f9;border-color:rgba(15, 23, 42, 0.25)}.mcp-cta img{width:20px;height:20px;object-fit:contain;border-radius:6px;flex-shrink:0}.mcp-cta span{white-space:nowrap}.dark .mcp-cta{border-color:rgba(255, 255, 255, 0.2);background-color:rgba(255, 255, 255, 0.08);color:#f8fafc}.dark .mcp-cta:hover{background-color:rgba(255, 255, 255, 0.12);border-color:rgba(255, 255, 255, 0.3)}.mcp-cta-cli{background-color:#f1f5f9;border-color:#e2e8f0}.mcp-cta-cli:hover{background-color:#e2e8f0;border-color:#cbd5e1}.dark .mcp-cta-cli{background-color:rgba(255, 255, 255, 0.06);border-color:rgba(255, 255, 255, 0.15)}.dark .mcp-cta-cli:hover{background-color:rgba(255, 255, 255, 0.1);border-color:rgba(255, 255, 255, 0.25)}.mcp-cli-label{font-weight:600;color:#0f172a}.dark .mcp-cli-label{color:#f1f5f9}.mcp-cli-cmd{font-size:0.75rem;font-family:ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace;color:#64748b;background:transparent!important;padding:0;white-space:nowrap;border:none}.dark .mcp-cli-cmd{color:#94a3b8;background:transparent!important}.mcp-cli-icon-wrap{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:14px;height:14px;position:relative}.mcp-cli-icon-wrap svg{color:#94a3b8;transition:opacity 0.15s ease}.mcp-cta-cli:hover .mcp-cli-icon-wrap svg{color:#64748b}.dark .mcp-cli-icon-wrap svg{color:#64748b}.dark .mcp-cta-cli:hover .mcp-cli-icon-wrap svg{color:#94a3b8}.mcp-icon-check{position:absolute;opacity:0;color:#22c55e!important}.mcp-cta-cli.copied .mcp-icon-copy{opacity:0}.mcp-cta-cli.copied .mcp-icon-check{opacity:1}.dark .mcp-cli-openai-logo{filter:invert(1)}table thead{text-align:left;background-color:#f5f5f8}.dark table thead{text-align:left;background-color:#29233b}table thead th,table td{padding:8px!important}.accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]){background-color:#e1f2ff!important;border-color:#c9e1f5!important}.accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) summary{transition:background-color 0.3s ease!important}.accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) summary:hover{background-color:#c9e1f5!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]){background-color:#1f1a30!important;border-color:#29233b!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) summary{transition:background-color 0.3s ease!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) summary:hover{background-color:#29233b!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) [data-component-part=\"accordion-title\"]{color:#ffffff!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) [data-component-part=\"accordion-content\"]{color:#e5e7eb!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) [data-component-part=\"accordion-content\"] a{color:#1aa3ff!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) [data-component-part=\"accordion-content\"] a:hover{color:#1894e8!important}.dark .accordion:has([data-component-part=\"accordion-icon\"] svg[style*=\"circle-info.svg\"]) [data-component-part=\"accordion-content\"] code{color:#fbbf24!important;background-color:#374151!important}.TryItOutComponent pre,.TryItOutComponent code{background-color:transparent!important}.TryItOutComponent .code-container{background-color:white!important}.dark .TryItOutComponent .code-container{background-color:#29233b!important}.home_code_container .code-block{margin:0!important;height:100%}.home_code_container .code-block .code-block-background{height:100%!important}.home_mint_cards a.card>div{padding:20px!important}.home_mint_cards h2{color:#29233b!important}.home_mint_cards div.prose span{color:#6b6580!important}.dark .home_mint_cards h2{color:#fff!important}.dark .home_mint_cards div.prose span{color:#9ca3af!important}.home_mint_cards a.card svg{background-color:#6b6580!important}.home_mint_cards a.card:hover svg{background:linear-gradient(135deg, #5fbfff 0%, #b090f5 100%)!important}.home_tryitout{background:linear-gradient(\n 89deg,\n var(\n --background-gradient-bg-accent-purple-gradient-bottom-left,\n rgba(241, 235, 255, 0.5)\n )\n 0%,\n var(\n --background-gradient-bg-accent-purple-gradient-top-right,\n rgba(225, 242, 255, 0.5)\n )\n 94.58%\n )}.dark .home_tryitout{background:linear-gradient(\n 89deg,\n var(\n --background-gradient-bg-accent-purple-gradient-bottom-left,\n rgba(44, 44, 44, 0.5)\n )\n 0%,\n var(\n --background-gradient-bg-accent-purple-gradient-top-right,\n rgba(75, 82, 86, 0.5)\n )\n 94.58%\n )}.quickstart-cards-aligned [data-component-part=\"card-group\"]{gap:16px!important}.asset-card-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));gap:1.5rem;margin:1.5rem 0;align-items:stretch}.asset-card{border:1px solid #e5e7eb;border-radius:1rem;background:transparent;padding:1rem 1.25rem 1.5rem;text-decoration:none;color:inherit;display:flex;flex-direction:column;justify-content:space-between;gap:0.45rem;transition:border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;height:100%}.asset-card:hover{border-color:#cfd3dc;box-shadow:0 12px 24px rgba(15, 23, 42, 0.08);transform:translateY(-2px)}.dark .asset-card{border-color:rgba(148, 163, 184, 0.14);background:transparent;box-shadow:none}.asset-card h3{font-size:1.125rem;font-weight:600;margin:0;color:#0f172a}.dark .asset-card h3{color:#f8fafc}.asset-card p{margin:0;font-weight:300;color:#475569}.dark .asset-card p{color:#b8b8b8}.asset-card-image-wrapper,.asset-card-inline-icon{width:56px;height:56px;border-radius:9999px;margin-bottom:0.6rem;flex-shrink:0}.asset-card-image-wrapper{overflow:hidden;display:flex;align-items:center;justify-content:center;background:rgba(15, 23, 42, 0.05)}.dark .asset-card-image-wrapper{background:rgba(248, 250, 252, 0.08)}.asset-card-image{width:100%;height:100%;object-fit:cover;display:block}.asset-card-inline-icon{padding:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(\n 135deg,\n rgba(0, 96, 255, 0.18),\n rgba(0, 164, 255, 0.05)\n );color:#0d5be1}.dark .asset-card-inline-icon{background:rgba(255, 255, 255, 0.08);color:#82b7ff}.asset-card-inline-icon svg{width:26px;height:26px}.asset-card.secondary{justify-content:flex-start}.quickstart-cards-aligned a.card,.quickstart-cards-aligned [data-component-part=\"card\"]{display:flex!important;flex-direction:column!important;height:100%!important}.quickstart-cards-aligned a.card>div,.quickstart-cards-aligned [data-component-part=\"card\"]>div{display:flex!important;flex-direction:column!important;height:100%!important}.quickstart-cards-aligned a.card>div>.prose,.quickstart-cards-aligned [data-component-part=\"card\"]>div>.prose{flex-grow:1!important;display:flex!important;flex-direction:column!important}.quickstart-cards-aligned a.card>div>div:last-child,.quickstart-cards-aligned [data-component-part=\"card\"]>div>div:last-child{margin-top:auto!important}@media (max-width: 1024px){div.quickstart-cards-aligned,.quickstart-cards-aligned{display:flex!important;flex-direction:column!important;gap:4px!important}div.quickstart-cards-aligned [data-component-part=\"card-group\"],div.quickstart-cards-aligned>div,.quickstart-cards-aligned [data-component-part=\"card-group\"],.quickstart-cards-aligned>div{display:flex!important;flex-direction:column!important;gap:4px!important;row-gap:4px!important;grid-row-gap:4px!important;width:100%!important}div.quickstart-cards-aligned a.card,.quickstart-cards-aligned a.card,.quickstart-cards-aligned [data-component-part=\"card\"]{margin-bottom:4px!important;width:100%!important}div.quickstart-cards-aligned a.card:last-child,.quickstart-cards-aligned a.card:last-child,.quickstart-cards-aligned [data-component-part=\"card\"]:last-child{margin-bottom:0!important}}footer,footer>div,footer [data-component-part=\"footer\"],footer [data-component-part=\"footer-section\"]{overflow-x:hidden!important;max-width:100%!important;padding-top:1.75rem!important}footer a,footer [data-component-part=\"footer-link\"],footer .footer-link,#your-privacy-choices-button{overflow-wrap:normal!important;word-wrap:normal!important;word-break:keep-all!important;hyphens:none!important;font-size:0.75rem!important;white-space:normal!important;max-width:100%!important;line-height:1.4!important;min-width:0!important}#footer a,#your-privacy-choices-button{color:#6B6580!important}html.dark #footer a,html.dark #your-privacy-choices-button{color:#8A849C!important}#footer a:hover,#your-privacy-choices-button:hover{color:#4E4763!important}html.dark #footer a:hover,html.dark #your-privacy-choices-button:hover{color:#A7A3B5!important}#your-privacy-choices-button{position:relative;align-self:start}footer .md\\:items-center>div:has(>#your-privacy-choices-button){align-self:flex-start!important}#your-privacy-choices-button::after{content:url(\"https://6778953.fs1.hubspotusercontent-na1.net/hubfs/6778953/legal/opt-out-30x14.svg\");right:-34px;position:absolute}#footer>div{gap:12px;padding-bottom:20px}#footer a[href*=\"mintlify\"],#footer a[href*=\"mintlify\"] span,#footer a[href*=\"mintlify\"] svg{color:#6B6580!important;fill:currentColor!important}html.dark #footer a[href*=\"mintlify\"],html.dark #footer a[href*=\"mintlify\"] span,html.dark #footer a[href*=\"mintlify\"] svg{color:#8A849C!important}#footer a[href*=\"mintlify\"]:hover,#footer a[href*=\"mintlify\"]:hover span,#footer a[href*=\"mintlify\"]:hover svg{color:#4E4763!important}html.dark #footer a[href*=\"mintlify\"]:hover,html.dark #footer a[href*=\"mintlify\"]:hover span,html.dark #footer a[href*=\"mintlify\"]:hover svg{color:#A7A3B5!important}#footer .gap-4.min-w-\\[140px\\].max-w-\\[492px\\].flex-wrap.hidden.md\\:flex:has([data-powered-by-relocated]){flex:0 0 auto!important;width:auto!important;max-width:200px!important}#footer [data-powered-by-relocated]{flex:0 0 100%!important;display:flex!important;justify-content:flex-end!important;margin-top:0.25rem!important}#footer [data-powered-by-relocated] a[href*=\"mintlify\"]{font-size:0.75rem!important}#footer [data-powered-by-relocated] a[href*=\"mintlify\"] svg{height:0.75rem!important;width:auto!important}#footer [data-powered-by-relocated]>*:not(:has(a[href*=\"mintlify\"])){display:none!important}@media (max-width: 767px){#footer .gap-4.min-w-\\[140px\\].max-w-\\[492px\\].flex-wrap.hidden.md\\:flex{display:flex!important;justify-content:flex-end!important}#footer .gap-4.min-w-\\[140px\\].max-w-\\[492px\\].flex-wrap.hidden.md\\:flex>a{display:none!important}}#footer svg[style*=\"mask-image\"]{background-color:#6B6580!important}html.dark #footer svg[style*=\"mask-image\"]{background-color:#8A849C!important}#footer a:hover svg[style*=\"mask-image\"]{background-color:#4E4763!important}html.dark #footer a:hover svg[style*=\"mask-image\"]{background-color:#A7A3B5!important}"}]}
{"page":{"pagePath":"agent-stack/agent-wallets/wallet-operations/custom-policies","slug":"/agent-stack/agent-wallets/wallet-operations/custom-policies","pageMetadata":{"title":"How-to: Set spending policies","description":"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.","sidebarTitle":"Set policies","href":"/agent-stack/agent-wallets/wallet-operations/custom-policies"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Step,Steps,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Spending policies cap the USDC and EURC your agent wallet moves and restrict the\nwallet to specific recipient or contract addresses. When a policy applies,\nCircle rejects requests that exceed a limit or violate an address rule. Policies\napply to mainnet agent wallets only. When no custom transfer limit applies, the\ndefault limit is 100 USDC per month.`}),`\n`,_jsx(_components.p,{children:`For the recommended setup, set a global transfer limit, then add a contract\nallowlist on every blockchain your agent uses.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(_components.p,{children:`Before you begin, ensure that you’ve:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Installed `,_jsx(_components.a,{href:`https://nodejs.org/`,children:`Node.js v20.18.2 or later`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Installed Circle CLI:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -g`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @circle-fin/cli`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/agent-stack/agent-wallets/wallet-operations/authenticate`,children:`Authenticated`}),`\nyour agent wallet.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Use Circle CLI 1.4.0 or later to set, view, or reset global transfer limits. Run\n`,_jsx(_components.a,{href:`/agent-stack/circle-cli/command-reference#circle-update`,children:_jsx(_components.code,{children:`circle update`})}),` to\nupdate your CLI.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Spending policies require a mainnet agent wallet. Testnet is not supported.\nSetting a policy triggers a second email OTP to confirm the change. The OTP is\nused once and not stored.`})}),`\n`,_jsx(_components.p,{children:`Choose the policy type that matches your goal.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Transfer limits`,id:`transfer-limits`,\"data-child-heading-ids\":`[\"setup\",\"steps\"]`,children:[_jsx(Heading,{level:`2`,id:`setup`,children:`Setup`}),_jsxs(_components.p,{children:[`Transfer limits cap the USDC and EURC your agent moves through Circle. A global\nlimit applies on every supported Ethereum Virtual Machine (EVM) mainnet, but it\ndoesn’t restrict which contracts your agent calls. Pair it with a contract\nallowlist on the `,_jsx(_components.strong,{children:`Allowlists and blocklists`}),` tab.`]}),_jsx(_components.p,{children:`Token approvals count at their full amount when submitted, so a swap or bridge\ncounts once, at its approval step. Approve only the amount each spender needs.`}),_jsx(Heading,{level:`2`,id:`steps`,children:`Steps`}),_jsxs(Steps,{children:[_jsxs(Step,{title:`Set the limits`,children:[_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`circle wallet limit set`}),` without `,_jsx(_components.code,{children:`--chain`}),` to set a global limit. All\nfour caps are required: per-transaction, daily, weekly, and monthly.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wallet`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xYourWalletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --policy-type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stablecoin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --per-tx`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 100`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --daily`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --weekly`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2000`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --monthly`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5000`})]}),`\n`]})})}),_jsx(_components.p,{children:`Circle sends an email OTP to your agent session email to confirm the policy\nchange. Limits must satisfy: per-transaction ≤ daily ≤ weekly ≤ monthly.`}),_jsxs(_components.p,{children:[`To set a limit for one blockchain, add `,_jsx(_components.code,{children:`--chain ARC`}),`. When global and\nblockchain limits both apply, the stricter value wins for each cap. A\nblockchain with neither limit uses the 100 USDC monthly default.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`circle wallet limit set`}),` creates a new rule and fails if that rule already\nexists in the same scope. To change an existing limit, run\n`,_jsx(_components.a,{href:`/agent-stack/circle-cli/command-reference#circle-wallet-limit-reset`,children:_jsx(_components.code,{children:`circle wallet limit reset`})}),`\nfor that scope first.`]})]}),_jsxs(Step,{title:`Verify the policy`,children:[_jsx(_components.p,{children:`View the global limit, then check the limits on Arc:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wallet`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xYourWalletAddress`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wallet`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xYourWalletAddress`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chain`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ARC`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Check `,_jsx(_components.code,{children:`Scope`}),` to see if a rule covers `,_jsx(_components.code,{children:`All EVM chains`}),` or one blockchain.\nCheck `,_jsx(_components.code,{children:`Origin`}),` for `,_jsx(_components.code,{children:`CUSTOM`}),` or `,_jsx(_components.code,{children:`DEFAULT`}),`.`]})]})]})]}),_jsxs(Tab,{title:`Allowlists and blocklists`,id:`allowlists-and-blocklists`,\"data-child-heading-ids\":`[\"contract-allowlist-setup\",\"steps-2\"]`,children:[_jsx(Heading,{level:`2`,id:`contract-allowlist-setup`,children:`Setup`}),_jsxs(_components.p,{children:[`Allowlists and blocklists apply to one blockchain and require `,_jsx(_components.code,{children:`--chain`}),`.\nContract rules match the contract your agent calls. Recipient rules match\ntransfer recipients and, for USDC and EURC approvals, the spender address.`]}),_jsx(_components.p,{children:`Add a contract allowlist on every blockchain your agent uses, alongside your\ntransfer limit. Each allowlist limits contract calls through Circle to the\naddresses you approve on that blockchain.`}),_jsxs(_components.p,{children:[`Plain transfers with `,_jsx(_components.code,{children:`circle wallet transfer`}),` and fast Gateway deposits with\n`,_jsx(_components.code,{children:`circle gateway deposit --method eco`}),` don’t require the USDC contract on the\ncontract allowlist. Transfer limits and recipient rules still apply.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`The USDC contract on the allowlist`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Excluded`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Blocks the USDC approval step used by swaps, bridges, and direct Gateway deposits that need a new approval.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Included`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Allows USDC approvals to any spender unless a recipient rule restricts it. Add contracts only for the `,_jsx(_components.a,{href:`/agent-stack/agent-wallets/wallet-operations/swap`,children:`swaps`}),`, `,_jsx(_components.a,{href:`/agent-stack/agent-wallets/wallet-operations/bridge`,children:`bridges`}),`, or `,_jsx(_components.a,{href:`/agent-stack/agent-nanopayments/operations/deposit`,children:`Gateway deposits`}),` you need.`]})]})]})]}),_jsx(Warning,{children:_jsx(_components.p,{children:`The contract allowlist checks the called contract, not an approval’s spender\nargument. Allowing a token contract permits approvals to any spender unless a\nrecipient rule restricts it. These policies check requests sent through Circle\nand don’t revoke existing allowances. A spender can use an existing allowance\noutside Circle without these checks.`})}),_jsx(_components.p,{children:`Include every contract your agent calls on a blockchain in that blockchain’s\nallowlist:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Operation`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Contracts to allow on the source blockchain`}),_jsx(_components.th,{style:{textAlign:`left`},children:`How to find the addresses`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.a,{href:`/agent-stack/agent-nanopayments/operations/deposit`,children:`Direct Gateway deposit`}),` with `,_jsx(_components.code,{children:`--method direct`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`USDC and `,_jsx(_components.code,{children:`GatewayWallet`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Run `,_jsx(_components.code,{children:`circle contract address usdc --chain \u003cchain>`}),` and `,_jsx(_components.code,{children:`circle contract address gateway --chain \u003cchain>`}),`. Select `,_jsx(_components.code,{children:`GatewayWallet`}),` at `,_jsx(_components.code,{children:`0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`/agent-stack/agent-wallets/wallet-operations/bridge`,children:`Bridge USDC`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`USDC and Circle’s Bridge Kit contract`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Run `,_jsx(_components.code,{children:`circle contract address usdc --chain \u003cchain>`}),` and add `,_jsx(_components.code,{children:`0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0`}),`. `,_jsx(_components.code,{children:`circle contract address`}),` doesn’t list Bridge Kit contracts.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`/agent-stack/agent-wallets/wallet-operations/swap`,children:`Swap tokens`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`The ERC-20 token you sell and Circle’s Swap Kit adapter contract`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Look up USDC or EURC with `,_jsx(_components.code,{children:`circle contract address \u003cusdc|eurc> --chain \u003cchain>`}),`, or check your sell token’s address. Also add `,_jsx(_components.code,{children:`0x7FB8c7260b63934d8da38aF902f87ae6e284a845`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`/agent-stack/agent-wallets/wallet-operations/execute-contract`,children:`Execute contract`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Each contract passed to `,_jsx(_components.code,{children:`--contract`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Run `,_jsx(_components.code,{children:`circle contract address`}),` for Circle contracts, or check the protocol’s docs for its deployed address.`]})]})]})]}),_jsx(Heading,{level:`2`,id:`steps-2`,children:`Steps`}),_jsxs(Steps,{children:[_jsxs(Step,{title:`Look up Circle contract addresses`,children:[_jsx(_components.p,{children:`For operations that use Circle contracts, look up the addresses on your\nblockchain first:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` contract`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` usdc`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chain`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ARC`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` contract`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` gateway`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chain`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ARC`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Include every contract your agent calls on that blockchain. The\n`,_jsx(_components.a,{href:`#contract-allowlist-setup`,children:`contracts table`}),` lists Bridge Kit, Swap Kit,\nand `,_jsx(_components.code,{children:`GatewayWallet`}),` addresses.`]})]}),_jsxs(Step,{title:`Set the rule`,children:[_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`circle wallet limit set`}),` with `,_jsx(_components.code,{children:`--chain`}),`, `,_jsx(_components.code,{children:`--rule-type`}),`, and a\nbracketed, comma-separated `,_jsx(_components.code,{children:`--targets`}),` list of every approved address on\nthat blockchain.`]}),_jsxs(_components.p,{children:[`For contract rules, the CLI sets `,_jsx(_components.code,{children:`--policy-type contract`}),` automatically. For\nexample, to allow Arc USDC and `,_jsx(_components.code,{children:`GatewayWallet`}),` for direct Gateway deposits\nwhile keeping your transfer limit in place:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wallet`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xYourWalletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chain`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ARC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rule-type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` contract-allowlist`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --targets`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"[0x3600000000000000000000000000000000000000,0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE]\"`})]}),`\n`]})})}),_jsx(_components.p,{children:`Repeat this command on every blockchain your agent uses, with that\nblockchain’s approved contract addresses.`}),_jsxs(_components.p,{children:[`For recipient rules, include `,_jsx(_components.code,{children:`--policy-type stablecoin`}),`. For example, to\nblock two recipient or spender addresses on Arc:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wallet`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xYourWalletAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chain`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ARC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --policy-type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stablecoin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rule-type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` recipient-blocklist`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --targets`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"[0xBAD1,0xBAD2]\"`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--rule-type`}),` accepts:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`contract-allowlist`}),` or `,_jsx(_components.code,{children:`contract-blocklist`}),`: allow or block contract\ncalls to specific contract addresses.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`recipient-allowlist`}),` or `,_jsx(_components.code,{children:`recipient-blocklist`}),`: allow or block transfers\nto specific recipients and USDC or EURC approvals to specific spenders.`]}),`\n`]}),_jsxs(_components.p,{children:[`Circle sends an email OTP to confirm each rule. To add or remove addresses\nin an existing list later, run\n`,_jsx(_components.a,{href:`/agent-stack/circle-cli/command-reference#circle-wallet-limit-reset`,children:_jsx(_components.code,{children:`circle wallet limit reset`})}),`\nwith `,_jsx(_components.code,{children:`--chain`}),` first, then re-apply the rules you want to keep on that\nblockchain.`]})]}),_jsxs(Step,{title:`Verify the policy`,children:[_jsx(_components.p,{children:`Confirm your effective limits and address rules on that blockchain:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`circle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` wallet`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` limit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --address`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xYourWalletAddress`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --chain`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ARC`})]}),`\n`]})})})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/agent-stack/circle-cli/command-reference`,children:`CLI command reference`}),` for\nfull syntax and options.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How-to: Set spending policies","description":"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.","sidebarTitle":"Set policies","href":"/agent-stack/agent-wallets/wallet-operations/custom-policies"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Setup","slug":"setup","depth":2,"children":[],"tabId":"transfer-limits"},{"title":"Steps","slug":"steps","depth":2,"children":[],"tabId":"transfer-limits"},{"title":"Setup","slug":"contract-allowlist-setup","depth":2,"children":[],"tabId":"allowlists-and-blocklists"},{"title":"Steps","slug":"steps-2","depth":2,"children":[],"tabId":"allowlists-and-blocklists"}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/circle-167b8d39/d67aae5e94f8afee/content/gtm.js","/_mintlify/custom/circle-167b8d39/df50992471c6ad37/content/footer-powered-by.js","/_mintlify/custom/circle-167b8d39/749fc460434d1999/circle-fees.js"],"subdomain":"circle-167b8d39","siteName":"Circle Docs","title":"How-to: Set spending policies - Circle Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T19:07:32.098Z","originalFileLocation":"agent-stack/agent-wallets/wallet-operations/custom-policies.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Circle Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"How-to: Set spending policies - Circle Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Circle Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://circle-167b8d39.mintlify.site/_mintlify/api/og/v2?division=Wallet+operations\u0026amp;title=How-to%3A+Set+spending+policies\u0026amp;description=Set+transfer+limits+and+address+rules+on+your+agent+wallet+to+control+how+it+can+move+USDC+and+interact+with+contracts.\u0026amp;theme=b86ce57c82f364033d1c00f9\u0026amp;signature=40e359c1612ba59214e1fafcf9d2b03657bea3b7d07eed235276849b5560ae72\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How-to: Set spending policies - Circle Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://circle-167b8d39.mintlify.site/_mintlify/api/og/v2?division=Wallet+operations\u0026amp;title=How-to%3A+Set+spending+policies\u0026amp;description=Set+transfer+limits+and+address+rules+on+your+agent+wallet+to+control+how+it+can+move+USDC+and+interact+with+contracts.\u0026amp;theme=b86ce57c82f364033d1c00f9\u0026amp;signature=40e359c1612ba59214e1fafcf9d2b03657bea3b7d07eed235276849b5560ae72\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/circle-167b8d39/NmgH-UQQhRa2ts0q/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Circle Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0073C3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/agent-stack/agent-wallets/wallet-operations/custom-policies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.circle.com/#organization\",\"name\":\"Circle Docs\",\"url\":\"https://developers.circle.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/circle-167b8d39/K2XWSLhaeRomzNa1/logo/light.svg?fit=max\u0026auto=format\u0026n=K2XWSLhaeRomzNa1\u0026q=85\u0026s=decfb42837e0eb7c32dd425866902e78\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.circle.com#website\",\"name\":\"Circle Docs\",\"url\":\"https://developers.circle.com\",\"publisher\":{\"@id\":\"https://developers.circle.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies#webpage\",\"url\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies\",\"name\":\"How-to: Set spending policies\",\"description\":\"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.\",\"dateModified\":\"2026-11-18T19:07:32.098Z\",\"isPartOf\":{\"@id\":\"https://developers.circle.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Circle CLI\",\"item\":\"https://developers.circle.com/agent-stack/circle-cli\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Wallets\",\"item\":\"https://developers.circle.com/agent-stack/agent-wallets\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Wallet operations\",\"item\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How-to: Set spending policies\",\"item\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies#article\",\"headline\":\"How-to: Set spending policies\",\"name\":\"How-to: Set spending policies\",\"description\":\"Set transfer limits and address rules on your agent wallet to control how it can move USDC and interact with contracts.\",\"url\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies\",\"mainEntityOfPage\":{\"@id\":\"https://developers.circle.com/agent-stack/agent-wallets/wallet-operations/custom-policies#webpage\"},\"dateModified\":\"2026-11-18T19:07:32.098Z\",\"publisher\":{\"@id\":\"https://developers.circle.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.circle.com#website\"}}]}\u003c/script>","agentPointerHref":"/agent-stack/agent-wallets/wallet-operations/custom-policies.md","siteName":"Circle Docs","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":""}]},{"tab":"Assets","pages":[{"title":"Assets","href":"/assets"}]},{"tab":"Build onchain","pages":[{"title":"Build onchain","href":"/build-onchain"}]},{"tab":"Crosschain transfers","pages":[{"title":"Crosschain transfers","href":"/crosschain-transfers"}]},{"tab":"Agent stack","pages":[{"title":"Agent stack","sidebarTitle":"Overview","mode":"wide","href":"/agent-stack"},{"group":"Circle CLI","pages":[{"title":"Circle CLI","sidebarTitle":"Overview","href":"/agent-stack/circle-cli"},{"title":"CLI command reference","href":"/agent-stack/circle-cli/command-reference"},{"group":"Agent Wallets","expanded":false,"pages":[{"title":"Agent Wallets","sidebarTitle":"Overview","href":"/agent-stack/agent-wallets"},{"title":"Quickstart: Create an agent wallet","sidebarTitle":"Create an agent wallet","href":"/agent-stack/agent-wallets/quickstart"},{"title":"Agent wallet supported blockchains","sidebarTitle":"Supported blockchains","href":"/agent-stack/agent-wallets/supported-blockchains"},{"group":"Wallet operations","pages":[{"title":"Wallet operations","sidebarTitle":"Overview","href":"/agent-stack/agent-wallets/wallet-operations"},{"title":"How-to: Authenticate an agent wallet","sidebarTitle":"Authenticate","href":"/agent-stack/agent-wallets/wallet-operations/authenticate"},{"title":"How-to: Fund an agent wallet","sidebarTitle":"Fund wallet","href":"/agent-stack/agent-wallets/wallet-operations/fund"},{"title":"How-to: Transfer USDC","sidebarTitle":"Transfer USDC","href":"/agent-stack/agent-wallets/wallet-operations/transfer"},{"title":"How-to: Bridge USDC","sidebarTitle":"Bridge USDC","href":"/agent-stack/agent-wallets/wallet-operations/bridge"},{"title":"How-to: Swap tokens","sidebarTitle":"Swap tokens","href":"/agent-stack/agent-wallets/wallet-operations/swap"},{"title":"How-to: Execute a smart contract","sidebarTitle":"Execute contract","href":"/agent-stack/agent-wallets/wallet-operations/execute-contract"},{"title":"How-to: Sign a message","description":"Sign a plain text message or EIP-712 typed data with your agent wallet.","sidebarTitle":"Sign messages","href":"/agent-stack/agent-wallets/wallet-operations/sign"},{"title":"How-to: Set spending policies","sidebarTitle":"Set policies","href":"/agent-stack/agent-wallets/wallet-operations/custom-policies"}]},{"title":"Agent wallet fees","description":"Fee breakdown for agent wallet operations, including bridging, swapping, and payments.","sidebarTitle":"Fees","href":"/agent-stack/agent-wallets/fees"}]},{"group":"Agent Nanopayments","expanded":false,"pages":[{"title":"Agent Nanopayments","sidebarTitle":"Overview","href":"/agent-stack/agent-nanopayments"},{"title":"Quickstart: Make a nanopayment","sidebarTitle":"Make a nanopayment","href":"/agent-stack/agent-nanopayments/quickstart"},{"group":"Nanopayment operations","pages":[{"title":"Nanopayment operations","sidebarTitle":"Overview","href":"/agent-stack/agent-nanopayments/operations"},{"title":"How-to: Deposit for nanopayments","sidebarTitle":"Deposit for nanopayments","href":"/agent-stack/agent-nanopayments/operations/deposit"},{"title":"How-to: Pay for a service","sidebarTitle":"Pay for a service","href":"/agent-stack/agent-nanopayments/operations/pay-for-service"},{"title":"How-to: Withdraw your balance","sidebarTitle":"Withdraw your balance","href":"/agent-stack/agent-nanopayments/operations/withdraw"}]},{"title":"Seller integration tools","sidebarTitle":"Seller integration tools","href":"/agent-stack/agent-nanopayments/seller-integration-tools"}]}]},{"group":"Agent marketplace","pages":[{"title":"Agent marketplace","sidebarTitle":"Overview","href":"/agent-stack/agent-marketplace"},{"title":"How-to: Become a seller","sidebarTitle":"Become a seller","href":"/agent-stack/agent-marketplace/become-a-seller"},{"title":"How-to: Get listed","sidebarTitle":"Get listed","href":"/agent-stack/agent-marketplace/get-listed"},{"title":"Discover x402 services","openapi":"openapi/agent-marketplace-discovery.yaml get /v2/x402/discovery/resources","href":"/agent-stack/agent-marketplace/discovery-api"}]},{"group":"x402 facilitators","pages":[{"title":"x402 facilitators","sidebarTitle":"Overview","href":"/x402-facilitators"},{"title":"What is x402?","sidebarTitle":"What is x402?","href":"/x402-facilitators/x402"},{"group":"Facilitator Service","expanded":false,"pages":[{"title":"Facilitator Service","sidebarTitle":"Overview","href":"/facilitator-service"},{"title":"How Facilitator Service works","sidebarTitle":"How Facilitator Service works","href":"/facilitator-service/how-it-works"},{"title":"Quickstart: Accept x402 payments with Facilitator Service","sidebarTitle":"Accept x402 payments","href":"/facilitator-service/quickstart"},{"title":"How-to: Set up a Permit2 allowance","sidebarTitle":"Set up a Permit2 allowance","href":"/facilitator-service/set-up-permit2-allowance"},{"group":"Keyless trial","pages":[{"title":"The keyless trial","sidebarTitle":"The keyless trial","href":"/facilitator-service/keyless-trial"},{"title":"How-to: Sign a seller proof","sidebarTitle":"Sign a seller proof","href":"/facilitator-service/sign-seller-proof"}]},{"title":"Supported networks","sidebarTitle":"Supported networks","href":"/facilitator-service/supported-networks"}]},{"group":"Gateway Nanopayments","expanded":false,"pages":[{"title":"Gateway Nanopayments","sidebarTitle":"Overview","href":"/gateway-nanopayments"},{"title":"How batched settlement works","sidebarTitle":"Batched settlement","href":"/gateway-nanopayments/concepts/batched-settlement"},{"group":"Quickstarts","pages":[{"title":"Quickstart: Pay for resources with nanopayments","sidebarTitle":"Pay for resources (buy)","href":"/gateway-nanopayments/quickstarts/buyer"},{"title":"Quickstart: Accept payments with nanopayments","sidebarTitle":"Accept payments (sell)","href":"/gateway-nanopayments/quickstarts/seller"}]},{"group":"Use with x402","pages":[{"title":"How-to: Use nanopayments with x402","sidebarTitle":"Use with x402","href":"/gateway-nanopayments/howtos/x402-integration"},{"title":"How-to: Add nanopayments to an x402 buyer","sidebarTitle":"x402 buyer integration","href":"/gateway-nanopayments/howtos/x402-buyer"},{"title":"How-to: Add nanopayments to an x402 seller","sidebarTitle":"x402 seller integration","href":"/gateway-nanopayments/howtos/x402-seller"},{"title":"How-to: Integrate nanopayments into your existing facilitator","sidebarTitle":"Integrate into your facilitator","href":"/gateway-nanopayments/howtos/facilitator-integration"},{"title":"How-to: Sign EIP-3009 payment authorizations","sidebarTitle":"Sign EIP-3009 authorizations","href":"/gateway-nanopayments/howtos/eip-3009-signing"}]},{"title":"How-to: Reconcile nanopayments as a seller","sidebarTitle":"Reconcile nanopayments","href":"/gateway-nanopayments/howtos/x402-seller-reconciliation"},{"title":"Supported networks","sidebarTitle":"Supported networks","href":"/gateway-nanopayments/supported-networks"}]}]}]},{"tab":"Payments","pages":[{"title":"Payments","href":"/cpn"}]},{"tab":"Liquidity services","pages":[{"title":"Liquidity services","href":"/liquidity-services"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference"}]},{"tab":"Developer tools","menu":[{"item":"Sample projects","pages":[{"title":"Sample projects","href":"/sample-projects"}]},{"item":"SDKs","pages":[{"title":"SDKs","href":"/sdks"}]},{"item":"Release notes","pages":[{"title":"Release notes","href":"/release-notes"}]}],"pages":[{"title":"Developer tools","href":"/sample-projects"}]}]},"basePath":"","title":"How-to: Set spending policies - Circle Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}