Balance
balance
(coin: str, account_id: Optional[int]) -> [Balance]
balance
(coin: str, account_id: Optional[int]) -> [Balance]Parametrs:
coin: {‘base’, ‘counter’, token ticker}
coin
[shortcuts] can’t be used in update_balance_formula
inside group
account_id: int, default current bot account id
Account id you can find in URL https://terminal.bitmaker.fi/accounts/add?accountID=10
account_id
should be specified for usage in update_balance_formula
inside group
Returns:
Returns structure that can be used to obtain balance of tokens on the account
Last updated