getChainId

open fun getChainId(): Int
chain ID (4 bytes)
uint32 chain_id = 8;

Return

The chainId.