curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=4114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "ledger_getLastScannedL1Height",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Citrea
ledger_getLastScannedL1Height
Returns the highest L1 (Bitcoin) block height scanned by the node.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=4114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "ledger_getLastScannedL1Height",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Was this page helpful?