@getclave/lifi-sdk
Version:
LI.FI Any-to-Any Cross-Chain-Swap SDK
11 lines • 552 B
TypeScript
import type { ChainId } from '@lifi/types';
import type { Chain, Client, Hash, ReplacementReturnType, TransactionReceipt } from 'viem';
interface WaitForTransactionReceiptProps {
client: Client;
chainId: ChainId;
txHash: Hash;
onReplaced?: (response: ReplacementReturnType<Chain | undefined>) => void;
}
export declare function waitForTransactionReceipt({ client, chainId, txHash, onReplaced, }: WaitForTransactionReceiptProps): Promise<TransactionReceipt | undefined>;
export {};
//# sourceMappingURL=waitForTransactionReceipt.d.ts.map