mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-10 04:22:05 +10:00
10 lines
338 B
TypeScript
10 lines
338 B
TypeScript
import { BlockhashWithExpiryBlockHeight, Keypair, VersionedTransaction } from "@solana/web3.js";
|
|
|
|
export interface TransactionExecutor {
|
|
executeAndConfirm(
|
|
transaction: VersionedTransaction,
|
|
payer: Keypair,
|
|
latestBlockHash: BlockhashWithExpiryBlockHeight,
|
|
): Promise<{ confirmed: boolean; signature?: string; error?: string }>;
|
|
}
|