예제 #1
0
        public Task <PubkeyOutputDTO> PubkeyQueryAsync(byte[] node, BlockParameter blockParameter = null)
        {
            var pubkeyFunction = new PubkeyFunction();

            pubkeyFunction.Node = node;

            return(ContractHandler.QueryDeserializingToObjectAsync <PubkeyFunction, PubkeyOutputDTO>(pubkeyFunction, blockParameter));
        }
예제 #2
0
 public Task <PubkeyOutputDTO> PubkeyQueryAsync(PubkeyFunction pubkeyFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryDeserializingToObjectAsync <PubkeyFunction, PubkeyOutputDTO>(pubkeyFunction, blockParameter));
 }