Constructor
new MoneroTx(state)
Construct the model.
Parameters:
Name | Type | Description |
---|---|---|
state |
MoneroTx | object | is existing state to initialize from (optional) |
Methods
copy()
getBlock()
getExtra()
getFee()
getFullHex() → {string}
Get full transaction hex. Full hex = pruned hex + prunable hex.
Returns:
is full transaction hex
- Type
- string
getHash()
getHeight()
getInputs()
getKey()
getLastFailedHash()
getLastFailedHeight()
getLastRelayedTimestamp()
getMaxUsedBlockHash()
getMaxUsedBlockHeight()
getMetadata()
getNumConfirmations()
getOutputIndices()
getOutputs()
getPaymentId()
getPrunableHash()
getPrunableHex() → {string}
Get prunable transaction hex which is hex that is removed from a pruned
transaction. Full hex = pruned hex + prunable hex.
Returns:
is the prunable transaction hex
- Type
- string
getPrunedHex() → {string}
Get pruned transaction hex. Full hex = pruned hex + prunable hex.
Returns:
is pruned transaction hex
- Type
- string
getRctSigPrunable()
getRctSignatures()
getReceivedTimestamp()
getRelay()
getRingSize()
getSignatures()
getSize()
getUnlockTime() → {BigInteger}
Get the minimum height or timestamp for the transactions to unlock.
Returns:
the minimum height or timestamp for the transactin to unlock
- Type
- BigInteger
getVersion()
getWeight()
inTxPool()
isConfirmed()
isDoubleSpendSeen()
isFailed()
isKeptByBlock()
isMinerTx()
isRelayed()
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 |
Returns:
this for method chaining
- Type
- MoneroTx