POST
/
{api-key}
curl --request POST \
  --url https://{network}.s.chainbase.online/v1/{api-key} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "trace_replayBlockTransactions",
  "params": [
    "latest",
    [
      "trace"
    ]
  ]
}'
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": [
    {
      "action": {
        "from": "<string>",
        "callType": "<string>",
        "gas": "<string>",
        "input": "<string>",
        "to": "<string>",
        "value": "<string>"
      },
      "blockHash": "<string>",
      "blockNumber": "<string>",
      "result": {
        "gasUsed": "<string>",
        "output": "<string>"
      },
      "subtraces": 123,
      "traceAddress": [
        123
      ],
      "transactionHash": "<string>",
      "transactionPosition": 123,
      "type": "<string>"
    }
  ]
}

Path Parameters

api-key
string
required
Example:

"demo"

Body

application/json
id
integer
default:1
required
Example:

1

jsonrpc
string
default:2.0
required
Example:

"2.0"

method
string
default:trace_replayBlockTransactions
required
params
any[]
required

Response

200 - application/json
Successful Response
id
integer
required
Example:

1

jsonrpc
string
required
Example:

"2.0"

result
object[]
required