文档
定价GitHub控制台

TRON

wallet/validateaddress5 额度

Checks whether an address is a well-formed TRON address.

网络: tron

参数

名称类型描述
addressstringAddress 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"
}'