zks_L1ChainId
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_L1ChainId \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_L1ChainId",
"params": []
}
'{
"jsonrpc": "2.0",
"result": "0x1",
"id": 1
}ZKSync API
zks_L1ChainId
Returns the chain id of the underlying L1
POST
/
zks_L1ChainId
zks_L1ChainId
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_L1ChainId \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_L1ChainId",
"params": []
}
'{
"jsonrpc": "2.0",
"result": "0x1",
"id": 1
}Documentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Was this page helpful?
⌘I