curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_dbAncients",
"params": [
""
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": 1024
}
Returns the number of ancient entries stored for the specified table.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_dbAncients",
"params": [
""
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": 1024
}
debug_dbAncients:params[]: Ancient table name.1024.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_dbAncients",
"params": [
""
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": 1024
}
Was this page helpful?