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

getFullHex() → {string}

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

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

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