Releases: vechain-energy/use-vechain
Releases · vechain-energy/use-vechain
0.12.0
useTokens()
now accepts options as object::
{
"usdPrice": "(bool): fetch usd price information and extend the token listing with it"
}
Example: https://use-vechain.tools.vechain.energy/?path=/docs/hooks-usetokens--price
const { tokens } = useTokens({ usdPrice: true });
Tokens contain a new attribute usdPrice
with pricing provided by https://vexchange.io/
big thanks to https://github.com/Yukark for providing the update