Class: MoneroOutputQuery

MoneroOutputQuery(state)

Configures a query to retrieve wallet outputs (i.e. outputs that the wallet has or had the ability to spend). All outputs are returned except those that do not meet the criteria defined in this query.

Constructor

new MoneroOutputQuery(state)

Constructs the query.
Parameters:
Name Type Description
state is model state or json to initialize from (optional)
Source:

Methods

isLocked()

Indicates if the this query will fetch locked outputs, unlocked outputs, or both (null).
Source:
Returns:
true if locked outputs queried, false of unlocked outputs queried, undefined if both

setIsLocked(isLocked) → {MoneroOutputQuery}

Convenience method to query outputs by the locked state of their tx.
Parameters:
Name Type Description
isLocked specifies if the output's tx must be locked or unlocked (optional)
Source:
Returns:
this query for chaining
Type
MoneroOutputQuery