List treasury transactions
list_treasury_transactionsRetrieves ledger transactions for one treasury account, optionally filtered to a start and end date and returned newest first.
Instructions
List one treasury account's ledger transactions in Mercury API desc order, optionally within a day range.
The API has no date filters for this endpoint and documents no sort
key, so with `start` or `end` the whole ledger is walked (up to 200
pages of 1000), filtered on `canonicalDay` here, and sorted newest
first before `limit` applies; `truncated` is then exact. Without a
window the Mercury API `desc` order is returned as is. Use this for
one treasury account's ledger; use `list_transactions` for the
organization's bank-account transactions.
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": {
"entity": "<entity>",
"treasury_id": "<treasury_id>"
},
"name": "list_treasury_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Latest canonicalDay, YYYY-MM-DD (inclusive). | |
| limit | No | Maximum transactions to return (windowed: newest first; else Mercury API desc order). | |
| start | No | Earliest canonicalDay, YYYY-MM-DD (inclusive). | |
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| treasury_id | Yes | Treasury account id from `list_treasury`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||