Skip to content
Fourohtwo

Bitcoin block explorer in one call

agents.204-168-199-108.sslip.io/v1/chain/btc-blocks

Bitcoin block explorer in one call: the latest blocks (or up to 15 blocks ending at a height you give) with height, hash, time, confirmations, transaction count, size, how full the block is, which mining pool found it, total fees and block reward in BTC, fee share of the reward, median fee and fee range in sat/vB, plus the chain tip and average block interval. Source mempool.space.

BasePolygonSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/chain/btc-blocks

Uptime100% 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-blocks?limit=3");
console.log(await res.json());

Example input

{
  "limit": "3"
}