zks_getL1BatchBlockRange
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getL1BatchBlockRange \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getL1BatchBlockRange",
"params": [
12345
]
}
'{
"jsonrpc": "2.0",
"result": [
"0x1",
"0x4"
],
"id": 1
}ZKSync API
zks_getL1BatchBlockRange
Returns the range of blocks contained within a specified L1 batch. The range is provided by the beginning and end block numbers in hexadecimal.
POST
/
zks_getL1BatchBlockRange
zks_getL1BatchBlockRange
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getL1BatchBlockRange \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getL1BatchBlockRange",
"params": [
12345
]
}
'{
"jsonrpc": "2.0",
"result": [
"0x1",
"0x4"
],
"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