FedoraGold Technical Documentation

  1. Home
  2. Docs
  3. FedoraGold Technical Documentation
  4. API: fedoragold_daemon (http post: JSON req)
  5. checktransactionproof

checktransactionproof

This method uses the "proof" signature returned by the walletd API named "sendTransaction" as input. It is used to prove that a payment has been made, and that the transaction was received by the destination wallet address. Since FED is a privacy coin, this is the only way a sender can prove that they sent a transaction, in a manner that can be examined by any 3rd party.

curl -X POST -i -H "Accept: application/json" -d '{"params": {"transaction_id": "e6319885f3ffe0f202c3e2b1696dc47dc1c58704c7d4bf5a2426645473727853", "destination_address": "NPmXWUqW8JtThsMBKJiqLneRdUNH792SSbYhmtixjwuyfZkidBAdXSdMSLJZAewpMucs6qYRxiMVZM2CtTtrVuM4PdNqEJs", "signature": "NKRJk46Wi8cTEX7N5VrhhVLLoB2mYGQUvN5g7FP24eyTjjXtMJjHbQE4za3SxLw4sgKjCfs3dHf3FFWGGrGtUwS12x2EmpuiHoPE885gzsBUgChqSd8UsSQ7ehLhvMcc218B2PyYJc7"}, "jsonrpc": "2.0", "id": "test", "method":"checktransactionproof"}' http://localhost:30159/json_rpc

... or ...
https://explorer.fedoragold.com/?proofTx=f6e5fcaa3a9e9daf5620f975355a4b5301999ce42298900e9d4a561db0386682&proofPayment=NMMFhdQ3j5C6heKtHQ8umWNzPstvc5d3tAxUr7m9PU6jUazM9Zbrg7dVzLDZwhMDjf98Vugj4UY9whQoGPHBfX6Y2vyaRznuBWVgHV6fzP1wAjei8LBrE4NuK6CAFtVQRcWf2oPuR3r&proofAddress=NQXscevg9tkCdrpyJsiMf1J2KygXvVaQj8KwnwVLnVg6G39NMKMWNtYYbp9fKGRyCSMHdx5cGNzUYjR4c1o2XRMA35VJrFL#check_payment

requestresponse
transaction_idsignature_valid
destination_addressreceived_amount
signatureoutputs
confirmations
status

sample:

{"id":"test","jsonrpc":"2.0","result":{"confirmations":2931732,"outputs":[{"amount":1000000000,"target":{"data":{"key":"261b53153e6c9dea8922a8c93168fd5a3fda78f0519d8228e2dd03a8059c9b83"},"type":"02"}}],"received_amount":1000000000,"signature_valid":true,"status":"OK"}}

Was this article helpful to you? Yes No

How can we help?