get_proof_for_blob
Returns
null
if the blob does not exist.Returns an error if there was a database or RPC failure.
The proof shows that the indexer has returned a data blob whose content hasn’t been tampered with because it hashes into a blober account, which hashes into the bankhash at submission.
Body
all ofOptional
Responses
200
RPC success with proof bundle
application/json
400
Invalid request payload
application/json
500
Internal indexer error
application/json
post
POST / HTTP/1.1
Host: devnet.indexer.data-anchor.termina.technology
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"id": "46",
"jsonrpc": "2.0",
"method": "get_proof_for_blob",
"params": {
"blob_address": "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7"
}
}
{
"jsonrpc": "2.0",
"id": "46",
"result": {
"accounts_delta_proof": {
"proof": [
10,
20,
30
]
},
"bank_hash_proof": {
"parent_hash": "abc123...",
"accounts_delta_hash": "def456..."
},
"slot_hash_proof": {
"slot": 12345678,
"hash": "ghi789..."
},
"blob_proofs": [
{
"blob": "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7",
"data": [
1,
2,
3
]
}
]
}
}
Last updated