๐ Validate a Tron address
Code samples
GET /api/v1/trx/account/{address}/validate
Checks if the provided TRX address is valid.
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| address | path | string | true | none |
Example responses
200 Response
{
"is_valid": true,
"valid": true,
"address": "string",
"type": "string"
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Validation result | Inline |
| 500 | Internal Server Error | Could not connect to TRX node | None |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป is_valid | boolean | false | none | none |
| ยป valid | boolean | false | none | Backward compatibility field. |
| ยป address | string | false | none | none |
| ยป type | string | false | none | none |