Sonic transaction receipt
Transaction receipt on Sonic (eth_getTransactionReceipt): success or reverted, gas used, effective gas price, fee paid in S, number of event logs and any contract created. Use to confirm a payment or call went through; for sender, value and calldata use sonic_tx. Input is a 0x-prefixed 64-hex hash; a pending or 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/receipt?hash=0xcc6a5594962b5211496391d0e1e9082f5060f218fad60f907a23e85a7b02bf85"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/sonic/receipt?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",
"status": "success",
"block": 123456789,
"gasUsed": "52000",
"effectiveGasPriceGwei": "0.012",
"fee": "0.000000624",
"logs": 1,
"contractAddress": null
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is sonic_receipt, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp