Ethereum API
eth_chainId
Gets the current chain ID
post/eth_chainId
Request
- Base URLhttps://api.mainnet.abs.xyz
- URLhttps://api.mainnet.abs.xyz/eth_chainId
- Authnone declared
Request body
Response
Returns the chain ID in hexadecimal format
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x144"
}Changes
No recorded changes to this operation across all 2 revisions of this API.