eth_getBlockReceipts

EthereumC2

Returns 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/rpc

Parameters

NameTypeDescription
blockQUANTITY | TAGBlock 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

Ethereum API

Частые вопросы

Why use this over per-tx receipts?

One call per block instead of N — far cheaper and faster for indexers.

Пополнили, получили ключ, запустили.

Полное самообслуживание. Оплата криптой или картой. Тарификация в кредитах — тяжёлые примитивы дороже, простые дёшевы.

Получить API-ключ