> For the complete documentation index, see [llms.txt](https://bonsaiswap.gitbook.io/bonsaiswap-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/positionkey.md).

# PositionKey

### Functions[​](https://docs.uniswap.org/contracts/v3/reference/periphery/libraries/PositionKey#functions) <a href="#functions" id="functions"></a>

#### compute[​](https://docs.uniswap.org/contracts/v3/reference/periphery/libraries/PositionKey#compute) <a href="#compute" id="compute"></a>

```solidity
  function compute(
  ) internal returns (bytes32)
```

Returns the key of the position in the core library
