Cancel Submitted Transactions

This method can be used to cancel pending transaction approve requests submitted by the origin.

Note: This will cancel all transaction approve requests originated from that tab.

Below is an example code describing the way to cancel submitted trasnactions.

const { status } = await window.martian.cancelSubmittedTransactions();
console.log(status);
// above code output
done

Last updated