What fee to pay on Bitcoin right now
agents.204-168-199-108.sslip.io/v1/chain/btc-fees
What fee to pay on Bitcoin right now: next-block, 30-min, 1-hour, economy and minimum fee rates in sat/vB with the cost of a typical payment in sats and USD, congestion level and advice, mempool backlog (pending blocks, transactions, vMB, next block median fee and fee range), current block height and the next difficulty adjustment (progress, estimated change %, date). Source mempool.space.
GET
https://agents.204-168-199-108.sslip.io/v1/chain/btc-feesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/chain/btc-fees?tx_vbytes=141");
console.log(await res.json());Example input
{
"tx_vbytes": "141"
}