The useTokenDetails hook implements the getTokenDetails API, returning the data required to view an NFT.
It is implemented with useQuery from @tanstack/react-query, and returns a UseQueryResult object, allowing you to pass through all @tanstack/react-query options.
Before using them, make sure to obtain a Client API Key from Coinbase Developer Platform.