post https://zksync-era-mainnet.unifra.io/v1/
Returns the chain id of the underlying L1.
Example
Request
curl --location --request POST 'https://zksync-era-mainnet.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{ jsonrpc: "2.0", id: 1, method: "zks_L1ChainId", params: [] }'
Result
{
"jsonrpc": "2.0",
"result": "0x1",
"id": 1
}