mirror of
https://github.com/fdundjer/solana-sniper-bot.git
synced 2025-11-09 20:12:06 +10:00
9 lines
327 B
TypeScript
9 lines
327 B
TypeScript
import { BlockhashWithExpiryBlockHeight, Transaction, VersionedTransaction } from '@solana/web3.js';
|
|
|
|
export interface TransactionExecutor {
|
|
executeAndConfirm(
|
|
transaction: Transaction | VersionedTransaction,
|
|
latestBlockhash: BlockhashWithExpiryBlockHeight,
|
|
): Promise<{ confirmed: boolean; signature: string }>;
|
|
}
|