get_transaction
Fetch a single transaction's full details by its ID, including type, timestamp, and monetary fields.
Instructions
Get the details of a single transaction.
Returns {"transaction": {...}, "lastTransactionID": "..."}. Every
transaction has id, time (RFC3339), and type
(e.g. ORDER_FILL, MARKET_ORDER, ORDER_CANCEL,
DAILY_FINANCING, TRANSFER_FUNDS); the remaining fields depend
on the type. Monetary values (pl, financing, commission,
accountBalance, amount) and units/price are decimal
strings; units is signed (positive = long, negative = short).
Internal bookkeeping fields (request/batch IDs, conversion factors)
are dropped.
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": {
"transaction_id": "<transaction_id>"
},
"name": "get_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes | Transaction ID to look up (numeric string, e.g. '6410'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||