fix: add support for getConfirmedSignaturesForAddress2 RPC method
This commit is contained in:
12
web3.js/module.d.ts
vendored
12
web3.js/module.d.ts
vendored
@ -50,6 +50,11 @@ declare module '@solana/web3.js' {
|
||||
skipPreflight?: boolean;
|
||||
};
|
||||
|
||||
export type ConfirmedSignaturesForAddress2Options = {
|
||||
before?: TransactionSignature;
|
||||
limit?: number;
|
||||
};
|
||||
|
||||
export type TokenAccountsFilter =
|
||||
| {
|
||||
mint: PublicKey;
|
||||
@ -87,6 +92,13 @@ declare module '@solana/web3.js' {
|
||||
confirmations: number | null;
|
||||
};
|
||||
|
||||
export type ConfirmedSignatureInfo = {
|
||||
signature: string;
|
||||
slot: number;
|
||||
err: TransactionError | null;
|
||||
memo: string | null;
|
||||
};
|
||||
|
||||
export type BlockhashAndFeeCalculator = {
|
||||
blockhash: Blockhash;
|
||||
feeCalculator: FeeCalculator;
|
||||
|
Reference in New Issue
Block a user