@midnight-ntwrk/wallet-api v3.4.2 • Readme | API
@midnight-ntwrk/wallet-api v3.4.2 / BalanceTransactionToProve
Type alias: BalanceTransactionToProve
type BalanceTransactionToProve: {
transactionToBalance: Transaction;
transactionToProve: UnprovenTransaction;
type: typeof BALANCE_TRANSACTION_TO_PROVE;
};
Balance transaction data for proving
Remarks
BalanceTransactionToProve is a data structure used for proving the unproven transaction (transactionToProve) and merging it with the original transaction (transactionToBalance)
Type declaration
transactionToBalance
readonly transactionToBalance: Transaction;
Transaction which will be merged with proved transactionToProve
.
It is a original transaction which we want to balance.
transactionToProve
readonly transactionToProve: UnprovenTransaction;
Unproven transaction which needs to be proven.
Transaction which will balance the transactionToBalance
type
readonly type: typeof BALANCE_TRANSACTION_TO_PROVE;
Used to identify the transaction type