Quote for buying credits with a plain USDC transfer (free)
credits_quoteFREE. Step 1 of buying a credits pack from any wallet: returns the exact USDC amount (price + a random tail under $0.01), the receiving address on Base, a secret quote id and a 60-minute window. Then send exactly that amount and call credits_claim.
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": {
"from": "<from>"
},
"name": "credits_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The 0x wallet you will send USDC from (the quote is bound to it) | |
| pack | No | starter ($0.25), class ($1.00) or term ($5.00); default starter |