TRON
wallet/validateaddress5 créditos
Checks whether an address is a well-formed TRON address.
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| address | string | Address to check: base58check, 42-character hex starting with 41, or base64 address bytes. The encoding is detected automatically. |
Retorno
Tipo
Object
Object with result (true when the format is valid; it does not mean the account is activated) and message (format name or error text).
Exemplos de código
curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/validateaddress' \
-X POST \
-H 'content-type: application/json' \
-d '{
"address": "TLsV52sRDL79HXGGm9yzwKibb6BeruhUzy"
}'