@apexfusionfoundation/blockfrost-js
Version:
A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API
13 lines (12 loc) • 359 B
TypeScript
import Bottleneck from 'bottleneck';
export interface RateLimiterConfig {
size: number;
increaseInterval: number;
increaseAmount: number;
}
export declare const RATE_LIMITER_DEFAULT_CONFIG: {
size: number;
increaseInterval: number;
increaseAmount: number;
};
export declare const getLimiter: (config: RateLimiterConfig) => Bottleneck;