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