Pay per call · Base mainnet
Let your agent
pay with USDC.
Use a funded Circle Gateway balance for individual API calls. No $5 Stripe pack is required. The standalone client handles the two signatures this service requires.
Node.js 22+ · No npm install · Importing the module makes no requests or payments.
Start with a free preview
Download the client and example into the same directory with their checksums. The example previews GTIN validation at a ceiling of 0.0003 USDC. Preview does not contact the service or sign anything.
Client checksum · Runnable example · Example checksum · Licenses
shasum -a 256 -c agent-utilities-crypto.mjs.sha256
shasum -a 256 -c crypto-example.mjs.sha256
node crypto-example.mjs --previewApprove the budget, then send
For real execution, privately configure an approved paying wallet, the receiving address and Base mainnet. The example has separate prepare and send commands. Preparation saves a signed request to a new owner-only file; sending submits that exact request. Repeating send recovers the same operation without creating another authorization.
Keep signed request files private. Start within five minutes of preparation, and recover within ten minutes of the first server claim. Do not prepare another payment after an uncertain outcome.
Read complete instructionsimport { prepareCall, sendPrepared, privateKeyToAccount } from './agent-utilities-crypto.mjs';Agents may provide their own signing adapter. Each call requires an explicit maximum price, recipient and network. Your agent must also enforce its overall spending budget.
Know what is being paid
Base mainnet uses real USDC. A Gateway deposit funds the buyer's balance; it is separate from purchasing an API call. Deposits and withdrawals can have fees. The paying wallet must differ from the merchant. A Gateway acceptance receipt is not final on-chain confirmation.
Ordinary x402 clients do not automatically implement the extra input-binding signature. This module does. MCP and Python credit adapters continue to use Stripe. Check live crypto status, machine-readable instructions and service policies.