swarm-desktop icon indicating copy to clipboard operation
swarm-desktop copied to clipboard

Do not depend on https://tokenservice.ethswarm.org/token_price

Open Cafe137 opened this issue 5 months ago • 1 comments

https://www.ethswarm.org/get-bzz fetches the price from https://bff.cow.fi/1/tokens/0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb/usdPrice

Another idea is to call the Uniswap smart contract directly to fetch price from chain

Cafe137 avatar Jul 03 '25 08:07 Cafe137

@Kexort More info: it seems the tokenservice endpoint provides the price from the (shut down) bonding curve. Therefor it is stuck at $0.45, which is highly off. This causes inaccurate swap estimations in the Bee Dashboard counterpart of this feature.

Cafe137 avatar Jul 04 '25 09:07 Cafe137