2022-10-21 17:16:00 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Singularity ](./bitburner.singularity.md ) > [purchaseTor ](./bitburner.singularity.purchasetor.md )
## Singularity.purchaseTor() method
Purchase the TOR router.
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
purchaseTor(): boolean;
```
2023-02-11 19:18:50 +01:00
**Returns:**
2022-10-21 17:16:00 +02:00
boolean
2023-10-03 02:14:44 +02:00
True if action is successful or if you already own TOR router, false otherwise.
2022-10-21 17:16:00 +02:00
## Remarks
RAM cost: 2 GB \* 16/4/1
This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this function is the same as if you were to manually purchase one.