예제 #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));
 }