ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
23 lines (22 loc) • 864 B
TypeScript
import { BigNumber } from 'ethers';
import { UFOConfig } from './types';
export declare class ufoInfoSDK {
private ethProvider;
private beamProvider;
private ufoConfig;
private netType;
constructor(ufoConfig: UFOConfig, netType: string);
private getMultiCallParams;
getInfoOfEth(address: string): Promise<any>;
getInfoOfMatic(address: string): Promise<any>;
private getBalanceInfo;
getNFTContractInfo(nftAddr: string, nftType?: string): Promise<any>;
getWeaponPrice(tokenType: number, factoryAddr: string): Promise<BigNumber>;
getGenesisNftBeamPrice(factoryAddr: string): Promise<string>;
/**
* already minted nft count for checking price in 3000 and 7000
* @param factoryAddr : supergalatic factory address
* @returns
*/
getAlreadyMintedNftCount(factoryAddr: string): Promise<string>;
}