public Task <byte[]> MakeCommitmentQueryAsync(string name, string owner, byte[] secret, BlockParameter blockParameter = null)
        {
            var makeCommitmentFunction = new MakeCommitmentFunction();

            makeCommitmentFunction.Name   = name;
            makeCommitmentFunction.Owner  = owner;
            makeCommitmentFunction.Secret = secret;

            return(ContractHandler.QueryAsync <MakeCommitmentFunction, byte[]>(makeCommitmentFunction, blockParameter));
        }
 public Task <byte[]> MakeCommitmentQueryAsync(MakeCommitmentFunction makeCommitmentFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <MakeCommitmentFunction, byte[]>(makeCommitmentFunction, blockParameter));
 }