API ReferenceReact provider and hooksInterface
UseTokenUsdValuesEntry
One token to price for useTokenUsdValues.
Properties
address
address: `0x${string}`;ERC-20 whose balance to price; also the key of the returned
TokenUsdValues map. Its Pyth USD feed is resolved through the
SDK’s batched display-pricing read; a token with no feed comes back as undefined (unknown, not
zero) rather than throwing.
balance?
optional balance?: bigint;Raw on-chain balance. Tokens with 0n/undefined skip the price call.