cURL
curl --compressed 'https://portal.sqd.dev/datasets/ethereum-mainnet/head'
{ "number": 21500000, "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef" }
Returns the block number and hash of the highest block available in the dataset, or null if no blocks are available. Takes real-time data into account. Useful for diagnostics.
Highest block information
Block number of the highest available block.
21500000
Hash of the highest available block.
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
Was this page helpful?