Skip to main content

Parameters

chainId
string
default:"808813"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"debug_traceCall"
required
JSON-RPC method name.
params
object
required
Parameters for method debug_traceCall: [transactionObject, blockNrOrHash, traceConfig].Positional parameters for debug_traceCall:
  • params[0]: Legacy transaction (pre-EIP-2718).
  • params[1]: The block number or hash.
  • params[2]: Optional configuration object passed to tracing RPC methods.

Returns

result
object
The tracer object.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=808813 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "debug_traceCall",
    "params": [
      {
        "from": null,
        "to": "0x6b175474e89094c44da98b954eedeac495271d0f",
        "data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"
      },
      "latest"
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}