pulsechain.box
eth

eth_chainId

Returns the chain ID of the network the node is connected to. The chain ID is used in transaction signing to prevent replay attacks across different networks.

Returns the chain ID of the network the node is connected to. The chain ID is used in transaction signing to prevent replay attacks across different networks.

Parameters

None.

Returns

string -- The chain ID as a hexadecimal string.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_chainId",
    "params": [],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x171"
}
TRY IT

Notes

  • PulseChain mainnet returns 0x171 (369 in decimal).
  • The chain ID was introduced in EIP-155 to prevent transaction replay attacks between networks.
  • Wallets and libraries use this value to ensure transactions are signed for the correct network.
Copyright © 2026 AvecdrA. Made with love.