Class: MoneroIncomingTransfer

MoneroIncomingTransfer(state)

Models an incoming transfer of funds to the wallet.

Constructor

new MoneroIncomingTransfer(state)

Construct the model.
Parameters:
Name Type Description
state MoneroTransfer | object is existing state to initialize from (optional)
Source:

Extends

Methods

copy()

Overrides:
Source:

getAccountIndex()

Overrides:
Source:

getAddress()

Source:

getAmount()

Overrides:
Source:

getNumSuggestedConfirmations() → {number}

Return how many confirmations till it's not economically worth re-writing the chain. That is, the number of confirmations before the transaction is highly unlikely to be double spent or overwritten and may be considered settled, e.g. for a merchant to trust as finalized.
Source:
Returns:
is the number of confirmations before it's not worth rewriting the chain
Type
number

getSubaddressIndex()

Source:

getTx()

Overrides:
Source:

isIncoming()

Overrides:
Source:

isOutgoing()

Overrides:
Source:

merge(transfer)

Updates this transaction by merging the latest information from the given transaction. Merging can modify or build references to the transfer given so it should not be re-used or it should be copied before calling this method.
Parameters:
Name Type Description
transfer MoneroIncomingTransfer is the transfer to merge into this one
Overrides:
Source:

setAccountIndex()

Overrides:
Source:

setAddress()

Source:

setAmount()

Overrides:
Source:

setNumSuggestedConfirmations()

Source:

setSubaddressIndex()

Source:

setTx()

Overrides:
Source:

toJson()

Overrides:
Source:

toString()

Overrides:
Source:

toString()

Overrides:
Source: