using System; using System.Collections.Generic; using Newtonsoft.Json; using Cysharp.Threading.Tasks; using MoralisUnity.Web3Api.Models; namespace MoralisUnity.Web3Api.Interfaces { /// /// Represents a collection of functions to interact with the API endpoints /// public interface IResolveApi { /// /// Resolves an Unstoppable domain and returns the address /// /// /// Domain to be resolved /// The currency to query /// Returns an address UniTask ResolveDomain (string domain, string currency=null); /// /// Resolves an ETH address and find the ENS name /// /// /// The address to be resolved /// Returns an ENS UniTask ResolveAddress (string address); } }