@cryptoscan/meteora-sdk
Version:
The fastest and easiest way to trade on Meteora.
13 lines (12 loc) • 633 B
TypeScript
import { TransferParams } from './types/TransferParams.js';
import { BuyParams } from "./types/BuyParams.js";
import { MeteoraApiParams } from "./types/MeteoraApiParams.js";
import { SellParams } from "./types/SellParams.js";
export declare class MeteoraApi {
protected readonly params: MeteoraApiParams;
constructor(params?: Partial<MeteoraApiParams>);
buy(_params: BuyParams): Promise<string>;
sell(_params: SellParams): Promise<string>;
transfer(_params: TransferParams): Promise<string>;
listenTransactions(address: string, onTransaction: (transaction: Record<string, unknown>) => void): Promise<void>;
}