HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

eth_chainId

Returns the hash of the genesis block.

Parameters
None

Returns
DATA - The hash of the genesis block

Example

curl -X POST '47.95.206.44:50545/jsonrpc' --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":79}'

Result

{"jsonrpc":"2.0","id":79,"result":"0x2b6653dc"}