📄️ Export ledger entries
Export ledger entries records ledger entries to a csv file. May or may not contain a date range - if no date range is provided, list all records for all times. Ledger entries can be exported by: - export ledger entries for a single party for a given asset within a given time range - export ledger entries for a single party for a given asset for all times buf:lint:ignore RPC_RESPONSE_STANDARD_NAME buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
📄️ List ledger entries
Get a list of ledger entries within the given date range. The date range is restricted to a maximum of 5 days. This query requests and sums the number of ledger entries from a given subset of accounts, specified via the 'filter' argument. It returns a time series - implemented as a list of AggregateLedgerEntry structs - with a row for every time the summed ledger entries of the set of specified accounts changes. Each account filter must contain no more than one party ID. At least one party ID must be specified in the from or to account filter. Entries can be filtered by: - the sending account (market ID, asset ID, account type) - receiving account (market ID, asset ID, account type) - sending AND receiving account - transfer type either in addition to the above filters or as a standalone option Note: The date range is restricted to any 5 days. If no start or end date is provided, only ledger entries from the last 5 days will be returned. If a start and end date are provided, but the end date is more than 5 days after the start date, only data up to 5 days after the start date will be returned. If a start date is provided but no end date, the end date will be set to 5 days after the start date. If no start date is provided, but the end date is, the start date will be set to 5 days before the end date.