OP Mainnet
eth_getBlockReceiptsКредиты: 60
Returns all transaction receipts of a block in one call.
Параметры
| Имя | Тип | Описание |
|---|---|---|
| block | QUANTITY | TAG | Block number or tag. |
Результат
Тип
Object[]
Receipt objects, one per transaction.
Примеры кода
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": "eth_getBlockReceipts",
"params": [
"latest"
]
}'