2021-10-30 12:34:14 -04: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
2022-01-15 18:39:37 -05:00
Purchase the TOR router.
2021-10-30 12:34:14 -04:00
< b > Signature:< / b >
```typescript
purchaseTor(): boolean;
```
< b > Returns:< / b >
boolean
True if actions is successful, false otherwise.
## Remarks
2022-01-15 18:39:37 -05:00
RAM cost: 2 GB \* 16/4/1
2021-11-03 00:27:21 -04:00
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.