Browse Source

update payment disclosure docs

pull/51/head
Duke Leto 5 years ago
parent
commit
45503796c7
  1. 4
      doc/payment-disclosure.md

4
doc/payment-disclosure.md

@ -50,7 +50,7 @@ To validate a payment disclosure, the following RPC call can be used:
Generate a payment disclosure for the first joinsplit, second output (index starts from zero):
zcash-cli z_getpaymentdisclosure 79189528d611e811a1c7bb0358dd31343033d14b4c1e998d7c4799c40f8b652b 0 1 "Hello"
hush-cli z_getpaymentdisclosure 79189528d611e811a1c7bb0358dd31343033d14b4c1e998d7c4799c40f8b652b 0 1 "Hello"
This returns a payment disclosure in the form of a hex string:
@ -58,7 +58,7 @@ This returns a payment disclosure in the form of a hex string:
To validate the payment disclosure:
zcash-cli z_validatepaymentdisclosure HEXDATA
hush-cli z_validatepaymentdisclosure HEXDATA
This returns data related to the payment and the payment disclosure:

Loading…
Cancel
Save