Class: MoneroTransfer

MoneroTransfer(state)

Models a base transfer of funds to or from the wallet.

Constructor

new MoneroTransfer(state)

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

Methods

getNumSuggestedConfirmations()

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:
Integer is the number of confirmations before it's not worth rewriting the chain

merge(transfer) → {MoneroTransfer}

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 is the transfer to merge into this one
Source:
Returns:
the merged transfer
Type
MoneroTransfer