📜 Get latest Ethereum block
Code samples
GET /api/v1/eth/block/last
Returns the most recent block from the Ethereum blockchain using eth_getBlockByNumber with the latest tag.
Example responses
200 Response
{
"number": "0x1234abcd",
"hash": 0,
"parentHash": "string",
"nonce": "string",
"sha3Uncles": "string",
"logsBloom": "string",
"transactionsRoot": "string",
"stateRoot": "string",
"receiptsRoot": "string",
"miner": "string",
"difficulty": "string",
"totalDifficulty": "string",
"extraData": "string",
"size": "string",
"gasLimit": "string",
"gasUsed": "string",
"timestamp": "string",
"baseFeePerGas": "string",
"transactions": [
"string"
],
"uncles": [
"string"
]
}
🔁 Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Latest Ethereum block | EthBlock |
| 500 | Internal Server Error | Could not connect to ETH node | None |