Look up a Bitcoin transaction by txid
agents.204-168-199-108.sslip.io/v1/chain/btc-tx
Look up a Bitcoin transaction by txid: confirmed or pending, confirmations, block height and time, fee in BTC and USD, fee rate (sat/vB), vsize, replace-by-fee (RBF) flag, coinbase flag, total output value, and up to 20 inputs and outputs with addresses and amounts. Use it to confirm a BTC payment arrived. Source mempool.space.
GET
https://agents.204-168-199-108.sslip.io/v1/chain/btc-txUptime100% 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-tx?txid=a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d");
console.log(await res.json());Example input
{
"txid": "a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
}