> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getCredentialNfts

> **getCredentialNfts**(`chain`, `wallet`, `filters`): `Promise`\<[`CredentialsCollection`](../interfaces/CredentialsCollection)\[]>

Get all the NFTs of a given user that are verifiable credentials
To use this method an api key with the `credentials.read` scope must have been provided.

## Parameters

| Parameter | Type                                                 | Description                                                                          |
| --------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------ |
| `chain`   | [`VCChain`](../type-aliases/VCChain)                 | Chain to get the NFTs from                                                           |
| `wallet`  | `string`                                             | Wallet address of the user                                                           |
| `filters` | [`CredentialFilter`](../interfaces/CredentialFilter) | Filters to select only desired credentials (i.e. credential type, credential issuer) |

## Returns

`Promise`\<[`CredentialsCollection`](../interfaces/CredentialsCollection)\[]>

* List CredentialsCollection that match the filters each containing a list of nfts

## Defined in

[presentation/getCredentialNfts.ts:18](https://github.com/Crossmint/crossmint-sdk/blob/main/packages/client/verifiable-credentials/src/presentation/getCredentialNfts.ts#L18)
