public Task <BigInteger> GetPastVotesQueryAsync(string account, BigInteger blockNumber, BlockParameter blockParameter = null) { var getPastVotesFunction = new GetPastVotesFunction(); getPastVotesFunction.Account = account; getPastVotesFunction.BlockNumber = blockNumber; return(ContractHandler.QueryAsync <GetPastVotesFunction, BigInteger>(getPastVotesFunction, blockParameter)); }
public Task <BigInteger> GetPastVotesQueryAsync(GetPastVotesFunction getPastVotesFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <GetPastVotesFunction, BigInteger>(getPastVotesFunction, blockParameter)); }