'Is there a specific tool or function to scrape lists of the the tokens on a decentralized exchange?
I have been trying all sorts of different API's such as coingecko, coin market cap, DexGuru, I've looked up websites like tokenlist.org and on the dexes themselves.
Initiallly I was just trying to make a list of erc-20 tokens of the fantom network with their symbol and contract address, but now I'd also like to know if the contract is verified or have a script to automate checking the token to see if its a honeypot, or has anything sketchy about it
I'm looking for a out put like this
const ETH = {
symbol:"ETH",
address:'0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
}
const WETH = {
symbol:"WETH",
address:'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
}
const DAI = {
symbol:"DAI",
address:'0x6b175474e89094c44da98b954eedeac495271d0f'
}
const WBTC = {
symbol: 'WBTC',
address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599'
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
