Skip to content
docs

collectWarnings

collectWarnings(tx, signer?): PreviewWarning[]

Defined in: warnings.ts:33

The facts a review screen shows about a decoded transaction. They describe; they do not judge (the verdict is a separate layer). Each code appears once per instruction it is about.

Omit<DecodedTransaction, "warnings">

string

PreviewWarning[]