> ## 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/validateaddress | TRON

> TRON API method that validates whether a given address is a valid TRON address. Reference for wallet/validateaddress on TRON via Chainstack.

TRON API method that validates whether a given address is a valid TRON address. This method checks the format and structure of the address to ensure it conforms to TRON's address specifications.

## Parameters

* `address` — the TRON address to validate. Can be in base58 or hex format.
* `visible` — optional boolean parameter. When set to `true`, the address is expected in base58 format (T-address). When `false` or omitted, hex format is expected. Default is `false`.

## Response

* `result` — boolean indicating whether the address is valid (`true`) or invalid (`false`).
* `message` — hexadecimal representation of the address if valid, or error message if invalid.

## Use case

The `wallet/validateaddress` method is essential for:

* Validating user input before processing transactions to prevent errors.
* Verifying addresses received from external sources or user interfaces.
* Implementing address validation in wallets and DApps to ensure data integrity.
* Checking address format compatibility between base58 and hex representations.


## OpenAPI

````yaml openapi/tron_node_api/validateaddress.json post /95e61622bf6a8af293978377718e3b77/wallet/validateaddress
openapi: 3.0.0
info:
  title: wallet/validateaddress TRON API
  version: 1.0.0
  description: Validate a TRON address format and structure
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/validateaddress:
    post:
      tags:
        - Wallet Operations
      summary: wallet/validateaddress
      operationId: validateAddress
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - address
              properties:
                address:
                  type: string
                  default: TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs
                visible:
                  type: boolean
                  default: true
      responses:
        '200':
          description: Address validation result
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: boolean
                  message:
                    type: string

````