Cross-Asset Spot Exchange Rate & Satoshi Conversion Calculator
calculate_spot_swap_rateCalculates instantaneous spot exchange rates and equivalent USD, BTC, and satoshi values across BTC, ETH, SOL, SUI, and USDC. Use when converting a token amount into USD or satoshis for invoice pricing or accounting; for quoting executable non-KYC cross-chain bridge routes with bridge fees and settlement times, use compare_crosschain_bridge_routes instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'currency' ('amount' defaults to 'standard'), supports '?demo=true' or L402 (20 sats), and returns HTTP 400 if invalid.
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": {
"currency": "<currency>"
},
"name": "calculate_spot_swap_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Quantity of the source asset to convert; defaults to 100 when omitted. | |
| currency | Yes | Source asset ticker symbol to convert from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_amount | Yes | Input asset quantity. | |
| equivalent_sats | Yes | Equivalent value denominated in Bitcoin satoshis. | |
| source_currency | Yes | Input asset symbol converted. | |
| total_usd_value | Yes | Equivalent spot value in US Dollars (USD). |