Import
Usage
Parameters
tokens
Token[]: Array of objects with chainId and contractAddress representing the tokens you’d like prices for.
- For native tokens (e.g., ETH on Ethereum, MATIC on Polygon), set
contractAddresstoZERO_ADDRESS. - For ERC-20 tokens, provide the token’s actual contract address on the specified
chainId.
options
HooksOptions (optional)