@midnight-ntwrk/wallet-api v3.4.2 • Readme | API
@midnight-ntwrk/wallet-api v3.4.2 / NothingToProve
Type alias: NothingToProve
type NothingToProve: {
transaction: Transaction;
type: typeof NOTHING_TO_PROVE;
};
No-Op transaction data for proving
Remarks
balanceTransaction API allows passing already balanced and proved transaction.
NothingToProve is designed to mark this special case and can be passed further to proveTransaction endpoint without a risk of executing unnecessary proving process, and without disturbing transaction flow with supporting special cases
Type declaration
transaction
readonly transaction: Transaction;
Original transaction
type
readonly type: typeof NOTHING_TO_PROVE;
Used to identify the transaction type