eth_getBlockReceipts
EthereumC2Returns the receipts of every transaction in a block, avoiding one eth_getTransactionReceipt call per transaction. Ideal for indexing logs and status efficiently.
Endpoint
POST https://api.1st-node.com/v1/ethereum/rpcParameters
| Name | Type | Description |
|---|---|---|
| block | QUANTITY | TAG | Block number or tag. |
Returns
Array — one receipt object per transaction in the block.
Request
curl https://api.1st-node.com/v1/ethereum/rpc \
-H "Authorization: Bearer $ONE_KEY" \
-H "content-type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getBlockReceipts",
"params": ["latest"]
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getBlockReceipts",
"params": ["latest"]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [{ "transactionHash": "0x…", "status": "0x1", "logs": [] }]
}More blocks methods on Ethereum
よくある質問
Why use this over per-tx receipts?
One call per block instead of N — far cheaper and faster for indexers.
チャージして、キーを取得し、リリース。
セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。
APIキーを取得