import type { Rpc, RpcSubscriptions, SolanaRpcApi, SolanaRpcSubscriptionsApi } from "@solana/kit"; import { type GetComputeUnitsFn } from "./getComputeUnits"; import { SendTransactionFn, SendTransactionWithSenderFn, type BroadcastTransactionFn, type CreateSmartTransactionFn, type PollTransactionConfirmationFn, type SendSmartTransactionFn } from "./types"; import { GetPriorityFeeEstimateFn } from "../rpc/methods/getPriorityFeeEstimate"; /** * Transaction helper methods available on `helius.tx`. * * Provides utilities for simulating compute units, building smart * transactions with automatic priority fees, sending via the Helius * sender infrastructure, and polling for confirmations. */ export interface TxHelpersLazy { /** Simulate a transaction and return the compute units consumed. */ getComputeUnits: GetComputeUnitsFn; /** Poll the RPC until a transaction reaches the desired confirmation status. */ pollTransactionConfirmation: PollTransactionConfirmationFn; /** Submit a base-64 wire transaction and poll until confirmed. */ broadcastTransaction: BroadcastTransactionFn; /** Build, simulate, and sign a smart transaction with automatic compute budget and priority fees. */ createSmartTransaction: CreateSmartTransactionFn; /** Build, sign, send, and confirm a smart transaction in one call. */ sendSmartTransaction: SendSmartTransactionFn; /** Build and send a transaction via the Helius sender infrastructure (SWQOS). */ sendTransactionWithSender: SendTransactionWithSenderFn; /** Send a pre-signed transaction (any supported format). */ sendTransaction: SendTransactionFn; } export declare const makeTxHelpersLazy: (rpc: Rpc, getPriorityFeeEstimate: GetPriorityFeeEstimateFn, rpcSubscriptions?: RpcSubscriptions) => TxHelpersLazy; //# sourceMappingURL=client.d.ts.map