UNPKG

@skeet-framework/solana-utils

Version:

Skeet Framework Plugin - Solana Utils

12 lines (11 loc) 686 B
import { Connection, TransactionInstruction, VersionedTransaction } from '@solana/web3.js'; import { PriorityLevel } from './priorityFee'; export declare const getTestVersionedTxResult: (connection: Connection, fromWalletKeyString: string, instructions: TransactionInstruction[], priorityFee?: PriorityLevel) => Promise<{ testVersionedTx: VersionedTransaction; estimatedFee: number; simulationResult: import("@solana/web3.js").RpcResponseAndContext<import("@solana/web3.js").SimulatedTransactionResponse>; latestBlockhashAndContext: import("@solana/web3.js").RpcResponseAndContext<Readonly<{ blockhash: string; lastValidBlockHeight: number; }>>; }>;