rubic-sdk
Version:
Simplify dApp creation
11 lines (10 loc) • 726 B
TypeScript
import { PriceToken, PriceTokenAmount } from "../../../../../../common/tokens";
import { BlockchainName } from "../../../../../../core/blockchain/models/blockchain-name";
import { RouterCrossChainSupportedBlockchains } from '../constants/router-cross-chain-supported-chains';
export declare class RouterCrossChainUtilService {
private static get tronWeb3Public();
private static get solanaWeb3Public();
static checkAndConvertAddress(blockchain: RouterCrossChainSupportedBlockchains, address: string, _tokenAddress?: string): Promise<string>;
static getTokensAddress(fromToken: PriceTokenAmount, toToken: PriceToken): Promise<[string, string]>;
static getBlockchainId(blockchain: BlockchainName): string;
}