Work out a Bitcoin transaction's size and fee before you build it
Work out a Bitcoin transaction's size and fee before you build it: give inputs and outputs as counts and types ("2 p2wpkh, 1 p2tr"; types p2pkh/legacy, p2sh-p2wpkh, p2wpkh/segwit, p2tr/taproot, p2wsh/multisig) and get the estimated vsize and weight, the fee in sats, BTC and USD at next-block, 30-min, 1-hour and economy rates (live from mempool.space) or at your own fee_rate, and how much you would save with taproot inputs.
Answeringour last check, 2026-12-03
3 of 3checks answered this week
948 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/chain/btc-fee-calc
| Category | Everything else |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-03 | valid payment request | 402 | $0.001 | 948 ms |
| 2026-12-02 | valid payment request | 402 | $0.001 | 945 ms |
| 2026-12-01 | valid payment request | 402 | $0.001 | 958 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"inputs": "3 p2wpkh",
"outputs": "1 p2tr, 1 p2wpkh"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"fee_rate": {
"description": "Optional fee rate sat/vB instead of live rates",
"type": "string"
},
"inputs": {
"description": "Inputs, e.g. \"2 p2wpkh\" or \"1 p2pkh, 1 p2tr\" (default 1 p2wpkh)",
"type": "string"
},
"outputs": {
"description": "Outputs, e.g. \"1 p2tr, 1 p2wpkh\" (default 2 p2wpkh)",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}