Skip to main content

@midnight-ntwrk/wallet-api v3.5.0Readme | API


@midnight-ntwrk/wallet-api v3.5.0 / TransactionHistoryEntry

Type alias: TransactionHistoryEntry

type TransactionHistoryEntry: {
applyStage: ApplyStage;
deltas: Record<TokenType, bigint>;
identifiers: TransactionIdentifier[];
transaction: Transaction;
transactionHash: TransactionHash;
};

Transaction history data

Type declaration

applyStage

readonly applyStage: ApplyStage;

ApplyStage of the transaction

deltas

readonly deltas: Record<TokenType, bigint>;

The value of this offer for each token type

Remarks

It contains the input coin values - output coin values, for value vectors of the transaction. Note that this will not list any zero value coins;

identifiers

readonly identifiers: TransactionIdentifier[];

An array of TransactionIdentifier of the transaction.

transaction

readonly transaction: Transaction;

Original transaction

transactionHash

readonly transactionHash: TransactionHash;

TransactionHash of the transaction