示例#1
0
        public Task <byte[]> GetIPAddrQueryAsync(string locate, BlockParameter blockParameter = null)
        {
            var getIPAddrFunction = new GetIPAddrFunction();

            getIPAddrFunction.Locate = locate;

            return(ContractHandler.QueryAsync <GetIPAddrFunction, byte[]>(getIPAddrFunction, blockParameter));
        }
示例#2
0
 public Task <byte[]> GetIPAddrQueryAsync(GetIPAddrFunction getIPAddrFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetIPAddrFunction, byte[]>(getIPAddrFunction, blockParameter));
 }