Functions
getCredentialNfts
getCredentialNfts(
chain
,wallet
,filters
):Promise
<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 | Chain to get the NFTs from |
wallet | string | Wallet address of the user |
filters | CredentialFilter | Filters to select only desired credentials (i.e. credential type, credential issuer) |
Returns
Promise
<CredentialsCollection
[]>
- List CredentialsCollection that match the filters each containing a list of nfts