getBalance
Return balance of a specific asset for the given account.
If the asset is omited from a request to MainNet, all asset and token balances will be returned.
Input Arguments
Parameter | Description |
---|---|
A list of Balance Request Objects, specifying which addresses, and which assets to query |
BalanceRequest
Parameter | Description |
---|---|
| Address to check balance(s) |
| contracts is a list of contract hash |
Success Response
Parameter | Description |
---|---|
This key is the actual address of the query eg. "NdJqYNVK99srFABQDLPdrpz2By1RX1sLvr" |
BalanceResponse
Parameter | Description |
---|---|
| contract of the given hash |
| Symbol of the given contract |
| Double Value of the balance represented as a String |
Example
Request
Response
最后更新于