curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "ots_traceTransaction",
"params": [
"0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"txHash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381",
"calls": []
}
}
Get a detailed execution trace of a transaction on Hyperliquid EVM. Provides comprehensive call stack and state changes.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "ots_traceTransaction",
"params": [
"0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"txHash": "0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381",
"calls": []
}
}
ots_traceTransaction
JSON-RPC method returns the complete execution trace of a transaction on the Hyperliquid EVM blockchain. This Otterscan-specific method extracts all variations of calls, contract creations, and self-destructs, presenting them as a detailed call tree that reveals the full execution flow.
type
— the type of operation (CALL
, CREATE
, CREATE2
, SELFDESTRUCT
)depth
— the depth in the call stackfrom
— the address initiating the operationto
— the target address (for calls) or created contract addressvalue
— the amount of ETH transferred (in wei, hex)input
— the input data for the operationoutput
— the output data from the operation (optional)curl -X POST https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "ots_traceTransaction",
"params": ["0xf94f3d2ed5b59aefb6a0e566af8e86552014d84f6ed2f38a1366dedffe723381"],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"type": "CALL",
"depth": 0,
"from": "0x1234567890abcdef1234567890abcdef12345678",
"to": "0x5555555555555555555555555555555555555555",
"value": "0x0",
"input": "0xa9059cbb0000000000000000000000006666666666666666666666666666666666666666000000000000000000000000000000000000000000000000000000000000000a"
},
{
"type": "CALL",
"depth": 1,
"from": "0x5555555555555555555555555555555555555555",
"to": "0x7777777777777777777777777777777777777777",
"value": "0x0",
"input": "0x70a08231000000000000000000000000000000005555555555555555555555555555555555",
"output": "0x0000000000000000000000000000000000000000000000000000000000000064"
}
]
}
CALL
— Regular function call to a contractDELEGATECALL
— Delegate call preserving msg.senderSTATICCALL
— Read-only call that cannot modify stateCREATE
— Contract deployment using CREATE opcodeCREATE2
— Contract deployment using CREATE2 opcodeSELFDESTRUCT
— Contract self-destructionots_traceTransaction
method is essential for:
Successful response with transaction trace
The response is of type object
.