Top up the credit
add_creditAdd credit with one signed transfer (x402, EIP-3009): USDC on Monad, Avalanche, Arc or Arbitrum, USDG on Robinhood Chain. Call it with only amount to get the payment offer, sign one offer with your wallet, then call it again with payment (the base64 x402 PAYMENT-SIGNATURE value). Without an API key the paying wallet's own account is used and its new key is returned once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "<amount>"
},
"name": "add_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | US dollars, whole cents | |
| payment | No | x402 v2 PAYMENT-SIGNATURE value (base64 JSON) |