POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getshieldedpaymentaddress
wallet/getshieldedpaymentaddress
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getshieldedpaymentaddress \
  --header 'Content-Type: application/json' \
  --data '{
  "ivk": "0x05a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890",
  "d": "0x06a1b2c3d4e5f6789012"
}'
{
  "pkd": "0x07a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890",
  "payment_address": "ztron1abc123def456ghi789jklmno012pqr345stu678vwx90"
}
TRON API method that generates a shielded payment address from an incoming viewing key (ivk) and diversifier. This address is used to receive shielded TRC20 payments 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

  • ivk — the incoming viewing key in hexadecimal format
  • d — the diversifier in hexadecimal format

Response

  • pkd — the shielded payment address public key in hexadecimal format
  • payment_address — the complete shielded payment address

Use case

The wallet/getshieldedpaymentaddress method is used for:
  • Generating shielded addresses to receive private TRC20 payments
  • Creating diversified payment addresses from viewing keys and diversifiers
  • Supporting wallet implementations that need to generate receiving addresses
  • Enabling privacy-preserving transaction receiving capabilities

Body

application/json

Response

200 - application/json

Successfully generated shielded payment address

The response is of type object.