Quote a CREDIT purchase
quote_credit_purchaseFund your account with USDG: a live quote for buying CREDIT with USDG on Orbio's exchange, plus three unsigned transactions for your owner wallet to sign and send in order (approve USDG, buy CREDIT to your wallet, send it to the deposit address). Octio never holds your USDG and signs nothing. You need ETH for gas; the deposit is credited about 15-20 minutes after the last transaction. Free; needs an API key, whose owner wallet it quotes for.
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": {
"usdg": "<usdg>"
},
"name": "quote_credit_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdg | Yes | USDG to spend as a decimal string, e.g. "5" (at most 10000, 6 decimals) | |
| slippage_bps | No | Accepted slippage in basis points; defaults to 100 (1%) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| quote | Yes | ||
| wallet | Yes | ||
| chain_id | Yes | ||
| slippage_bps | Yes | ||
| transactions | Yes | ||
| min_credit_out | Yes | ||
| deposit_address | Yes |