eth_chainId
Last updated
Last updated
Please refer to 1Balance & Relay to create a sponsorApiKey
.
Returns the chainId
of the network the bundler is serving.
Target network chain identifier.
1Balance API key which covers transaction costs.
2.0
eth_chainId
POST /bundlers/{chainId}/rpc HTTP/1.1
Host: api.gelato.digital
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_chainId"
}
{
"id": 1,
"jsonrpc": "2.0",
"result": "1"
}