Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Mention that from_timestamp and to_timestamp are timestamps in seconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii235 committed Jan 28, 2021
1 parent 5ae3551 commit a731614
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/basic-docs/atomicdex/atomicdex-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1832,15 +1832,15 @@ The `my_recent_swaps` method returns the data of the most recent atomic swaps ex

#### Arguments

| Structure | Type | Description |
| -------------- | ------ | ----------------------------------------------------------------------- |
| limit | number | limits the number of returned swaps. The default is `10`. |
| from_uuid | string | MM2 will skip records until this uuid, skipping the `from_uuid` as well; The `from_uuid` approach is convenient for infinite scrolling implementation |
| page_number | number | MM2 will return `limit` swaps from the selected page; This param will be ignored if `from_uuid` is set. |
| my_coin | string | return only swaps, which match the `swap.my_coin = request.my_coin` condition |
| other_coin | string | return only swaps, which match the `swap.other_coin = request.other_coin` condition |
| from_timestamp | string | return only swaps, which match the `swap.started_at >= request.from_timestamp` condition |
| to_timestamp | string | return only swaps, which match the `swap.started_at < request.to_timestamp` condition |
| Structure | Type | Description |
| -------------- | ----------------------------- | ----------------------------------------------------------------------- |
| limit | number | limits the number of returned swaps. The default is `10`. |
| from_uuid | string | MM2 will skip records until this uuid, skipping the `from_uuid` as well; The `from_uuid` approach is convenient for infinite scrolling implementation |
| page_number | number | MM2 will return `limit` swaps from the selected page; This param will be ignored if `from_uuid` is set. |
| my_coin | string | return only swaps, which match the `swap.my_coin = request.my_coin` condition |
| other_coin | string | return only swaps, which match the `swap.other_coin = request.other_coin` condition |
| from_timestamp | number (timestamp in seconds) | return only swaps, which match the `swap.started_at >= request.from_timestamp` condition |
| to_timestamp | number (timestamp in seconds) | return only swaps, which match the `swap.started_at < request.to_timestamp` condition |

#### Response

Expand Down

0 comments on commit a731614

Please sign in to comment.