useEtherspotAssets()
A React hook that retuns a list of tokens for developers to use in their project.
Introduction
As part of any cryptocurrency related app, it's essential to be able to access a list of other cryptocurrencies and their asset data (such as asset logo) to use within your app, otherwise you'll likely need to try and find this yourself.
The useEtherspotAssets
hook makes this easy for you by allowing you to access our prebuilt list of tokens for every chain.
Ready-to-fork CodeSandbox available
There is a CodeSandbox available for this hook. Check it out to see the useEtherspotAssets
hook in action action, and fork it should you want to test or change anything.
👉 CodeSandbox directory: Etherspot Assets
How to use
🎉 Congratulations!
Now you know how to fetch a list of popular assets to use in your app instead of having to find a data source of tokens from somewhere else.
Last updated