Get Interest History
get_interest_historyRetrieve your Poloniex margin/lending interest history with optional time range, pagination, and limit filters to track earnings from your account activities.
Instructions
Fetch the account's interest history (margin/lending). Requires POLONIEX_API_KEY and POLONIEX_API_SECRET in the environment.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_interest_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Record id to start the query from (default 0). | |
| limit | No | Number of records to return (default 10, max 100). | |
| endTime | No | End time in epoch milliseconds. | |
| direction | No | Pagination direction relative to `from` (default NEXT). | |
| startTime | No | Start time in epoch milliseconds. |