Skip to main content
GET
/
v1
/
eth
/
blocks
Get slots and blocks on the Ethereum network
curl --request GET \
  --url https://api.rated.network/v1/eth/blocks \
  --header 'Authorization: Bearer <token>'
{
  "previous": "<string>",
  "next": "<string>",
  "pages": 1,
  "results": [
    {
      "epoch": 1,
      "consensusSlot": 1,
      "consensusBlockRoot": "<string>",
      "executionBlockNumber": 1,
      "executionBlockHash": "<string>",
      "validatorIndex": 1,
      "feeRecipient": "<string>",
      "totalType0Transactions": 1,
      "totalType2Transactions": 1,
      "totalTransactions": 1,
      "totalGasUsed": 1,
      "baseFeePerGas": 1,
      "totalBurntFees": 1,
      "totalType2TxFees": 1,
      "totalType0TxFees": 1,
      "totalPriorityFees": 1,
      "baselineMev": 1,
      "executionProposerDuty": "<string>",
      "executionRewards": 1,
      "missedExecutionRewards": 1,
      "consensusProposerDuty": "<string>",
      "consensusRewards": 1,
      "missedConsensusRewards": 1,
      "totalRewards": 1,
      "totalRewardsMissed": 1,
      "totalType1Transactions": 1,
      "totalType1TxFees": 1,
      "blockTimestamp": "2023-11-07T05:31:56Z",
      "totalSanctionedTransactions": 1,
      "totalPriorityFeesValidator": 1,
      "relays": [
        "<string>"
      ],
      "blockBuilderPubkeys": [
        "<string>"
      ],
      "totalType3Transactions": 1,
      "totalType3TxFees": 1,
      "totalPriorityFeesWei": 1,
      "totalPriorityFeesValidatorWei": 1,
      "baselineMevWei": 1,
      "executionRewardsWei": 1,
      "totalType4Transactions": 1,
      "totalType4TxFees": 1
    }
  ]
}
This endpoint gives a paginated list of all slots and blocks. The results can be filtered across a range of slots (from and to parameters) and/or a specific proposing validator based on its validator_index.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Rated-Network
enum<string>
default:mainnet
Available options:
mainnet,
hoodi,
holesky

Query Parameters

limit
integer
default:10

The number of results returned per page

offset
integer
default:0

The number of results to skip before starting to return

validator_index
integer | null
Required range: x >= 0
from
integer | null
Required range: x >= 0
to
integer | null
Required range: x >= 0

Response

Successful Response

previous
string | null
required
next
string | null
required
pages
integer
required
Required range: x >= 0
results
Blocks · object[]
required