Preview fees for a USDC transfer (no funds move)
quote_transferPrice moving USDC from one chain to another, or to someone else on the same chain: sendstables fee (covers all gas), Circle's fee, what arrives (estimate and guaranteed minimum), and delivery method. sendstables' cross-chain fee is a service charge of 0.05% of the amount (minimum $0.10, no cap), plus estimated sponsored gas, wallet and relaying costs with a 30% margin. Circle fees are separate. Same-chain sends (no bridging) pay no percentage: only the transfer's estimated cost plus margin, or the minimum fee if that's higher. Same chain (from = to): needs a recipient; delivery is "same_chain_transfer" (one USDC transfer, no Circle fee). Returns an UNSIGNED preview plus a prefilled swap_link; it can't be executed. Show the summary to the user.
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>",
"to": "<to>",
"amount": "<amount>"
},
"name": "quote_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination chain slug, e.g. "solana"; the same as `from` for a same-chain send (then `recipient` is required). | |
| ref | No | Optional attribution tag for the link (letters, digits, - or _). | |
| from | Yes | Source chain slug, e.g. "base". | |
| amount | Yes | USDC amount the user pays, fees included, as a decimal string, e.g. "50" or "10.5". | |
| recipient | No | Destination address on `to` (0x… EVM, base58 Solana, G… Stellar). Omit to move funds to the user's own wallet on `to`. Required when `from` and `to` are the same chain (a same-chain send to someone else). Only use an address the user gave you. |