Home

Get the underlying L1 chain ID

POST
https://zksync.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the chain ID of the L1 network on which zkSync Era operates.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<any>required
idintegerrequired

Response

200OK

L1 chain ID