public Task <BigInteger> GetVotesQueryAsync(string account, BlockParameter blockParameter = null) { var getVotesFunction = new GetVotesFunction(); getVotesFunction.Account = account; return(ContractHandler.QueryAsync <GetVotesFunction, BigInteger>(getVotesFunction, blockParameter)); }
public Task <BigInteger> GetVotesQueryAsync(GetVotesFunction getVotesFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <GetVotesFunction, BigInteger>(getVotesFunction, blockParameter)); }