๐ฐ Get account balance
Code samples
GET /api/v1/trx/account/{address}/balance
Returns TRX balance, TRC10 and USDT balance for the specified address.
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| address | path | string | true | none |
Example responses
200 Response
{
"address": "string",
"balance": 0,
"trc10": {},
"trc20": {
"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t": "string"
}
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Balance information | Inline |
๐ Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป address | string | false | none | none |
| ยป balance | integer | false | none | TRX balance in SUN. |
| ยป trc10 | object | false | none | TRC10 balances. |
| ยป trc20 | object | false | none | none |
| ยปยป TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t | string | false | none | USDT balance. |