Class: MoneroTx

MoneroTx(state)

Represents a transaction on the Monero network.

Constructor

new MoneroTx(state)

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

Methods

copy()

Source:

getBlock()

Source:

getExtra()

Source:

getFee()

Source:

getFullHex() → {string}

Get full transaction hex. Full hex = pruned hex + prunable hex.
Source:
Returns:
is full transaction hex
Type
string

getHash()

Source:

getHeight()

Source:

getInputs()

Source:

getKey()

Source:

getLastFailedHash()

Source:

getLastFailedHeight()

Source:

getLastRelayedTimestamp()

Source:

getMaxUsedBlockHash()

Source:

getMaxUsedBlockHeight()

Source:

getMetadata()

Source:

getNumConfirmations()

Source:

getOutputIndices()

Source:

getOutputs()

Source:

getPaymentId()

Source:

getPrunableHash()

Source:

getPrunableHex() → {string}

Get prunable transaction hex which is hex that is removed from a pruned transaction. Full hex = pruned hex + prunable hex.
Source:
Returns:
is the prunable transaction hex
Type
string

getPrunedHex() → {string}

Get pruned transaction hex. Full hex = pruned hex + prunable hex.
Source:
Returns:
is pruned transaction hex
Type
string

getRctSignatures()

Source:

getRctSigPrunable()

Source:

getReceivedTimestamp()

Source:

getRelay()

Source:

getRingSize()

Source:

getSignatures()

Source:

getSize()

Source:

getUnlockHeight()

Source:

getVersion()

Source:

getWeight()

Source:

inTxPool()

Source:

isConfirmed()

Source:

isDoubleSpendSeen()

Source:

isFailed()

Source:

isKeptByBlock()

Source:

isMinerTx()

Source:

isRelayed()

Source:

merge(tx) → {MoneroTx}

Updates this transaction by merging the latest information from the given transaction.
Parameters:
Name Type Description
tx is the transaction to update this transaction with
Source:
Returns:
this for method chaining
Type
MoneroTx

setBlock()

Source:

setExtra()

Source:

setFee()

Source:

setFullHex()

Source:

setHash()

Source:

setInputs()

Source:

setInTxPool()

Source:

setIsConfirmed()

Source:

setIsDoubleSpend()

Source:

setIsFailed()

Source:

setIsKeptByBlock()

Source:

setIsMinerTx()

Source:

setIsRelayed()

Source:

setKey()

Source:

setLastFailedHash()

Source:

setLastFailedHeight()

Source:

setLastRelayedTimestamp()

Source:

setMaxUsedBlockHash()

Source:

setMaxUsedBlockHeight()

Source:

setMetadata()

Source:

setNumConfirmations()

Source:

setOutputIndices()

Source:

setOutputs()

Source:

setPaymentId()

Source:

setPrunableHash()

Source:

setPrunableHex()

Source:

setPrunedHex()

Source:

setRctSignatures()

Source:

setRctSigPrunable()

Source:

setReceivedTimestamp()

Source:

setRelay()

Source:

setRingSize()

Source:

setSignatures()

Source:

setSize()

Source:

setUnlockHeight()

Source:

setVersion()

Source:

setWeight()

Source:

toJson()

Source:

toString()

Source: