<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [getPurchaseNodeCost](./bitburner.hacknet.getpurchasenodecost.md) ## Hacknet.getPurchaseNodeCost() method Get the price of the next hacknet node. <b>Signature:</b> ```typescript getPurchaseNodeCost(): number; ``` <b>Returns:</b> number Cost of purchasing a new Hacknet Node. ## Remarks RAM cost: 0 GB Returns the cost of purchasing a new Hacknet Node.