UNPKG

wallet-sdk-js

Version:
40 lines (39 loc) 898 B
export declare enum WalletProtocol { metaMask = "metaMask", tronLink = "tronLink", torus = "torus", tokenPocketUTXO = "tokenPocketUTXO", uniSign = "uniSign", walletConnect = "walletConnect" } export declare enum ErrorCode { metaMaskUserRejectedTheRequest = 4001 } export declare enum ChainId { eth = 1, ethHolesky = 17000, bsc = 56, bscTestnet = 97, polygon = 137, polygonMumbai = 80001 } export declare enum CoinType { btc = "0", doge = "3", eth = "60", trx = "195", ckb = "309", bsc = "9006", matic = "966" } export declare const ChainIdToCoinTypeMap: { [key: string]: CoinType; }; export declare enum TronLinkRequestAccountsResponseCode { ok = 200, inQueue = 4000, userRejected = 4001 } export declare const ChainIdToChainInfoMap: { [key: string]: any; };