Skip to content
Fourohtwo

Bitcoin fee estimates right now

diamond.btc-intel.workers.dev/api/x402/fees

Bitcoin fee estimates right now: sat/vB to confirm within 1, 2, 3, 6, 12, 24, 144, 504 and 1008 blocks (Bitcoin Core estimatesmartfee on this node), plus mempool size and minimum relay fee.

BaseAnswering
GEThttps://diamond.btc-intel.workers.dev/api/x402/fees

Uptime100% of 2 checks 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://diamond.btc-intel.workers.dev/api/x402/fees");
console.log(await res.json());

Example input

{}