Get USDC to BSV quote
get_quoteFetch a live, read-only quote for buying BSV with USDC on Base before swapping; show its terms and reuse the quote_id within about 60 seconds.
Instructions
Get a live quote for buying BSV with USDC on Base. Read-only: nothing is locked or spent. Call it before swap_asset_to_bsv and show the quote to the person directing you; it lasts about 60 seconds, and passing its quote_id to swap_asset_to_bsv uses these terms. Returns quote_id, expires_at, usdc_in, bsv_out, est_bsv_received_sats (after the BSV claim fee), rate_usd_per_bsv, market_mid_usd_per_bsv, price_vs_mid_percent, costs and limits. If the counterparty declines (busy or over a limit), the error carries code, retry_after_s and retry_hint. To send the BSV to another wallet, use fund_wallet: the same quote plus the exact swap call.
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_asset": "<from_asset>",
"to_asset": "<to_asset>",
"amount_in": "<amount_in>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_asset | Yes | Asset you receive. Must be "BSV". | |
| amount_in | Yes | USDC to spend, in atomic units as a decimal string. USDC has 6 decimals: "25000000" = 25 USDC. The quote's limits field gives the current per-swap and daily limits. | |
| from_asset | Yes | Asset you pay with. Must be "USDC" (USDC on Base). |