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": "citrea_getLastCommittedL2Height",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Citrea
citrea_getLastCommittedL2Height
Returns the latest L2 block height committed to Bitcoin.
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": "citrea_getLastCommittedL2Height",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
Was this page helpful?