get_user_order_by_oid
Fetch specific order details using order ID and account address to retrieve symbol, size, price, and status information from Hyperliquid trading platform.
Instructions
Fetch details of a specific order by its order ID for a user account.
Parameters:
account_address (str): The Hyperliquid account address (e.g., '0xcd5051944f780a621ee62e39e493c489668acf4d').
oid (int): The order ID to query.
ctx (Context): The MCP context object for accessing server state.
Returns:
str: A JSON string containing the order details, including symbol, size, price, and status.
Returns a JSON string with an error message if the query fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_address | Yes | ||
| oid | Yes |
Input Schema (JSON Schema)
{
"properties": {
"account_address": {
"title": "Account Address",
"type": "string"
},
"oid": {
"title": "Oid",
"type": "integer"
}
},
"required": [
"account_address",
"oid"
],
"type": "object"
}