[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityChaos](./bitburner.bladeburner.getcitychaos.md) ## Bladeburner.getCityChaos() method You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. Returns the chaos in the specified city, or -1 if an invalid city was specified. Signature: ```typescript getCityChaos(name: City): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | name | [City](./bitburner.city.md) | | Returns: number Chaos in the specified city. ## Remarks RAM cost: 4 GB