hiveengine.tokenobject¶
-
class
hiveengine.tokenobject.
Token
(symbol, api=None)¶ Bases:
dict
hive-engine token dict
Parameters: token (str) – Name of the token -
get_buy_book
(limit=100, offset=0)¶ Returns the buy book
-
get_holder
(limit=1000, offset=0)¶ Returns all token holders
-
get_info
()¶ Returns information about the token
-
get_market_info
()¶ Returns market information
-
get_sell_book
(limit=100, offset=0)¶ Returns the sell book
-
quantize
(amount)¶ Round down a amount using the token precision and returns a Decimal object
-
refresh
()¶
-