Class MoneroOutputQuery

Configuration to query wallet outputs.

Hierarchy

Constructors

  • Construct the output query.

    Example:

    // get available outputs in account 0 with a minimum amount
    let outputs = await wallet.getOutputs({
       isSpent: false,
       isLocked: false,
       accountIndex: 0,
       minAmount: 750000n
    });

    All configuration is optional. All outputs are returned except those that don't meet criteria defined in this query.

    Parameters

    Returns MoneroOutputQuery

Properties

accountIndex: number
amount: bigint
index: number
isFrozen: boolean
isLocked: boolean
isSpent: boolean
keyImage: Partial<MoneroKeyImage>
maxAmount: bigint
minAmount: bigint
ringOutputIndices: number[]
stealthPublicKey: string
subaddressIndex: number
subaddressIndices: number[]
txQuery: Partial<MoneroTxQuery>

Methods

  • Indicates if this output has been deemed 'malicious' and will therefore not be spent by the wallet.

    Returns boolean

    Boolean is whether or not this output is frozen

  • Returns bigint

  • Returns bigint

  • Returns number[]

  • Parameters

    Returns boolean

  • Updates this output by merging the latest information from the given output.

    Merging can modify or build references to the output given so it should not be re-used or it should be copied before calling this method.

    Parameters

    Returns MoneroOutputWallet

Generated using TypeDoc