public async Task <string> GetTokenownerKey([FromQuery] string publickey) { NFTTypesRegisterer.RegisterTypes(); WAction walletservice = new WAction(); var result = await walletservice.ShowNFTOwner("NFTtest", publickey); return(result); }
static async Task Main(string[] args) { var config = new SdkConfig(Utils.ApiUrl); var client = new Client(config); var _generalClient = new GeneralApi(client); // Ver2 implements module system. To enable modules, register is required. NFTTypesRegisterer.RegisterTypes(); //string txID_1 = await CreateNFTTable(client); //string txID_2 = await NFTgenerate(client); //string txID_3 = await NFTSend(client); await ShowNFT(client); //Console.WriteLine($"txid={txID_1}"); //Console.WriteLine($"txid={txID_2}"); //Console.WriteLine($"txid={txID_3}"); Console.WriteLine("Press enter to exit"); Console.ReadLine(); }