Sonic transaction
sonic_txLook 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 422, uncharged. Example: hash=0xcc6a5594962b5211496391d0e1e9082f5060f218fad60f907a23e85a7b02bf85. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hash": "<hash>"
},
"name": "sonic_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | 0x-prefixed transaction hash (64 hex characters) |