[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getBlackOpRank](./bitburner.bladeburner.getblackoprank.md)
## Bladeburner.getBlackOpRank() method
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.
Returns the rank required to complete this BlackOp.
Returns -1 if an invalid action is specified.
Signature:
```typescript
getBlackOpRank(name: BladeburnerBlackOps): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of BlackOp. Must be an exact match. |
Returns:
number
Rank required to complete this BlackOp.
## Remarks
2 GB