ZKSync API
zks_L1ChainId
Returns the chain id of the underlying L1
post/zks_L1ChainId
Request
- Base URLhttps://api.mainnet.abs.xyz
- URLhttps://api.mainnet.abs.xyz/zks_L1ChainId
- Authnone declared
Request body
Response
Returns the L1 chain ID
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}Changes
No recorded changes to this operation across all 2 revisions of this API.