#
Disclosure Commands
#
z_getpaymentdisclosure
Category: Disclosure | Version: v1.2.14+
⚠️ EXPERIMENTAL — Disabled by default. Requires
-experimentalfeaturesand-paymentdisclosureflags.
Generate a payment disclosure for a given joinsplit output.
Syntax
z_getpaymentdisclosure "txid" "js_index" "output_index" ("message")
Parameters
Result
Examples
verus -testnet z_getpaymentdisclosure "96f12882450429324d5f3b48630e3168220e49ab7b0f066e5c2935a6b88bb0f2" 0 0 "refund"
Common Errors
Related Commands
— Validate a payment disclosurez_validatepaymentdisclosure
Notes
Disabled by default. To enable, add to
VRSC.confor use startup flags:experimentalfeatures=1 paymentdisclosure=1- Only works with joinsplit (sprout) transactions, not sapling.
- Payment disclosures allow proving that a shielded payment was made without revealing other transaction details.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2 (documented from help only; feature disabled)
#
z_validatepaymentdisclosure
Category: Disclosure | Version: v1.2.14+
⚠️ EXPERIMENTAL — Disabled by default. Requires
-experimentalfeaturesand-paymentdisclosureflags.
Validates a payment disclosure.
Syntax
z_validatepaymentdisclosure "paymentdisclosure"
Parameters
Result
Validation result object.
Examples
verus -testnet z_validatepaymentdisclosure "zpd:706462ff004c561a0447ba2ec51184e6c204..."
Common Errors
Related Commands
— Generate a payment disclosurez_getpaymentdisclosure
Notes
Disabled by default. To enable, add to
VRSC.confor use startup flags:experimentalfeatures=1 paymentdisclosure=1- Verifies that a payment disclosure is valid and the claimed payment was actually made.
- The disclosure string must have the
zpd:prefix.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2 (documented from help only; feature disabled)