@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
8 lines • 819 B
TypeScript
import type { CryptoCurrency, ExplorerView } from "@ledgerhq/types-cryptoassets";
import type { TokenAccount, Account } from "@ledgerhq/types-live";
export declare const getDefaultExplorerView: (currency: CryptoCurrency) => ExplorerView | undefined;
export declare const getTransactionExplorer: (explorerView: ExplorerView | undefined, txHash: string) => string | undefined;
export declare const getAddressExplorer: (explorerView: ExplorerView | undefined, address: string) => string | undefined;
export declare const getAccountContractExplorer: (explorerView: ExplorerView | undefined, account: TokenAccount, parentAccount: Account) => string | undefined;
export declare const getStakePoolExplorer: (explorerView: ExplorerView | undefined, poolId: string) => string | undefined;
//# sourceMappingURL=explorers.d.ts.map