[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getUnlockCost](./bitburner.corporation.getunlockcost.md) ## Corporation.getUnlockCost() method Gets the cost to unlock a one time unlockable upgrade **Signature:** ```typescript getUnlockCost(upgradeName: string): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | upgradeName | string | Name of the upgrade | **Returns:** number cost of the upgrade