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

eth_chainId

POST https://mainnet.valuechain.xyz

Returns the chain ID used for signing replay-protected transactions.

See ValueChain EVM for network endpoints.

Parameters

None.

Result

Chain ID (quantity): Hex-encoded chain ID. Mainnet is 0x45f9f (286623); testnet is 0x21d45 (138565).

Example

Response

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

Code examples

cURL

JavaScript

Python

Last updated