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
BalanceRequest
Parameter
Description
address: string
Address to check balance(s)
contracts: string[]
contracts is a list of contract hash
Success Response
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
最后更新于
这有帮助吗?