Proofs
Prove a transaction
Prove 68f30ce91773ed3a3dbd9f52ddfe7ae22f546467249612e76663d8fe39504c47.
Get a BVN receipt for the transaction's main chain entry
TX="68f30ce91773ed3a3dbd9f52ddfe7ae22f546467249612e76663d8fe39504c47@inv-icp-adi-2.acme/deal-logs"
curl https://mainnet.accumulatenetwork.io/v3 -X POST -s --data-raw '{"jsonrpc": "2.0", "id": 1, "method": "query", "params": {"scope": "'$TX'", "query": {"queryType": "chain", "includeReceipt": true}}}' | jq .result.records[0]{
"recordType": "chainEntry",
"account": "acc://inv-icp-adi-2.acme/deal-logs",
"name": "main",
"type": "transaction",
"index": 142587,
"entry": "68f30ce91773ed3a3dbd9f52ddfe7ae22f546467249612e76663d8fe39504c47",
"receipt": {
"start": "68f30ce91773ed3a3dbd9f52ddfe7ae22f546467249612e76663d8fe39504c47",
"end": "68f30ce91773ed3a3dbd9f52ddfe7ae22f546467249612e76663d8fe39504c47",
"anchor": "83d6c876589eaa28dd9a1270ebc4063e250ceefb4f7cdf02a6f9fde13bf11e13",
"entries": [ /* ... */ ],
"localBlock": 19965385,
"localBlockTime": "2024-04-10T19:53:10Z"
},
"state": [ /* ... */ ]
}Get a directory receipt for the BVN anchor
Get a directory receipt ending at a specific height
Not yet available on MainNet
The includeReceipt supports fetching an anchor that ends at a specific height of the root anchor chain. For example, replacing "includeReceipt": true with "includeReceipt": { "forHeight": 123 } attempts to return a receipt anchored at root chain entry 123.
Get a receipt for a specific DN anchor
Not available yet on MainNet
Given a DN anchor
And a transaction
Fetch a receipt starting with the previous receipt's anchor and ending at the target anchor's root chain index
Last updated