UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

16 lines (15 loc) 422 B
import type { Chain } from '@lifi/sdk'; type TransactionLinkProps = { chain?: Chain | number; } & ({ txHash: string; txLink?: never; } | { txHash?: never; txLink: string; }); export declare const useExplorer: () => { getTransactionLink: ({ txHash, txLink, chain, }: TransactionLinkProps) => string | undefined; getAddressLink: (address: string, chain?: Chain | number) => string; }; export {};