https://github.com/marksantiago02/token-metadata
This project provides a way to fetch token metadata from the Ethereum Mainnet using different methods, including Alchemy SDK, Node.js Fetch, and Axios. The metadata includes important information such as the token's name, symbol, and logo, which is useful for DeFi apps and analytics platforms that need to display data for multiple tokens.
https://github.com/marksantiago02/token-metadata
alchemy alchemysdk axios metadata node node-fetch token
Last synced: 6 months ago
JSON representation
This project provides a way to fetch token metadata from the Ethereum Mainnet using different methods, including Alchemy SDK, Node.js Fetch, and Axios. The metadata includes important information such as the token's name, symbol, and logo, which is useful for DeFi apps and analytics platforms that need to display data for multiple tokens.
- Host: GitHub
- URL: https://github.com/marksantiago02/token-metadata
- Owner: marksantiago02
- Created: 2024-09-10T04:53:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-10T05:24:50.000Z (over 1 year ago)
- Last Synced: 2025-08-22T05:03:26.348Z (6 months ago)
- Topics: alchemy, alchemysdk, axios, metadata, node, node-fetch, token
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Token-Metadata
This project gets token metadata from Ethereum Mainnet using Alchemy SDK, Node, Axios.
Often when you are a DeFi app aggregating several tokens on your platform (like [Uniswap](https://uniswap.org/)), or an analytics app displaying data about thousands of tokens (like [CoinGecko](https://www.coingecko.com/)) - you need to show the metadata for several tokens. The metadata includes important fields like the token's name, symbol, and logo.
## Alchemy SDK (Recommended)
Alchemy's Token API endpoint getTokenMetadata can come in handy for use-cases like that! We are going to fetch the metadata for the USDT token.
For this particular example, we're going to fetch the metadata for USDT token which has the contract address ``0xdAC17F958D2ee523a2206206994597C13D831ec7``
## Node - Fetch
Optionally we can use Node fetching method for this.
## Axios
Optionally we can use Axios for this.