TRON
wallet/validateaddressКредиты: 5
Checks whether an address is a well-formed TRON address.
Параметры
| Имя | Тип | Описание |
|---|---|---|
| address | string | Address to check: base58check, 42-character hex starting with 41, or base64 address bytes. The encoding is detected automatically. |
Результат
Тип
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).
Примеры кода
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"
}'