Skip to main content

list_transactions

Get a list of transaction belonging to the wallet.

Parameters

  • category: (string) [optional] Filter results by category. SEND or RECEIVE.
  • 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, newest - Newest first. Default oldest.
  • marker: (string) [optional] The transaction guid to start loading results from. Useful when you are making sequential requests to get data sets larger then the limit. It should be set to the last transaction guid in the previous request. If the previous request contained no results or less results than the limit, 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>,
...
],
}