UNPKG

@pushchain/ui-kit

Version:
12 lines (11 loc) 469 B
import { ChainType } from '../../../types/wallet.types'; export declare const chainToNamespace: { EVM: string; SOL: string; }; export declare function fromCAIPFormat(caipAddress: string): { chain: ChainType.ETHEREUM | ChainType.SOLANA | ChainType.BINANCE | ChainType.ARBITRUM | ChainType.AVALANCHE; chainId: string; rawAddress: string; }; export declare function toCAIPFormat(rawAddress: string, chain: ChainType, chainId: number | string): string;