Disclosure
The following RPC calls interact with the `Indexchain` software, and are made available through the software.
z_getpaymentdisclosure
::: warning EXPERIMENTAL FEATURE: Payment disclosure is currently DISABLED. This call always fails. :::
z_getpaymentdisclosure transaction js_index output_index ("message")
The z_getpaymentdisclosure
method generates a payment disclosure for a given joinsplit output.
Arguments
Name
Type
Description
"txid"
(string, required)
(in development) <!--need to fill in this table-->
"js_index"
(string, required)
"output_index"
(string, required)
"message"
(string, optional)
Response
Name
Type
Description
"paymentdisclosure"
(string)
a hex data string, with a "zpd:" prefix
📌 Examples
Command:
<collapse-text hidden title="Response">
</collapse-text>
You can find your rpcuser
, rpcpassword
, and rpcport
in your coin's .conf file.
Command:
<collapse-text hidden title="Response">
</collapse-text>
z_validatepaymentdisclosure
z_validatepaymentdisclosure "paymentdisclosure"
The z_validatepaymentdisclosure
method validates a payment disclosure.
::: warning EXPERIMENTAL FEATURE: Payment disclosure is currently DISABLED. This call always fails. :::
Arguments
Name
Type
Description
"paymentdisclosure"
(string, required)
hex data string, with "zpd:" prefix
Response
Name
Type
Description
(currently disabled)
📌 Examples
Command:
<collapse-text hidden title="Response">
</collapse-text>
You can find your rpcuser
, rpcpassword
, and rpcport
in the coin's .conf file.
Command:
<collapse-text hidden title="Response">
</collapse-text>
Last updated
Was this helpful?