E

Eucompliance · TX

by Eucompliance

GETBaseSolanaArbitrumPolygon

$0.002

per call · USD Coin on Base

What happened to my transaction? Status, block, gas used, fee paid - and if it failed, the revert reason in plain text, recovered by replaying the call against its block. The receipt alone does not carry that reason.

Endpoint

GET https://api.eucompliance.tools/x402/tx

1

Calls / 30d

1

Unique payers / 30d

Aug 27

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.eucompliance.tools/x402/tx", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.eucompliance.tools/x402/tx?chain=base&tx_hash=0x%E2%80%A6" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x478bcdea94b9cb5ea14c33e6f0d7e920743d39f2
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Eucompliance & similar services