Get a BVN receipt for the transaction's main chain entry
Copy 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]
Copy {
"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
Copy ANCHOR="83d6c876589eaa28dd9a1270ebc4063e250ceefb4f7cdf02a6f9fde13bf11e13"
curl https://mainnet.accumulatenetwork.io/v3 -X POST -s --data-raw '{"jsonrpc": "2.0", "id": 1, "method": "query", "params": {"scope": "dn.acme/anchors", "query": { "queryType": "anchorSearch", "anchor": "'$ANCHOR'", "includeReceipt": true }}}' | jq .result.records[0]
Copy {
"recordType": "chainEntry",
"name": "anchor(chandrayaan)-root",
"type": "anchor",
"index": 138397,
"entry": "83d6c876589eaa28dd9a1270ebc4063e250ceefb4f7cdf02a6f9fde13bf11e13",
"receipt": {
"start": "83d6c876589eaa28dd9a1270ebc4063e250ceefb4f7cdf02a6f9fde13bf11e13",
"end": "83d6c876589eaa28dd9a1270ebc4063e250ceefb4f7cdf02a6f9fde13bf11e13",
"anchor": "c63394eee75724c3fd01c124576ecf6ddafae817a534b99aa2f208c7c8f3872e",
"entries": [ /* ... */ ],
"localBlock": 21633361,
"localBlockTime": "2024-04-10T19:53:29Z"
},
"state": [ /* ... */ ]
}
Get a directory receipt ending at a specific height
Not yet available on MainNet
Get a receipt for a specific DN anchor
Not available yet on MainNet