hiveengine.api¶
-
class
hiveengine.api.
Api
(url=None, rpcurl=None, user=None, password=None, **kwargs)¶ Bases:
object
Access the hive-engine API
-
find
(contract_name, table_name, query={}, limit=1000, offset=0, indexes=[])¶ Get an array of objects that match the query from the table of the specified contract
-
find_all
(contract_name, table_name, query={})¶ Get an array of objects that match the query from the table of the specified contract
-
find_one
(contract_name, table_name, query={})¶ Get the object that matches the query from the table of the specified contract
-
get_block_info
(blocknumber)¶ get the block with the specified block number of the sidechain
-
get_contract
(contract_name)¶ Get the contract specified from the database
-
get_history
(account, symbol, limit=1000, offset=0)¶ “Get the transaction history for an account and a token
-
get_latest_block_info
()¶ get the latest block of the sidechain
-
get_status
()¶ gets the status of the sidechain
-
get_transaction_info
(txid)¶ Retrieve the specified transaction info of the sidechain
-