rubic-sdk-next
Version:
Simplify dApp creation
11 lines (10 loc) • 580 B
TypeScript
import { BlockchainName } from '../../../core/blockchain/models/blockchain-name';
import { CrossChainTradeType } from '../../cross-chain/calculation-manager/models/cross-chain-trade-type';
import { OnChainTradeType } from '../../on-chain/calculation-manager/models/on-chain-trade-type';
/**
*
* @param address
* @param toBlockchain is null when search goes through all chains
* @param crossChainType
*/
export declare function isAddressCorrect(address: string, toBlockchain: BlockchainName | null, crossChainType?: CrossChainTradeType | OnChainTradeType): Promise<boolean>;