Transactions API
Transactions data
POST
https://api.flatqube.io/v1/transactions
This function needs to get Transactions data of a certain user filtered by required parameters. It can be used anywhere where a list of transactions should be shown and filtered using body parameters.
Request parameters
Body required. Data used for Postman tests:
Field name | Example value | Comment |
---|---|---|
|
| Date time in UNIX format to filter all transaction that were created after or during that date time |
|
| Date time in UNIX format to filter all transaction that were created before or during that date time |
|
| Root address of the left currency in transaction pair |
|
| Root address/addresses of a right currency in transaction pair |
|
| Type of the transaction (swap, add, remove) |
|
| Amounts that are greater or equal to the given value of the left transaction pair |
|
| Amounts that are less or equal to the given value of the left transaction pair |
|
| Amount limitation |
|
| |
|
| Order transactions by time ascending or descending |
|
| Address of the pair’s pool |
|
| Amounts that are greater or equal to the given value of the right transaction pair |
|
| Amounts that are less or equal to the given value of the right transaction pair |
|
| Filter timestamp of the blocks that are greater or equal to this value |
|
| Filter timestamp of the blocks that are less or equal to this value |
|
| Filter transactions with total value greater than or equal to this value |
|
| Filter transactions with total value less than or equal to this value |
|
| Address of the user initiating transactions |
|
| Path to a white list |
Response explanation
Field name | Example value | Comment |
---|---|---|
| 10 | Amount of transactions shown per page |
| 0 | |
| 4132 | Number of all transactions required |
| - | Date time in UNIX format of transaction formation |
|
| Date time in UNIX format of transaction formation |
|
| Type of transaction (swap, add, remove) |
|
| Transaction fee |
|
| Currency of the transaction fee |
|
| Left pair currency |
|
| Left pair root address |
|
| Left pair value |
|
| Hash code of the transaction message |
|
| Address of the pair’s pool |
|
| Right pair currency |
|
| Right pair root address |
|
| Right pair value |
|
| Date time of block formation |
|
| Hash of the transaction |
|
| Total value in transaction (in USD) |
|
| Address of the user that created the transaction |
Example
Last updated