Gelato Network
Search
K
Comment on page

eth_chainId

Please refer to 1Balance & Relay to create a sponsorApiKey.
post
https://api.gelato.digital/
/bundlers/{chainId}/rpc
eth_chainId

Returns the chainId of the network the bundler is serving.

Parameters
Path
chainId*
number
Target network chain identifier.
Query
sponsorApiKey*
string
1Balance API key which covers transaction costs.
Body
Example
Schema
{
"id": 0,
"jsonrpc": "2.0",
"method": "eth_chainId"
}
Responses
200: OK
Successful response
400: Bad Request
Validation error