Get underlying index price
pionex_earn_dual_indexFetches the real-time index price for a Dual Investment underlying asset using base and quote symbols, providing the settlement reference price to check strike status.
Instructions
Get underlying index price
Returns the real-time index price for a Dual Investment underlying asset. Weight: 1.
Both base and quote are required. Works for both USDT and USDXO quoted pairs.
The index price is the reference price used at settlement to determine whether the strike price was hit.
Example request (USDXO pair):
GET /api/v1/earn/dual/index?base=BTC"e=USDXOExample request (USDT pair):
GET /api/v1/earn/dual/index?base=LRC"e=USDTExample response:
{
"result": true,
"data": {
"index": "69142.6",
"base": "BTC",
"quote": "USDXO",
"updateTime": 1775025942486
},
"timestamp": 1775025942754
}Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "<base>",
"quote": "<quote>"
},
"name": "pionex_earn_dual_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency (e.g. `BTC`, `ETH`, `LRC`) | |
| quote | Yes | Quote currency. Use `USDXO` for BTC/ETH pairs; use `USDT` for all other base currencies. |