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: string
Address to check balance(s)
contracts: string[]
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: string
contract of the given hash
symbol: string
Symbol of the given contract
amount: string
Double Value of the balance represented as a String
Example
Request
Response
最后更新于