z_validatepaymentdisclosure - Zcash 5.10.0 RPC

z_validatepaymentdisclosure "paymentdisclosure"

Validates a payment disclosure.

EXPERIMENTAL FEATURE

WARNING: z_validatepaymentdisclosure is disabled.
To enable it, restart zcashd with the following command line options:
-experimentalfeatures and -paymentdisclosure

Alternatively add these two lines to the zcash.conf file:

experimentalfeatures=1
paymentdisclosure=1

Arguments:
1. "paymentdisclosure"     (string, required) Hex data string, with "zpd:" prefix.

Examples:
> zcash-cli z_validatepaymentdisclosure "zpd:706462ff004c561a0447ba2ec51184e6c204..."
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "z_validatepaymentdisclosure", "params": ["zpd:706462ff004c561a0447ba2ec51184e6c204..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/


Maintained by @_garethtdavies; modified by: mdr0id;license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet zcash node