{"slug":"agents-204-168-199-108-sslip-io-v1-chain-btc-fee-calc-0abc76","title":"Work out a Bitcoin transaction's size and fee before you build it","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/chain/btc-fee-calc","category":"other","description":"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","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checked_on":"2026-12-03","checks_7d":3,"answered_7d":3,"latency_ms_median":948,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:137","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"inputs":"3 p2wpkh","outputs":"1 p2tr, 1 p2wpkh"},"type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-12-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":948,"error":null},{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":945,"error":null},{"day":"2026-12-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":958,"error":null}],"description_full":"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.","last_updated":"2026-12-01T00:09:46.44Z","schemes":["exact"]}