Traces API
Fetch historical callTracer execution trace trees for a whole block or a single transaction.
Endpoints
| Method | Path | Description | CU / Call | USD / 1M Calls | Calls per free cycle (approx.) |
|---|---|---|---|---|---|
| GET | /{chain}/blocks/{number}/traces | Historical callTracer trace tree for a whole block | 200 | $20.00 | 150,000 |
| GET | /{chain}/transactions/{hash}/trace | Historical callTracer trace tree for one transaction | 200 | $20.00 | 150,000 |
Free plan: all keys in your account share an average of 25 calls per second.
Response fields
GET/{chain}/blocks/{number}/traces
| Field | Type |
|---|---|
| txHash | string |
| result | object |
GET/{chain}/transactions/{hash}/trace
| Field | Type |
|---|---|
| type | string |
| from | string |
| to | string |
| value | string |
| gas | string |
| gasUsed | string |
| input | string |
| output | string |
| error | string |
| revertReason | string |
| calls | array |
Available on Chains
Quick example
curl -s "https://api.blockvectra.com/v1/data/robinhood_mainnet/transactions/{hash}/trace" -H "x-api-key: {api_key}"Documentation
Try this dataset for free
Get 30M CU on sign-up, refilled every 30 days.
Data API bills only successful responses.