Get latest Perps rate
perps_latest_rateRead-only. Get the latest rate of a contract. Use the price as the slippage reference for the order 'price' field before each market order.
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": {
"contractId": "<contractId>"
},
"name": "perps_latest_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | Numeric contract id from perps_list_contracts. 0 is a real contract id, not a placeholder for "unset". |