feat: use pubsub to confirm transactions (#12095)
This commit is contained in:
6
web3.js/module.d.ts
vendored
6
web3.js/module.d.ts
vendored
@ -51,7 +51,7 @@ declare module '@solana/web3.js' {
|
||||
};
|
||||
|
||||
export type ConfirmOptions = {
|
||||
confirmations?: number;
|
||||
commitment?: Commitment;
|
||||
skipPreflight?: boolean;
|
||||
};
|
||||
|
||||
@ -384,8 +384,8 @@ declare module '@solana/web3.js' {
|
||||
getVoteAccounts(commitment?: Commitment): Promise<VoteAccountStatus>;
|
||||
confirmTransaction(
|
||||
signature: TransactionSignature,
|
||||
confirmations?: number,
|
||||
): Promise<RpcResponseAndContext<SignatureStatus | null>>;
|
||||
commitment?: Commitment,
|
||||
): Promise<RpcResponseAndContext<SignatureResult>>;
|
||||
getSlot(commitment?: Commitment): Promise<number>;
|
||||
getSlotLeader(commitment?: Commitment): Promise<string>;
|
||||
getSignatureStatus(
|
||||
|
Reference in New Issue
Block a user