Sonic transaction receipt
sonic_receiptTransaction 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 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_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | 0x-prefixed transaction hash (64 hex characters) |