Files
2024-08-06 15:06:29 +10:00

14 lines
681 B
TypeScript

import { CHAINS } from '@luxfi/common';
import { AxiosRequestConfig } from 'axios';
export declare const getChain: (chainId?: string) => import("@luxfi/common").Chain | null;
export declare const getChainByNetwork: (network?: string | number) => import("@luxfi/common").Chain | null;
export declare const INITIAL_OPENAPI_URL = "https://api.rabby.io";
export declare const INITIAL_TESTNET_OPENAPI_URL = "https://api.testnet.rabby.io/";
export { CHAINS };
export declare function genSignParams(config: AxiosRequestConfig): {
method: any;
url: string;
params: Partial<any>;
};
export declare function sleep(ms?: number, signal?: AbortController['signal']): Promise<void>;