> For the complete documentation index, see [llms.txt](https://spinamp.gitbook.io/spinamp-hooks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spinamp.gitbook.io/spinamp-hooks/reference/hooks-reference/nfts.md).

# NFTs

#### useTrackNftsQuery(trackId: string, queryOptions?: [UseQueryOptions](https://tanstack.com/query/v4/docs/reference/useQuery)): {nfts: [INft](https://spinamp.gitbook.io/spinamp-sdk/reference/api-reference/types#inft)\[], ...[UseQueryResult](https://tanstack.com/query/v4/docs/reference/useQuery)}

Used for querying all NFTs minted for provided track.

#### useTrackNftsOwnersQuery(trackId: string, queryOptions?: [UseQueryOptions](https://tanstack.com/query/v4/docs/reference/useQuery)): {owners: string\[], ...[UseQueryResult](https://tanstack.com/query/v4/docs/reference/useQuery)}

Used for querying addresses of all owners of all NFTs minted for provided track.

#### useArtistNftsQuery(artistId: string, queryOptions?: [UseQueryOptions](https://tanstack.com/query/v4/docs/reference/useQuery)): {nfts: [ITrackNft](https://spinamp.gitbook.io/spinamp-sdk/reference/api-reference/types#itracknft)\[], ...[UseQueryResult](https://tanstack.com/query/v4/docs/reference/useQuery)}

Used for querying all NFTs minted for all tracks created by provided artist.

#### useArtistNftsOwnersQuery(artistId: string, queryOptions?: [UseQueryOptions](https://tanstack.com/query/v4/docs/reference/useQuery)): {owners: string\[], ...[UseQueryResult](https://tanstack.com/query/v4/docs/reference/useQuery)}

Used for querying addresses of all owners of all NFTs minted for tracks created by provided artist.
