Get a Perps index price
get_perps_indexFetch the index price for an asset and the constituent prices and weights used to build it.
Instructions
The index price of an asset and the constituent prices and weights it is built from.
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": {
"asset": "<asset>"
},
"name": "get_perps_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Base asset, e.g. BTC or SP500. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||