diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index db0cec087f..66ce6f0d78 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -248,6 +248,14 @@ declare module '@solana/web3.js' { dataLength: number, commitment?: Commitment, ): Promise; + getNonce( + nonceAccount: PublicKey, + commitment?: Commitment, + ): Promise; + getNonceAndContext( + nonceAccount: PublicKey, + commitment?: Commitment, + ): Promise>; } // === src/nonce-account.js === diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 7a74c17455..00a967c3f7 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -261,6 +261,14 @@ declare module '@solana/web3.js' { dataLength: number, commitment: ?Commitment, ): Promise; + getNonce( + nonceAccount: PublicKey, + commitment: ?Commitment, + ): Promise; + getNonceAndContext( + nonceAccount: PublicKey, + commitment: ?Commitment, + ): Promise>; } // === src/nonce-account.js ===