HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

eth_blockNumber

Returns the number of the most recent block.

Parameters
None

Returns
The latest block number.

Example

curl -X POST '47.95.206.44:50545/jsonrpc' --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":64}'
{"jsonrpc":"2.0","id":64,"result":"0x20e0cf0"}