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 <austin.w.milt@gmail.com>

Co-authored-by: Austin Milt <austin.w.milt@gmail.com>
This commit is contained in:
amilz 2022-11-28 12:00:40 -08:00 committed by GitHub
parent ea5bbc8ce0
commit 3922f3d685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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;
};
/**