← Robinhood Chain overview
Robinhood Chain · arb
arb_getL1Confirmations
Returns L1 confirmations for the batch that includes the given L2 block.
Arbitrum Nitro method exposed on Robinhood Chain. Reports how many L1 blocks have confirmed the batch posting that contains the specified L2 block — useful for tracking settlement status on Ethereum.
Parameters
blockNumrequiredL2 block number as a JSON number (uint64). Hex block tags and hashes are rejected with -32602 on Robinhood Nitro nodes.
Schema{ "type": "integer", "minimum": 0 }
cURL
Endpoint: https://rh-mainnet.eu1.azxa.io/<api-key> — replace <api-key> with your API key from the Azxa app .
Terminal
curl -X POST https://rh-mainnet.eu1.azxa.io/<api-key> \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"arb_getL1Confirmations","params":[12345678]}'Example request
JSON-RPC
{
"jsonrpc": "2.0",
"id": 1,
"method": "arb_getL1Confirmations",
"params": [
12345678
]
}Result
Number of L1 confirmations.
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": 12
}Schema
{
"type": "integer"
}