List token balances
Changed onReturns a list of token balances given the id. This represents the Token supply distribution across the network
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/tokens/{tokenId}/balances
- Authnone declared
Path parameters
Network entity ID in the format of shard.realm.num
Token id
Query parameters
The optional balance value to compare against
The ID of the account to return information for
The account's public key to compare against
The maximum number of items to return
The order in which items are listed
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Example response
{
"timestamp": "1586567700.453054000",
"balances": [
{
"account": "0.15.2",
"balance": 1000,
"decimals": 3
}
]
}Changes
- warning
changed the pattern of the
queryrequest parameteraccount.balancefrom^((gte?|lte?|eq|ne)\:)?\d{1,10}$to^((gte?|lte?|eq|ne)\:)?\d{1,19}$
- warning
- breaking
the response property
//became nullable for the status
- breaking