> For the complete documentation index, see [llms.txt](https://docs.irrevocable.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.irrevocable.dev/sdk-reference/ipfs-hash.md).

# IPFS Hash

{% hint style="info" %}
For a reliable IPFS upload use a dedicated client and pass the returned CID to `mintGrantBurnPKP`&#x20;
{% endhint %}

Upload your Lit Action Code to IPFS through your preferred client. If you have already uploaded your Lit Action to IPFS and only need retrieve the CID, invoke `getIPFSHash`.&#x20;

{% code overflow="wrap" fullWidth="true" %}

```typescript
const ipfsCID = await newCircuit.getIPFSHash(litActionCode);
```

{% endcode %}
