debug_traceCall

Returns the number of possible tracing result by executing an eth call within the context of the given block execution

Request
Examples
curl https://rpc.xone.org \
-X POST \
-H "Content-Type: application/json" \
--data '{
  "method": "debug_traceCall",
  "params": [
    {
      "from": null,
      "to": "0x6b175474e89094c44da98b954eedeac495271d0f",
      "data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"
    },
    "latest"
  ],
  "id": 1,
  "jsonrpc": "2.0"
}'
Response
200 OK
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "gas": "0x1e9ef",
    "gasUsed": "0x7657",
    "to": "0x0000000000a39bb272e79075ade125fd351887ac",
    "input": "0xd0e30db0",
    "calls": [
      {
        "from": "0x0000000000a39bb272e79075ade125fd351887ac",
        "gas": "0x17eab",
        "gasUsed": "0x10ff",
        "to": "0x01a656024de4b89e2d0198bf4d468e8fd2358b17",
        "input": "0xd0e30db0",
        "value": "0x0",
        "type": "DELEGATECALL"
      }
    ],
    "value": "0x0",
    "type": "CALL"
  }
}

Request params

NameTypeDescription
idintegerRequest identifier
jsonrpcstringJSON-RPC version
methodstringAPI method name
Parametersarray 
transactionCallobjectThe transaction call object containing the following fields:
tracerobjectREQUIRED. The tracer object specifying the following fields:

Response

200
NameTypeDescription
Parametersobject 
idinteger
jsonrpcstring
resultarray_of_objectsThe transaction trace object containing details of the trace.