The constructor of the service.
This method executes a count query using the {@link model}
argument.
Caution: Count queries require a considerable amount of RAM
to execute. It is preferred to use pro-active statistics with
collections that contain one document with a counter.
The number of matching transactions.
This method creates or updates a document in the
transactions collection.
The query configuration with sort, order, pageNumber, pageSize.
The fields or data that has to be updated (will be added to $set: {}).
The operations that must be run additionally (e.g. $inc: {}) (optional).
The updated transactions document.
Method to query the existence of a document in the
transactions collection.
This executes a lean mongoose query such that the
properties of the returned document are reduced to
only the "_id" field.
The query configuration with sort, order, pageNumber, pageSize.
Whether a document exists which validates the passed query.
Method to query Transactions based on query and
return as paginated results.
The query configuration with sort, order, pageNumber, pageSize.
Find one Transactions document in the database and use
a query based on the AssetQuery class.
The query configuration with sort, order, pageNumber, pageSize.
The resulting transactions document.
This method creates or updates many documents in the
transactions collection.
This helper method serves as a parser for account
public keys and addresses.
This static method can be used for any inputs that
require to identify a participant [account]. Accounts
can always be referred to by their public key as it can
be used to generate the resulting identifier (address).
A mosaic identifier corresponding to a given namespace identifier (if any).
This method reads a discoverable asset configuration
from the runtime configuration file config/assets.ts
and returns a AssetParameters object.
Contains the type of asset, one of: "base" or "earn".
Generated using TypeDoc
The main service of the Accounts module.
v0.3.0