# 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.
