- Preparing search index...
- The search index is not available
rubic-sdk
Class RouterCrossChainUtilService
Hierarchy
- RouterCrossChainUtilService
Methods
Static
checkAndConvertAddress
- checkAndConvertAddress(blockchain: "ETH" | "BSC" | "POLYGON" | "POLYGON_ZKEVM" | "AVALANCHE" | "FANTOM" | "ARBITRUM" | "AURORA" | "OPTIMISM" | "BOBA" | "METIS" | "ZK_SYNC" | "LINEA" | "BASE" | "MANTLE" | "MANTA_PACIFIC" | "SCROLL" | "BLAST" | "ROOTSTOCK" | "MODE" | "XLAYER" | "TAIKO" | "TRON", address: string, _tokenAddress?: string): Promise<string>
-
Parameters
-
blockchain: "ETH" | "BSC" | "POLYGON" | "POLYGON_ZKEVM" | "AVALANCHE" | "FANTOM" | "ARBITRUM" | "AURORA" | "OPTIMISM" | "BOBA" | "METIS" | "ZK_SYNC" | "LINEA" | "BASE" | "MANTLE" | "MANTA_PACIFIC" | "SCROLL" | "BLAST" | "ROOTSTOCK" | "MODE" | "XLAYER" | "TAIKO" | "TRON"
-
address: string
-
Optional
_tokenAddress: string
Returns Promise<string>
Static
checkAtaAddress
- checkAtaAddress(walletAddress: string, tokenAddress: string): Promise<void>
-
Parameters
-
walletAddress: string
-
tokenAddress: string
Returns Promise<void>