Skip to main content
GET
/
v0
/
eth
/
blocks
Get Blocks
curl --request GET \
  --url https://api.rated.network/v0/eth/blocks \
  --header 'Authorization: Bearer <token>'
{
  "page": {
    "from": 123,
    "to": 123,
    "size": 10,
    "granularity": "hour",
    "filterType": "hour"
  },
  "total": 1,
  "data": [
    {
      "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
    }
  ],
  "next": "<string>"
}
This endpoint gives a paginated list of all slots and blocks. Here’s how to interpret the inputs required to operate it 👇
ParameterDescription
fromStart slot (integer)
sizeThe number of results included per page

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

from
integer | null
Required range: x >= 0
size
integer
default:10

Response

Successful Response

page
Page · object
required
total
integer
required
Required range: x >= 0
data
Blocks · object[]
required
next
string | null
required