• Given a token id, address, or the const string 'native' return a TokenId representing either the token itself or the wrapped version

    Type Parameters

    • N extends "Mainnet" | "Testnet" | "Devnet"

    • C extends "Solana" | "Algorand" | "Near" | "Sui" | "Aptos" | "Btc" | "Acala" | "Arbitrum" | "Aurora" | "Avalanche" | "Base" | "Bsc" | "Celo" | "Ethereum" | "Fantom" | "Gnosis" | "Karura" | "Klaytn" | "Moonbeam" | "Neon" | "Oasis" | "Optimism" | "Polygon" | "Rootstock" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "Terra" | "Terra2" | "Injective" | "Osmosis" | "Pythnet" | "Xpla" | "Sei" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension"

    Parameters

    Returns [boolean, TokenId<C>]

Generated using TypeDoc