UNPKG

@solsdk/keystone_sdk

Version:

SDK for Keystone Protocol

12 lines 481 B
import { SolanaPriorityFeeResponse } from './solanaPriorityFeeMethod'; import { PriorityFeeStrategy } from './types'; declare class EwmaStrategy implements PriorityFeeStrategy { private halfLife; /** * @param halfLife The half life of the EWMA in slots. Default is 25 slots, approx 10 seconds. */ constructor(halfLife?: number); calculate(samples: SolanaPriorityFeeResponse[]): number; } export { EwmaStrategy }; //# sourceMappingURL=ewmaStrategy.d.ts.map