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
address
— the TRON address to validate. Can be in base58 or hex format.visible
— optional boolean parameter. When set totrue
, the address is expected in base58 format (T-address). Whenfalse
or omitted, hex format is expected. Default isfalse
.
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
Thewallet/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.
Body
application/json