graphene_client_ex v0.3.0 DatabaseApi

For all database api related methods and utility functions

Summary

Functions

Get a list of assets by ID

Retrieve the current dynamic_global_property_object

Get the witness owned by a given account. Return The witness object, or null if the account does not have a witness Parameters account - The ID of the account whose witness should be retrieved

Get a list of witnesses by ID. This function has semantics identical to get_objects Return The witnesses corresponding to the provided IDs Parameters witness_ids - IDs of the witnesses to retrieve

Get assets alphabetically by symbol name

Get a list of assets by symbol. This function has semantics identical to get_objects Return The assets corresponding to the provided symbols or IDs Parameters asset_symbols - Symbols or stringified IDs of the assets to retrieve

Get names and IDs for registered witnesses. Return Map of witness names to corresponding IDs Parameters lower_bound_name - Lower bound of the first name to return limit - Maximum number of results to return must not exceed 1000

Functions

call(method_name, method_params)
get_assets(asset_ids)

Get a list of assets by ID.

get_dynamic_global_properties()

Retrieve the current dynamic_global_property_object.

get_witness_by_account(account)

Get the witness owned by a given account. Return The witness object, or null if the account does not have a witness Parameters account - The ID of the account whose witness should be retrieved

get_witnesses(ids)

Get a list of witnesses by ID. This function has semantics identical to get_objects Return The witnesses corresponding to the provided IDs Parameters witness_ids - IDs of the witnesses to retrieve

list_assets(lower_bound, limit)

Get assets alphabetically by symbol name.

lookup_asset_symbols(symbols)

Get a list of assets by symbol. This function has semantics identical to get_objects Return The assets corresponding to the provided symbols or IDs Parameters asset_symbols - Symbols or stringified IDs of the assets to retrieve

lookup_witness_accounts(lower_bound, limit)

Get names and IDs for registered witnesses. Return Map of witness names to corresponding IDs Parameters lower_bound_name - Lower bound of the first name to return limit - Maximum number of results to return must not exceed 1000