From ee449968b20ad32cf8232d5675f1cc6bd3c2104c Mon Sep 17 00:00:00 2001 From: amilz <85324096+amilz@users.noreply.github.com> Date: Mon, 28 Nov 2022 12:00:40 -0800 Subject: [PATCH] fix: add confirmation status to ConfirmedSignatureInfo web3.js response (#28555) * Add confirmation status to ConfirmedSignatureInfo web3 response * Update web3.js/src/connection.ts Co-authored-by: Austin Milt Co-authored-by: Austin Milt --- 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 ed47b346df964c..c89d03c98fa86d 100644 --- a/web3.js/src/connection.ts +++ b/web3.js/src/connection.ts @@ -2621,6 +2621,8 @@ export type ConfirmedSignatureInfo = { memo: string | null; /** The unix timestamp of when the transaction was processed */ blockTime?: number | null; + /** Cluster confirmation status, if available. Possible values: `processed`, `confirmed`, `finalized` */ + confirmationStatus?: TransactionConfirmationStatus; }; /**