@drift-labs/sdk
Version:
SDK for Drift Protocol
21 lines • 752 B
TypeScript
export declare enum HeliusPriorityLevel {
MIN = "min",// 25th percentile
LOW = "low",// 25th percentile
MEDIUM = "medium",// 50th percentile
HIGH = "high",// 75th percentile
VERY_HIGH = "veryHigh",// 95th percentile
UNSAFE_MAX = "unsafeMax"
}
export type HeliusPriorityFeeLevels = {
[key in HeliusPriorityLevel]: number;
};
export type HeliusPriorityFeeResponse = {
jsonrpc: string;
result: {
priorityFeeEstimate?: number;
priorityFeeLevels?: HeliusPriorityFeeLevels;
};
id: string;
};
export declare function fetchHeliusPriorityFee(heliusRpcUrl: string, lookbackDistance: number, addresses: string[]): Promise<HeliusPriorityFeeResponse>;
//# sourceMappingURL=heliusPriorityFeeMethod.d.ts.map