eth_getBlockReceipts

PolygonC2

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/polygon/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/polygon/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 Polygon

Polygon API

Sıkça sorulanlar

Why use this over per-tx receipts?

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

Bakiye yükle, anahtarını al, yayına çık.

Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.

API anahtarı al