z_getpaymentdisclosure - BitcoinZ 2.0.7 RPC

z_getpaymentdisclosure "txid" "js_index" "output_index" ("message") 

Generate a payment disclosure for a given joinsplit output.

EXPERIMENTAL FEATURE

WARNING: z_getpaymentdisclosure is disabled.
To enable it, restart zcashd with the -experimentalfeatures and
-paymentdisclosure commandline options, or add these two lines
to the zcash.conf file:

experimentalfeatures=1
paymentdisclosure=1

Arguments:
1. "txid"            (string, required) 
2. "js_index"        (string, required) 
3. "output_index"    (string, required) 
4. "message"         (string, optional) 

Result:
"paymentdisclosure"  (string) Hex data string, with "zpd:" prefix.

Examples:
> bitcoinz-cli z_getpaymentdisclosure 96f12882450429324d5f3b48630e3168220e49ab7b0f066e5c2935a6b88bb0f2 0 0 "refund"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "z_getpaymentdisclosure", "params": ["96f12882450429324d5f3b48630e3168220e49ab7b0f066e5c2935a6b88bb0f2", 0, 0, "refund"] }' -H 'content-type: text/plain;' http://127.0.0.1:8032/




Control