Open lispc opened 3 years ago
api/account_state/${account_id}
with extra req payload {'show_balances': bool(default true), 'show_orders': bool(default false)}
return { block_id, state_root, account_id, account_state: { ay, sign, eth_addr, nonce, order_tree_root, balance_tree_root, } // if show_balances balances: Vec<(tokenId, tokenSym, tokenBalanceFr, tokenBalanceFloat)> // if show_orders orders: Vec<(order_pos, OrderState>) // we will not implement this now.
api/account_state/${account_id}
with extra req payload {'show_balances': bool(default true), 'show_orders': bool(default false)}
return { block_id, state_root, account_id, account_state: { ay, sign, eth_addr, nonce, order_tree_root, balance_tree_root, } // if show_balances balances: Vec<(tokenId, tokenSym, tokenBalanceFr, tokenBalanceFloat)> // if show_orders orders: Vec<(order_pos, OrderState>) // we will not implement this now.