Skip to main content

/wallet/validateaddress REST API Endpoint

Return a Boolean value indicating whether the provided address is valid or not.

Updated on
Oct 4, 2023

/wallet/validateaddress REST API Endpoint

Body Parameters

address
string
REQUIRED
The TRON wallet address, must be encoded in either base58checksum, hexString, or base64 format
visible
boolean
It specifies whether the address should be visible in the TRON network or not. If it is true, the address will be visible in the network; otherwise, it will not be visible

Returns

result
It is true if the address is valid, false otherwise
message
It provides information about the format of the address provided.
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/validateaddress \
2
-X POST \
3
--header 'accept: application/json' \
4
--data '{ "address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs", "visible": true}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free