Resolve a chain name or numeric chainid to a numeric chainid.
null
undefined
''
0x
eth_chainId
Optional
If the chain is invalid, retired or unknown.
Resolve a chain name or numeric chainid to a numeric chainid.
null/undefined/''defaults to Ethereum mainnet (1).0xhex string (the EIP-155 form thateth_chainIdreturns) is passed through once validated as a positive integer.