POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getdiversifier
wallet/getdiversifier
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getdiversifier \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "d": "0x06e5f6789012345678901234"
}
TRON API method that generates a random diversifier for shielded TRC20 transactions. The diversifier is used to create multiple payment addresses from a single incoming viewing key, enhancing 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

This method takes no parameters.

Response

  • d — the generated diversifier as a hexadecimal string

Use case

The wallet/getdiversifier method is used for:
  • Generating multiple payment addresses from a single viewing key
  • Enhancing privacy by using different addresses for different transactions
  • Creating diversified shielded addresses for improved anonymity
  • Supporting address diversification in shielded transaction protocols

Body

application/json · object

Response

200 - application/json

Successfully generated diversifier

The response is of type object.