spinamp-hooks
  • About
  • Installation
  • Basic usage
  • Reference
    • Hooks reference
      • Tracks
      • Artists
      • Collection
      • NFTs
      • Platforms
      • Playlists
  • spinamp-sdk inheritance
  • Advanced usage
Powered by GitBook
On this page
  1. Reference
  2. Hooks reference

Platforms

PreviousNFTsNextPlaylists

Last updated 2 years ago

usePlatformsQuery(queryOptions?: ): {platforms: [], ...}

Used for querying list of all nft music platforms supported by spinamp.

usePlatformQuery(platformId: string, queryOptions?: ): {platform: | null, ...}

Used for querying nft music platform details based on provided id.

UseQueryOptions
IMusicPlatformData
UseQueryResult
UseQueryOptions
IMusicPlatformData
UseQueryResult