list_transactions
Get a list of transactions belonging to the wallet.
Parameters
category
: (string) [optional] Filter results by category.SEND
orRECEIVE
.currency
: (string) [optional] Filter results by currency.limit
: (int) [optional] Limit results per request. Between 1 and 200. Default 50.sort
: (string) [optional] Sorting method of results;oldest
- Oldest first (Default)newest
- Newest first
marker
: (string) [optional] The transactionguid
to start loading results from. Useful when you are making sequential requests to get data sets larger then thelimit
. It should be set to the last transactionguid
in the previous request. If the previous request contained no results or less results than thelimit
, you are at the end of the data set. If used, all other parameters should be the same as the previous request.
Returns
An array of transaction objects
.
Example
Request
{
"id": 1,
"jsonrpc": "2.0",
"method": "list_transactions",
"params": {
"limit": 200,
}
}
Response
{
"id": 1,
"jsonrpc": "2.0",
"result": [
<TRANSACTION_OBJECT>,
<TRANSACTION_OBJECT>,
...
],
}