Fill history as entry/exit events, HL + GMX ($0.01)
trader_historyPAID $0.01 USDC. Hyperliquid userFills plus GMX v2 positionChanges, classified as open/increase/reduce/close with price, size, side, realized PnL. Research only — not investment advice. Returns JSON fills classified as open, increase, reduce, or close, with price, size, side, and realized PnL.
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": {
"address": "<address>"
},
"name": "trader_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum classified fills. Format: positive integer. Example: 50. Omit for the server's current cap. | |
| address | Yes | Wallet whose fills to classify. Format: 0x followed by 40 hex characters. Example: 0x85ecf584f25db6f146718b86d493e33c5af72052. Required. | |
| api_key | No | Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']. |