diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index df005b2392..5bb0cecead 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -177,4 +177,12 @@ declare module '@solana/web3.js' { programName: string, ): Promise; } + + // === src/util/send-and-confirm-transaction.js === + declare export function sendAndConfirmTransaction( + connection: Connection, + from: Account, + transaction: Transaction, + runtimeErrorOk?: boolean, + ): Promise; }