btc fee
buscalc_chain_btc_feeEstimate a Bitcoin transaction's weight, vsize and fee from input/output counts and script types (BIP-141 weight; vsize = ceil(weight/4)). Fee = vsize x your sat/vB rate, rounded up to whole sats. Optional fiat at your BTC price. 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": {
"inputs": [
{
"type": "p2wpkh",
"count": 1
}
],
"outputs": [
{
"type": "p2wpkh",
"count": 2
}
],
"sat_per_vbyte": 10
}
},
"name": "buscalc_chain_btc_fee"
}
}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 |