80trust / 100

Chain Receipt

by Tanod chainpeek in Onchain & crypto

x402 APIPassing, checked 3 h ago

chainpeek (Tanod) transaction receipt on Ethereum or Base: status, gas used, effective gas price, fee, logs count and contract address. Use when an agent needs a mined transaction's status, gas used, fee and created contract address.

POST https://tanod.dev/v1/chain/receipt

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
277 ms typical, 881 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/chain/receipt' \
  -H 'content-type: application/json' \
  --data-raw '{"chain":"base","hash":"0x58d0d17b5944b268a414c87a2feca10ace73f0746b522e4e90ad329b630f490d"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fchain%2Freceipt
const res = await pay("https://tanod.dev/v1/chain/receipt", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"chain\":\"base\",\"hash\":\"0x58d0d17b5944b268a414c87a2feca10ace73f0746b522e4e90ad329b630f490d\"}",
});
console.log(await res.json());

Example input

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

Example output

{
  "block": 52373503,
  "block_hash": "0x58708d06127af7bc95cb37d8235cd82ecd38503acd584c508234d1cf669c778e",
  "chain": "base",
  "contract_address": null,
  "cumulative_gas_used": "1640953",
  "effective_gas_price_gwei": "0.01",
  "effective_gas_price_wei": "10000000",
  "fee_wei": "4843847622164",
  "from": "0xB4f3502D05585433cD319b809d3FdcB5A543896F",
  "gas_used": "484243",
  "hash": "0x58d0d17b5944b268a414c87a2feca10ace73f0746b522e4e90ad329b630f490d",
  "l1_fee_wei": "1417622164",
  "log_count": 19,
  "status": "success",
  "to": "0xb093da272A66D47b7445cA389CEbdc6d3Ac7753D",
  "transaction_index": 12,
  "type": 2
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402433 ms$0.002
7 h agoPassed402272 ms$0.002
11 h agoPassed402257 ms$0.002
15 h agoPassed402881 ms$0.002
19 h agoPassed402277 ms$0.002
22 h agoPassed402356 ms$0.002
26 h agoPassed402718 ms$0.002
29 h agoPassed4021.2 s$0.002
33 h agoPassed402281 ms$0.002
36 h agoPassed402369 ms$0.002
40 h agoPassed402280 ms$0.002
44 h agoPassed402267 ms$0.002
2 days agoPassed402273 ms$0.002
2 days agoPassed402378 ms$0.002
2 days agoPassed402260 ms$0.002