Prerequisites
Before you begin, ensure you have:- Installed Node.js v20.18.2 or later.
-
Installed Circle CLI:
- Completed the Agent Wallets quickstart (authenticates and funds your wallet).
Steps
1
Deposit USDC into your nanopayments balance
Deposit 5 USDC from your wallet on Base:
2
Find an x402-compatible service
Search the Circle Agent Marketplace for available services:Pick a service and inspect its payment requirements:
3
Pay for the service
Pay with your Gateway balance on Base. Replace The CLI prints the service’s response body. The payment settles against
your Gateway balance.
0xYourWalletAddress with
your wallet address:4
Check your balance
Confirm your remaining Gateway balance:
Next steps
- Pay for more services using your remaining balance.
- Withdraw your balance back to your wallet when you’re done.