Skip to content
Fourohtwo

flat-rate-llm.kikoribera03.workers.dev/v1/evm/receipt

Use when an agent is waiting on a transaction and has to answer «did it work, and what did it cost»: the receipt by hash with success or revert, gas used, the fee actually paid in ether, and how many logs it emitted. found: false means it is not mined yet, which is the answer a waiting agent needs. Do not use for the transaction's own fields like value or recipient (/v1/evm/tx returns both merged)

BasePolygonArbitrumAnswering
POSThttps://flat-rate-llm.kikoribera03.workers.dev/v1/evm/receipt

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://flat-rate-llm.kikoribera03.workers.dev/v1/evm/receipt", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","hash":"0x17f99c8d27a22958999b883d27e8a74b23bad5579832b269faf20ab884884ff3"}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "hash": "0x17f99c8d27a22958999b883d27e8a74b23bad5579832b269faf20ab884884ff3"
}

More from Transaction receiptProvider status