public Task <BigInteger> RentPriceQueryAsync(string name, BigInteger duration, BlockParameter blockParameter = null) { var rentPriceFunction = new RentPriceFunction(); rentPriceFunction.Name = name; rentPriceFunction.Duration = duration; return(ContractHandler.QueryAsync <RentPriceFunction, BigInteger>(rentPriceFunction, blockParameter)); }
public Task <BigInteger> RentPriceQueryAsync(RentPriceFunction rentPriceFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <RentPriceFunction, BigInteger>(rentPriceFunction, blockParameter)); }