Skip to main content

/wallet/gettriggerinputforshieldedtrc20contract REST API Endpoint

Retrieve the trigger input data for executing a shielded TRC20 contract transaction.

Updated on
Oct 04, 2023

Body Parameters

shielded_TRC20_Parameters
object

An object containing the shielded TRC20 parameters for the transaction. It includes the spend and receive descriptions, binding signature, message hash, and parameter type

spend_description
array

An array of spend descriptions, each describing the spending of a shielded TRC20 note

value_commitment
string

The value commitment of the shielded TRC20 note being spent

anchor
string

The anchor value corresponding to the shielded TRC20 note being spent

nullifier
string

The nullifier value corresponding to the shielded TRC20 note being spent

rk
string

The randomness value used in the commitment of the shielded TRC20 note being spent

zkproof
string

The zero-knowledge proof for the shielded TRC20 note being spent

receive_description
object

An array of receive descriptions, each describing the receiving of a shielded TRC20 note

value_commitment
string

It represents the commitment value associated with the amount being received in the receive description

note_commitment
string

It represents the commitment value associated with the note of the receive description

epk
string

The ephemeral public key associated with the receive description

c_enc
string

The encrypted value associated with the receive description

c_out
string

The output commitment value associated with the receive description

zkproof
string

The zero-knowledge proof associated with the receive description

binding_signature
string

The binding signature for the shielded TRC20 contract transaction

message_hash
string

The hash value of the transaction message

parameter_type
string

The type of parameter for the shielded TRC20 contract transaction

spend_authority_signature
array

An array of spend authority signatures for the transaction. Each element in the array contains the value of a spend authority signature

value
string

The value of a spend authority signature

Returns

value

The trigger input data for the shielded TRC20 contract transaction, represented as a string

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free