From 1d2cae433ca63c199b6a976dcab900eeab22704c Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Sun, 11 Apr 2021 12:20:22 -0600 Subject: [PATCH] fix: add until param to getConfirmedSignaturesForAddress2 (#16459) --- web3.js/src/connection.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web3.js/src/connection.ts b/web3.js/src/connection.ts index 0c7c93f11f..216d1fd090 100644 --- a/web3.js/src/connection.ts +++ b/web3.js/src/connection.ts @@ -119,6 +119,8 @@ export type ConfirmedSignaturesForAddress2Options = { * @remark If not provided the search starts from the highest max confirmed block. */ before?: TransactionSignature; + /** Search until this transaction signature is reached, if found before `limit`. */ + until?: TransactionSignature; /** Maximum transaction signatures to return (between 1 and 1,000, default: 1,000). */ limit?: number; };