Skip to main content

PendingTransactionPromise

type PendingTransactionPromise: Promise<PendingTransaction> & {
"wait": PendingTransaction["wait"];
};

A Promise<PendingTransaction> with an additional wait method, which calls into the inner TransactionStatus's wait method upon its resolution.

Type declaration

wait

wait: PendingTransaction["wait"];

Equivalent to calling the resolved PendingTransaction's wait method.

Source

lib/mina/transaction.ts:375