pumpdotfun-repumped-sdk
Version:
Pumpfun SDK — create, buy, sell tokens with support for Jito bundles and multiple relayer integrations. Rebuilt and fixed pumpdotfun-sdk.
16 lines • 912 B
TypeScript
import { PumpFunSDK } from "../PumpFunSDK.js";
import { Commitment, Keypair, PublicKey, VersionedTransaction } from "@solana/web3.js";
import { PriorityFee, Region } from "../pumpFun.types.js";
export declare class SlotModule {
private sdk;
private key;
constructor(sdk: PumpFunSDK, region: Region, key: string);
SLOT_ACCOUNTS: PublicKey[];
private getRandomAccount;
buy(buyer: Keypair, mint: PublicKey, buyAmountSol: bigint, slippageBasisPoints?: bigint, tip?: number, priorityFees?: PriorityFee, commitment?: Commitment): Promise<string>;
sell(seller: Keypair, mint: PublicKey, sellTokenAmount: bigint, slippageBasisPoints?: bigint, tip?: number, priorityFees?: PriorityFee, commitment?: Commitment): Promise<string>;
private addTip;
ping(): Promise<string>;
sendTransaction(vertionedTx: VersionedTransaction): Promise<string>;
}
//# sourceMappingURL=SlotModule.d.ts.map