-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Description
Context
I am using the folllowing endpoints to pull data for volume
- DEXes - https://api.llama.fi/overview/dexs?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true&dataType=dailyVolume
- Derivatives - https://api.llama.fi/overview/derivatives?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true
Problem
Inside each protocol that contains the volume data there are two fields I am using. One is chains
to get the list of available blockchains, the other is breakdown24h
. I have noticed that some names in chains
don't have a direct mapping (even using lower casing) to their counterparts in breakdown24h
. The following image shows and example for the opBNB
chain
I have also detect some additional inconsistencies that I am sharing in the following mapping
mapping = {
"opBNB": "op_bnb",
"Gnosis": "xdai",
"ZKsync Era": "era",
"Cronos zkEVM": "cronos_zkevm",
"Polygon zkEVM": "polygon zkevm",
"X Layer": "xlayer",
"Avalanche": "avax",
"ZetaChain": "zeta",
}
Questions
- Why does this inconsistency exists?
- Is there any endpoint that I can use to resolve them?
Thank you
Metadata
Metadata
Assignees
Labels
No labels