getPrice
Retrieve the current price for any Stellar asset pair using SDEX orderbook data or recent trades. Specify base and counter assets to get the latest market rate.
Instructions
Get the current price for a Stellar asset pair from SDEX orderbook or recent trades
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseAsset | Yes | Base asset: "XLM" or "CODE:ISSUER" (e.g. "USDC:GA5Z...") | |
| counterAsset | Yes | Counter asset: "XLM" or "CODE:ISSUER" (e.g. "USDC:GA5Z...") |