> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wallet/getdiversifier | TRON

> TRON API method that generates a random diversifier for shielded TRC20 transactions. wallet/getdiversifier on TRON via Chainstack.

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.

## 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


## OpenAPI

````yaml openapi/tron_node_api/shielded_getdiversifier.json post /95e61622bf6a8af293978377718e3b77/wallet/getdiversifier
openapi: 3.0.0
info:
  title: wallet/getdiversifier TRON API
  version: 1.0.0
  description: Generate a random diversifier for shielded address creation
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/getdiversifier:
    post:
      tags:
        - Shielded Contract Methods
      summary: wallet/getdiversifier
      operationId: getDiversifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: Successfully generated diversifier
          content:
            application/json:
              schema:
                type: object
                properties:
                  d:
                    type: string
                    description: >-
                      The generated diversifier in hexadecimal format (22 hex
                      characters, no 0x prefix)
                    example: 06e5f678901234567890ab

````