Sonic transaction
Look up a Sonic transaction by hash: sender, recipient, value in S, nonce, gas limit, the 4-byte function selector and its block. Use to see what was sent or whether it exists; for success or failure and fees paid use sonic_receipt, for emitted events sonic_logs. Input is a 0x-prefixed 64-hex hash; an unknown hash returns 404, uncharged.
Inputs
| Name | Type | Description |
|---|---|---|
hash (required) | string | 0x-prefixed transaction hash (64 hex characters) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/sonic/tx?hash=0xcc6a5594962b5211496391d0e1e9082f5060f218fad60f907a23e85a7b02bf85"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/sonic/tx?hash=0xcc6a5594962b5211496391d0e1e9082f5060f218fad60f907a23e85a7b02bf85&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"chain": "Sonic",
"chainId": 146,
"hash": "0xcc6a5594962b5211496391d0e1e9082f5060f218fad60f907a23e85a7b02bf85",
"from": "0x…",
"to": "0x…",
"value": "0.0",
"nonce": 12,
"gas": "65000",
"selector": "0xa9059cbb",
"inputBytes": 68,
"block": 123456789
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is sonic_tx, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp