UNPKG

@getclave/lifi-sdk

Version:

LI.FI Any-to-Any Cross-Chain-Swap SDK

83 lines 2.25 kB
import type { LiFiStep } from '@lifi/types'; export declare const mockChainsResponse: { key: string; chainType: string; name: string; coin: string; id: number; mainnet: boolean; logoURI: string; tokenlistUrl: string; faucetUrls: string[]; multicallAddress: string; metamask: { chainId: string; blockExplorerUrls: string[]; chainName: string; nativeCurrency: { name: string; symbol: string; decimals: number; }; rpcUrls: string[]; }; nativeToken: { address: string; chainId: number; symbol: string; decimals: number; name: string; priceUSD: string; logoURI: string; coinKey: string; }; }[]; export declare const mockTransactionRequest: { transactionRequest: { data: string; to: string; value: string; from: string; chainId: number; gasPrice: string; gasLimit: string; }; }; export declare const mockStatus: { status: string; receiving: boolean; sending: { amount: string; gasAmount: string; gasAmountUSD: string; gasPrice: string; gasToken: string; gasUsed: string; }; }; export declare const mockStepTransactionWithTxRequest: (step?: LiFiStep) => { transactionRequest: { transactionRequest: { data: string; to: string; value: string; from: string; chainId: number; gasPrice: string; gasLimit: string; }; }; type: "lifi"; includedSteps: import("@lifi/types").Step[]; id: string; action: import("@lifi/types").Action | import("@lifi/types").CallAction; estimate: import("@lifi/types").Estimate; tool: import("@lifi/types").StepTool; toolDetails: import("@lifi/types").StepToolDetails; integrator?: string | undefined; referrer?: string | undefined; executionType?: import("@lifi/types").ExecutionType | undefined; transactionId?: string | undefined; typedData?: import("@lifi/types").TypedData[] | undefined; }; //# sourceMappingURL=execution.unit.mock.d.ts.map