[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [purchaseTor](./bitburner.singularity.purchasetor.md)
## Singularity.purchaseTor() method
SF4.1 - Purchase the TOR router.
Signature:
```typescript
purchaseTor(): boolean;
```
Returns:
boolean
True if actions is successful, false otherwise.
## Remarks
RAM cost: 2 GB
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.