curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=56 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_dbAncient",
"params": [
"",
0
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": ""
}
Returns the ancient (freezer) data item at the given index for the specified table.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=56 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_dbAncient",
"params": [
"",
0
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": ""
}
debug_dbAncient:params[0]: Ancient table name (e.g., “headers”, “bodies”).params[1]: Zero-based index within the ancient table.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=56 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_dbAncient",
"params": [
"",
0
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": ""
}
Was this page helpful?