Skip to main content

/wallet/createshieldedcontractparameters REST API Endpoint

Generate the Shielded contract parameters.

Updated on
Oct 04, 2023

/wallet/createshieldedcontractparameters REST API Endpoint

Body Parameters

ovk
string
REQUIRED
The outgoing viewing key associated with the transaction
from_amount
string
REQUIRED
The amount being sent from the sender's account or address
to_amount
string
REQUIRED
The amount being sent to the reciever's account or address
transparent_to_address
string
REQUIRED
The address to which the amount is to be transferred
shielded_TRC20_contract_address
string
REQUIRED
The contract address for a shielded TRC20 token associated with the transaction
shielded_receives
object
REQUIRED
It contains information about the shielded receives or recipients of the transaction
shielded_spends
object
REQUIRED
It contains information about the shielded spends
ask
string
REQUIRED
The account secret key (ASK)
nsk
string
REQUIRED
The nullifier secret key (NK)

Returns

binding_signature
It represents the binding signature associated with the transaction
message_hash
The hash value of the message associated with the transaction
trigger_contract_input
The input data for triggering a contract associated with the transaction
parameter_type
The type of parameter associated with the transaction
receive_description
An array of objects representing the receive description(s) associated with the transaction. Each object within the array provides details about a specific receive description
value_commitment
It represents the commitment value associated with the amount being received in the receive description
note_commitment
It represents the commitment value associated with the note of the receive description
epk
The ephemeral public key associated with the receive description
c_enc
The encrypted value associated with the receive description
c_out
The output commitment value associated with the receive description
zkproof
The zero-knowledge proof associated with the receive description
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free