invoice quote
buscalc_chain_invoice_quoteMerchant invoice conversion at your rate. fiat_to_crypto: quote = ceil_to_decimals(invoice/rate x (1+buffer) [+ network fee if customer pays]); returns merchant net after processor fee and how far the rate can fall before the invoice is short. crypto_to_fiat: received x rate minus processor fee and conversion spread. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": {
"rate": 60000,
"invoice": 250,
"decimals": 8
}
},
"name": "buscalc_chain_invoice_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| modelVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| receipt | Yes | ||
| results | Yes | ||
| sourceURL | Yes | ||
| calculator | Yes | ||
| modelVersion | Yes |