mirror of
https://github.com/luxfi/lux-api.git
synced 2026-10-30 16:20:47 +00:00
14 lines
681 B
TypeScript
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>;
|