For the complete documentation index, see llms.txt. This page is also available as Markdown.

eth_blockNumber

POST https://mainnet.valuechain.xyz

Returns the number of the current head (latest).

This is typically one slot (~2s) ahead of safe and finalized. See Differences from Ethereum and Transaction Finality.

Parameters

None.

Result

Block number (quantity): Hex-encoded block number of the current head (latest).

Example

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xd81e9f"
}

Code examples

cURL

JavaScript

Python

Last updated