Hyperliquid
trace_callMany400 Credits
Erstellt Traces für mehrere Calls, die der Reihe nach auf einem Block ausgeführt werden.
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| calls | Array | Liste von [callObject, traceTypes]-Paaren. |
| block | QUANTITY | TAG | Blocknummer oder Tag. |
Rückgabewert
Typ
Object[]
Ergebnis jedes Calls.
Codebeispiele
curl https://holy-burned-sky-hyperliquid-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "trace_callMany",
"params": [
[
[
{
"to": "0x0000000000000000000000000000000000000000",
"data": "0x"
},
[
"trace"
]
]
],
"latest"
]
}'