List transactions
list_transactionsEvery event of a tax year, in time order, a page at a time (pass the page's
after for the next): what it moved, how it was read, what the report made of it,
the types the user may say it was (set_transaction_type), the user's note on its
transaction; a prediction market's share with its market's result. Narrow by a source
(a chain or exchange tag), a UTC month, an asset's symbol, a word, or the kind of
transaction it is (station: trades, own moves between the user's own places,
transfers, income, positions, bridges, fees, other).
Refused while the account's history is still being read: see get_tax_reports.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": {
"year": "<year>"
},
"name": "list_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Only the events this word is found in. Left out: no search. | |
| year | Yes | The tax year, as the number get_tax_reports gives in ``tax_year``: a year that does not start in January is named by the year it starts in. | |
| after | No | Where the page starts: 0 for the first page, then the ``after`` the page before gave. | |
| asset | No | Only the events that move this asset, by its symbol (``ETH``). Left out: every asset. | |
| month | No | Only one month of the year, by UTC. Left out: the whole year. | |
| client | No | An account this user may read as its accountant (a client's ``user_id`` from list_clients). Left out: their own account, which is every private user's case. | |
| source | No | Only the events of one source: the source's tag, as list_transactions gives it in ``source``: a chain's (``ethereum``) or an exchange's. Left out: every source. | |
| station | No | Only one kind of transaction: trades, own moves between the user's own places, transfers, income, positions, bridges, fees or other. Left out: every kind. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| total | Yes | ||
| assets | Yes | ||
| events | Yes | ||
| unnamed | Yes |