Skip to main content
GET
/
api
/
v1
/
customer
/
{chain}
/
transactions
/
{tx_hash}
/
traces
Get Transaction Traces
curl --request GET \
  --url https://api-gateway.sonarx.com/api/v1/customer/{chain}/transactions/{tx_hash}/traces \
  --header 'apikey: <api-key>'
{
  "transaction_hash": "0x0063079708b5fab44762765a01c17ab2754ebc15cb9ecd0e14fcbbd520452c27",
  "offset": 0,
  "limit": 10,
  "result": [
    {
      "block_number": 81911103,
      "timestamp": 1768942178,
      "datetime": "2026-01-20T20:49:38",
      "transaction_hash": "0x0063079708b5fab44762765a01c17ab2754ebc15cb9ecd0e14fcbbd520452c27",
      "transaction_index": 80,
      "trace_address": "",
      "transaction_from": "0xb63c1246a11edc1e784c39ab95295e4180c5071b",
      "transaction_to": "0x9ead30c8518a19f0b493eea1bd5af8fcc5fd4ba2",
      "transaction_status": true,
      "call_type": "call",
      "from_address": "0xb63c1246a11edc1e784c39ab95295e4180c5071b",
      "to_address": "0x9ead30c8518a19f0b493eea1bd5af8fcc5fd4ba2",
      "gas": 200,
      "gas_used": 0,
      "gas_refund": 200,
      "value": "100000000000",
      "subtraces": 0,
      "type": "call",
      "input": "0x",
      "output": "0x",
      "error": null,
      "function_signature": "0x",
      "version": 0
    }
  ],
  "count": 1
}
Polygon Data Availability: Polygon traces are only available from January 2025 onwards.

Authorizations

apikey
string
header
required

API key for authentication

Path Parameters

chain
enum<string>
required

The blockchain network to query

Available options:
polygon
Example:

"polygon"

tx_hash
string
required

Transaction hash (66 character hex string starting with 0x)

Example:

"0x00dcc066aad65ae4f10c0fc4ec1fac5d3693c12c01d98a9f6a87448be9b26200"

Query Parameters

limit
integer
default:10

Maximum number of results (1-50)

Required range: 1 <= x <= 50
offset
integer
default:0

Number of results to skip for pagination

Required range: x >= 0

Response

Transaction traces

transaction_hash
string
offset
integer
limit
integer
result
object[]
count
integer