wallet/getBalances
Gets the wallet's $IRON
balance, as well as balances of custom assets of the given account. If the account is not specified, the default account will be used.
Request
{
account?: string
confirmations?: number
}
Response
{
account: string
balances: {
assetId: string
confirmed: string
unconfirmed: string
unconfirmedCount: number
pending: string
pendingCount: number
available: string
availableNoteCount: number
blockHash: string | null
sequence: number | null
/**
* @deprecated Please use getAsset endpoint to get this information
*/
assetName: string
/**
* @deprecated Please use getAsset endpoint to get this information
*/
assetCreator: string
/**
* @deprecated Please use getAsset endpoint to get this information
* */
assetOwner: string
/**
* @deprecated Please use getAsset endpoint to get this information
* */
assetVerification: {
status: 'verified' | 'unverified' | 'unknown'
}
}[]
}