From 5b7f305cfe1b991b1ceb7af1d50646bbcd7cbd73 Mon Sep 17 00:00:00 2001 From: "amilz.sol" <85324096+amilz@users.noreply.github.com> Date: Mon, 24 Oct 2022 09:30:44 -0700 Subject: [PATCH 1/2] Add confirmation status to ConfirmedSignatureInfo web3 response --- 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 7b8dd0ef71ac04..9bd4d27d7e7d1f 100644 --- a/web3.js/src/connection.ts +++ b/web3.js/src/connection.ts @@ -2617,6 +2617,8 @@ export type ConfirmedSignatureInfo = { memo: string | null; /** The unix timestamp of when the transaction was processed */ blockTime?: number | null; + /** cluster confirmation status, if data available. Possible responses: `processed`, `confirmed`, `finalized` */ + confirmationStatus?: TransactionConfirmationStatus; }; /** From 9f3928149c2d1076cbf8cf876eb156f290f4ad35 Mon Sep 17 00:00:00 2001 From: amilz <85324096+amilz@users.noreply.github.com> Date: Mon, 24 Oct 2022 09:40:40 -0700 Subject: [PATCH 2/2] Update web3.js/src/connection.ts Co-authored-by: Austin Milt --- web3.js/src/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/src/connection.ts b/web3.js/src/connection.ts index 9bd4d27d7e7d1f..598d908a90e760 100644 --- a/web3.js/src/connection.ts +++ b/web3.js/src/connection.ts @@ -2617,7 +2617,7 @@ export type ConfirmedSignatureInfo = { memo: string | null; /** The unix timestamp of when the transaction was processed */ blockTime?: number | null; - /** cluster confirmation status, if data available. Possible responses: `processed`, `confirmed`, `finalized` */ + /** Cluster confirmation status, if available. Possible values: `processed`, `confirmed`, `finalized` */ confirmationStatus?: TransactionConfirmationStatus; };