public Task <BigInteger> CountShipsQueryAsync(ushort x, ushort y, byte tile, byte[] model, BlockParameter blockParameter = null) { var countShipsFunction = new CountShipsFunction(); countShipsFunction.X = x; countShipsFunction.Y = y; countShipsFunction.Tile = tile; countShipsFunction.Model = model; return(ContractHandler.QueryAsync <CountShipsFunction, BigInteger>(countShipsFunction, blockParameter)); }
public Task <BigInteger> CountShipsQueryAsync(CountShipsFunction countShipsFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <CountShipsFunction, BigInteger>(countShipsFunction, blockParameter)); }