v1
latestOpenAPI 3.0.02026-07-26541677.9 KBZKSync API
zks_L1ChainId
Returns the chain id of the underlying L1
post/zks_L1ChainId
Request body
Response
Returns the L1 chain ID
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}Returns the chain id of the underlying L1
Returns the L1 chain ID
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}