Get Transactions

Queries the transactions given by the query parameters associated to the authorized user.

Query Transactions

GET https://api.aquanow.io/accounts/v1/transaction

To view example requests for this endpoint, visit Aquanow's Postman documentation.

Possible query parameter combinations: These are the only combinations that are currently supported. limit can be added to any of the combinations below. - txId

-tag - txHash -address + (startTime + endTime) optional

-startTime + endTime

-transactionType If the combination of the query parameters does not match one of the above, a generic 500 response will be returned.

Query Parameters

Name
Type
Description

limit

Number

e.g.,2

Limit the number of listed transactions. Must not be greater than 1000.

transactionType

String

e.g., Withdraw Filter by a supported transaction type.

One of Conversion, Credit, Debit, Deposit, Internal_Credit, Internal_Debit, Withdraw

startTime

Number

e.g., 1569533825636

UTC timestamp in milliseconds. Specify the start time of transactions. If this is specified, endTime needs to be specified as well.

endTime

Number

e.g., 1572976325459

UTC timestamp in milliseconds. Specify the end time of transactions.

If this is specified, startTime needs to be specified as well.

txId

String

e.g., 04cbakkdb3-795f-41fb-a70e-5df278cc4386

Specify the txId if you wish to get a single transaction by its ID. Not to be confused with txHash.

txHash

String

e.g.,70a867671a6e01e91f5888d800d3978e2ec9aec6770740572a0a485b7d4b6629

Specify the txHash (transactions hash) to get the corresponding transactions.

NOTE: This will only grab a transaction hash if it is a txHash associated with one of your transactions. It does NOT grab blockchain transaction hash data.

address

String

e.g., 0x25F437f5fb89743D8bEccce3d348e898944DA832

Specify the associated address to get the corresponding transactions. You can optionally add startTime and endTime as well.

tag

String

e.g., client

Specify the tag to get the corresponding transactions.

Headers

Name
Type
Description

x-api-key*

String

{{x-api-key}}

API Auth Key

x-signature*

String

32c92460f65cbb78d0eaf9a4361fb6b0a2bb8bb4c40f531e9974a0afc12d9a328b5ff621a544d242ee9ba1dfa799c85a

Signature created using your API secret

x-nonce*

String

1657731573930

Timestamp in millisecond

Returns an array of TransactionObject.

[
  {
    "quantity": 0.005,
    "symbol": "BTC",
    "txHash": "3e9839efd0e8b92631648f06c2c32e724b87af194ca05f5a0bbeccc6cbbad98b",
    "updatedAt": 1569964868510,
    "createdAt": 1569964868510,
    "username": "helloWorld",
    "address": "CD7iJgfC1BF1a26LuTxAuQ35E5TSPsTsDr",
    "itemDateTime": 1569964868509,
    "transactionType": "WITHDRAW",
    "adminApproval": "DONE"
  },
  {
    "quantity": 0.004,
    "symbol": "BTC",
    "txHash": "a302e62611fc2f3b6736e63eb9f034f45819abe750719693d033209841552b5a",
    "updatedAt": 1569975516918,
    "createdAt": 1569975516918,
    "username": "helloWorld",
    "address": "CD7iJgfC1BF1a26LuTxAuQ35E5TSPsTsDr",
    "itemDateTime": 1569975516917,
    "transactionType": "WITHDRAW",
    "adminApproval": "DONE"
  }
]

Last updated