@getclave/lifi-sdk
Version:
LI.FI Any-to-Any Cross-Chain-Swap SDK
12 lines • 624 B
TypeScript
import type { ChainId, ExtendedChain } from '@lifi/types';
import type { Address, Chain, Client } from 'viem';
export declare const convertExtendedChain: (chain: ExtendedChain) => Chain;
export declare function isExtendedChain(chain: any): chain is ExtendedChain;
export declare const getMaxPriorityFeePerGas: (client: Client) => Promise<bigint | undefined>;
export declare const getMulticallAddress: (chainId: ChainId) => Promise<Address | undefined>;
export declare const retryDelay: ({ count }: {
count: number;
error: Error;
}) => number;
export declare const retryCount = 30;
//# sourceMappingURL=utils.d.ts.map