๐ Validate a Tron address
Code samples
GET /api/v1/trx/account/{address}/validate
Checks if the provided address is a valid Tron address
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| address | path | string | true | Tron address to validate |
Example responses
200 Response
{
"address": "TLWKepDBC8RZjAhtWyNqASyzgyVyHUuS7o",
"is_valid": true
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
| 400 | Bad Request | Bad request (invalid address format) | None |
| 500 | Internal Server Error | Internal server error | None |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป address | string | false | none | none |
| ยป is_valid | boolean | false | none | none |