get_token_price
Fetch USD prices for tokens and native assets on supported chains using DefiLlama data, ideal for quick price lookups without wallet simulation.
Instructions
Fetch the USD price of a token via DefiLlama. Pass token: "native" for the chain's native asset (ETH on ethereum/arbitrum, MATIC on polygon) or an ERC-20 contract address. Prefer this over get_swap_quote for pure price lookups — no wallet or liquidity simulation needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| token | Yes |