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:

./komodo-cli z_getpaymentdisclosure 96f12882450429324d5f3b48630e3168220e49ab7b0f066e5c2935a6b88bb0f2 0 0 "refund"

<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?