Ejemplo n.º 1
0
        public Task <string> CheckSignatureQueryAsync(byte[] hash, byte[] r, byte[] s, byte v, BlockParameter blockParameter = null)
        {
            var checkSignatureFunction = new CheckSignatureFunction();

            checkSignatureFunction.Hash = hash;
            checkSignatureFunction.R    = r;
            checkSignatureFunction.S    = s;
            checkSignatureFunction.V    = v;

            return(ContractHandler.QueryAsync <CheckSignatureFunction, string>(checkSignatureFunction, blockParameter));
        }
Ejemplo n.º 2
0
 public Task <string> CheckSignatureQueryAsync(CheckSignatureFunction checkSignatureFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <CheckSignatureFunction, string>(checkSignatureFunction, blockParameter));
 }