curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/validateaddress \
--header 'Content-Type: application/json' \
--data '{
"address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
"visible": true
}'
{
"result": true,
"message": "<string>"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/validateaddress \
--header 'Content-Type: application/json' \
--data '{
"address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
"visible": true
}'
{
"result": true,
"message": "<string>"
}
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
.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.wallet/validateaddress
method is essential for:
Address validation result
The response is of type object
.
Was this page helpful?