tifa
February 27, 2023, 9:40am
1
HI
I want to show the price in dollars
my query
query MyQuery {
ethereum(network: bsc) {
address(address: {is: $address}) {
balances {
value
currency {
address
symbol
tokenType
}
value
value_usd: value(in: USD)
}
}
}
}
and result
why value_usd is zero?
Divya
February 27, 2023, 4:08pm
2
It would be helpful if you share the address as well, I can check if it’s a singular issue.
tifa
February 27, 2023, 4:50pm
3
0x3f091ee78186b9f150257575bc117bfe80fc85c8
Divya
February 28, 2023, 10:43am
4
I went through the wallet in the explorer Address 0x3f091ee78186b9f150257575bc117bfe80fc85c8 | Binance Smart Chain Mainnet
Most of the tokens are NFTs, that’s why there is no proper USD conversion. Right now there is only partial support and NFT token data might not be there. We are working on supporting NFTS in the new database.
gaurav
July 13, 2023, 6:43pm
5
Check this query to get USD price of token