POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
createshieldedcontractparameters
wallet/createshieldedcontractparameters
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createshieldedcontractparameters \
  --header 'Content-Type: application/json' \
  --data '{
  "spend_authority_signature": "0x08a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890123456",
  "view_signature": "<string>",
  "proof_generation_key": "<string>",
  "payment_address": "<string>",
  "rcm": "<string>",
  "ar": "<string>",
  "alpha": "<string>",
  "rsk": "<string>",
  "ask": "<string>"
}'
{
  "receive_description": {},
  "spend_description": {},
  "binding_signature": "<string>"
}
TRON API method that creates parameters for a shielded TRC20 contract transaction. This method generates the necessary cryptographic parameters required to execute shielded transfers while maintaining privacy.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • spend_authority_signature — the spending authority signature for the transaction
  • view_signature — the view signature component
  • proof_generation_key — the proof generation key for creating zero-knowledge proofs
  • payment_address — the recipient’s shielded payment address
  • rcm — the randomness commitment value
  • ar — the authentication randomness value
  • alpha — the alpha parameter for proof generation
  • rsk — the randomness for spending key
  • ask — the authentication secret key

Response

  • receive_description — the receive description for the shielded transaction
  • spend_description — the spend description for the shielded transaction
  • binding_signature — the binding signature that ties the transaction together

Use case

The wallet/createshieldedcontractparameters method is used for:
  • Creating the cryptographic parameters needed for shielded TRC20 transfers
  • Generating zero-knowledge proofs for privacy-preserving transactions
  • Preparing transaction data that maintains sender and recipient anonymity
  • Supporting advanced shielded contract functionality in wallets and applications

Body

application/json

Response

200 - application/json

Successfully created shielded contract parameters

The response is of type object.