@sen-use/web3
Version:
The library for Sentre
15 lines (14 loc) • 489 B
TypeScript
import { Connection, ParsedTransactionWithMeta } from '@solana/web3.js';
export declare type OptionsFetchSignature = {
limit?: number;
lastSignature?: string;
secondFrom?: number;
secondTo?: number;
};
export declare class SolanaExplorer {
private conn;
constructor(conn: Connection);
private fetchSignatures;
private fetchConfirmTransaction;
fetchTransactions(programId: string, options: OptionsFetchSignature): Promise<ParsedTransactionWithMeta[]>;
}