crypto

Live EVM transaction status and receipt lookup.

Live EVM transaction status and receipt lookup. Give a transaction hash + chain and get back whether it mined successfully, reverted, or is still pending in the mempool, plus block number, confirmations, timestamp, sender and recipient, value transferred (native unit), gas used, effective gas price, total fee paid, any contract created, and event-log count. Chains: base, ethereum, polygon, arbitrum, optimism. Real-time post-training chain state — use it to confirm a payment settled, detect a reverted transaction, or wait for confirmations before acting. Unknown hash returns 404. Sibling of /api/crypto/gas-oracle (fees) and /api/crypto/address-validate (format).

get/api/crypto/tx

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/crypto/tx
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

chain'base' | 'ethereum' | 'polygon' | 'arbitrum' | 'optimism' required

EVM chain to query: base | ethereum | polygon | arbitrum | optimism.

hashstring required

Transaction hash: 0x followed by 64 hex characters.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.