OP Mainnet
trace_callMany400 kredi
Traces several calls executed in order on top of a block.
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| calls | Array | List of [callObject, traceTypes] pairs. |
| block | QUANTITY | TAG | Block number or tag. |
Dönüş değeri
Tür
Object[]
Result of each call.
Kod örnekleri
curl https://holy-burned-sky-optimism-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"
]
}'