The current version of the app in ValueChange is requesting some prices on DefiLlama.
If the token is NATIVE_TOKEN it will try to call this endpoint https://coins.llama.fi/prices/current/fantom:native_token
On DefiLlama, you have two options
1) use coingecko:<coinGeckoID>
2) use the 0x address directly to get the native token price for a network. In this example, it would be https://coins.llama.fi/prices/current/fantom:0x0000000000000000000000000000000000000000
I don't have the full knowledge of the codebase so probably other part of the codes should be changed.
The current version of the app in
ValueChange
is requesting some prices on DefiLlama.If the token is
NATIVE_TOKEN
it will try to call this endpointhttps://coins.llama.fi/prices/current/fantom:native_token
On DefiLlama, you have two options1) use
coingecko:<coinGeckoID>
2) use the0x
address directly to get the native token price for a network. In this example, it would behttps://coins.llama.fi/prices/current/fantom:0x0000000000000000000000000000000000000000
I don't have the full knowledge of the codebase so probably other part of the codes should be changed.