Replay the block that is already present in the database (Trace Mode required).
Supported on Arbitrum One (Nitro) only.
Parameters
quantity or tag- Integer block number, or the string 'latest', 'earliest' or 'pending'
Returns
array- Block traces, which have the following object shape (all return types are hexadecimal representations of their data type unless otherwise stated):results- Trace Object, which has the following fields:calls- Array of transactions in the block with the following fields.from- Addressgas- Quantitygasused- Quantityinput- Dataotput- Datato- Addresstype- Datavalue- Quantity
API Endpoint
The format of an Arbitrum Nova API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/arbitrum-nitro/
Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/arbitrum-nitro/
Example
Request
curl https://open-platform.nodereal.io/{{apiKey}}/arbitrum-nitro/ \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"debug_traceBlockByNumber","params":["0xccde12", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
Result
