Returns the chain ID of the chain.
None
QUANTITY
Integer of the chain ID of the chain.
// Request curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"klay_chainID","id":1}' http://klaytn.blockpi.network/v1/rpc/your-api-key // Result { "jsonrpc":"2.0", "id":1, "result":"0x7e2" }
Last updated 2 years ago