feat: use pubsub to confirm transactions (#12095)
This commit is contained in:
@ -64,7 +64,7 @@ declare module '@solana/web3.js' {
|
||||
};
|
||||
|
||||
declare export type ConfirmOptions = {
|
||||
confirmations: ?number,
|
||||
commitment: ?Commitment,
|
||||
skipPreflight: ?boolean,
|
||||
};
|
||||
|
||||
@ -388,8 +388,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