80trust / 100

Eth Tx

by AllTheBot Tx status (Ethereum) in Onchain & crypto

x402 APIPassing, checked 4 h ago

Transaction receipt and status on Ethereum: success / failed / pending / not found, block, confirmations, from, to, value, gas used and fee, via eth_getTransactionReceipt.

GET https://api.zkrobotics.fr/x402/eth/tx

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.zkrobotics.fr/x402/eth/tx?tx_hash=0x873fa9b25af0218783beafe08158b22354f01fb917d34a8a14479c7fbab169c0"
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%2Fapi.zkrobotics.fr%2Fx402%2Feth%2Ftx
const res = await pay("https://api.zkrobotics.fr/x402/eth/tx?tx_hash=0x873fa9b25af0218783beafe08158b22354f01fb917d34a8a14479c7fbab169c0");
console.log(await res.json());

Example input

{
  "tx_hash": "0x873fa9b25af0218783beafe08158b22354f01fb917d34a8a14479c7fbab169c0"
}

Example output

{
  "block": 26148937,
  "confirmations": 53,
  "contract_created": null,
  "fee_eth": "0.00026544964210351",
  "from": "0xF0eE89B409283503c8C2009469c8665e509f63C4",
  "gas_used": 55894,
  "logs": 1,
  "network": "ethereum",
  "nonce": 3,
  "status": "success",
  "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "tx_hash": "0x873fa9b25af0218783beafe08158b22354f01fb917d34a8a14479c7fbab169c0",
  "value_eth": "0"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40262 ms$0.004