Read the spent portion of a Monero reserve proof
An operator can present a reserve proof covering selected funds. Later verification can distinguish the total covered by the proof from the part that has since been spent.
Issue a fresh verification challenge
Use the claimed primary address and the exact challenge agreed with the prover. A verifier needs the signature string, but should not request wallet secrets to perform this check. POST this example to /json_rpc on monero-wallet-rpc.
{
"jsonrpc": "2.0",
"id": "guide",
"method": "check_reserve_proof",
"params": {
"address": "<primary address>",
"message": "inventory-check-107",
"signature": "<reserve proof>"
}
}
Calculate the remaining covered funds
For a valid proof with total equal to 3000000000000 and spent equal to 1000000000000, the covered unspent amount is 2 XMR. Calculate this with integer arithmetic. The proof can cover a subset of funds and does not establish liabilities, ongoing control tomorrow, or ownership of an entire business.