ProductsPassportWalletJSON-RPC APIeth_chainIdRate this page:★★★★★On this pageeth_chainIdReturns the current chain id.ParamsThis method does not accept any parameters.ResultReturns a Promise that resolves with a string that represents the current chain id.Exampleconst chainId = await provider.request({ method: 'eth_chainId' });console.log(chainId); // ['0xaa36a7']