getLPPayTokenPrice
Query current USD prices for payment tokens. Batch requests enable calculating stake values in USD.
Instructions
Query current USD prices for one or more payment tokens. Supports batch queries to get multiple token prices in a single request.
Use this to calculate USD value of stake amounts or show price info to users.
Agent hint: Use this endpoint to get token prices for calculating stake values in USD. Can query multiple tokens at once by passing an array of tokenCode values. Useful for showing users the USD value of their stake before confirming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenCode | Yes | ||
| chainCode | No |