UNPKG

@lido-sdk/helpers

Version:

This project is being slowly deprecated and may not receive further updates. Check out [modern Lido SDK](https://github.com/lidofinance/lido-ethereum-sdk/pulls) to access latest functionality. It is actively maintained and is built for interacting with Li

16 lines (15 loc) 753 B
import { CHAINS } from '@lido-sdk/constants'; export declare enum ETHERSCAN_ENTITIES { Tx = "tx", Token = "token", Address = "address" } export declare type EtherscanEntities = `${ETHERSCAN_ENTITIES}`; export declare const ETHERSCAN_PREFIX_BY_NETWORK: { [key in CHAINS]?: string; }; export declare const getEtherscanPrefix: (chainId: CHAINS) => string; export declare const getEtherscanLink: (chainId: CHAINS, hash: string, entity: EtherscanEntities) => string; export declare const getEtherscanTxLink: (chainId: CHAINS, hash: string) => string; export declare const getEtherscanTokenLink: (chainId: CHAINS, hash: string) => string; export declare const getEtherscanAddressLink: (chainId: CHAINS, hash: string) => string;