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

NameTypeDescription

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

NameTypeDescription

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.01,
      "sourceAddress": "bc1qxk904wl2urmfpapnf875wy5f3ns682xtxg6vqq",
      "networkType": "btc",
      "isAutopilotAddress": false,
      "accountId": "CA1000051R",
      "bankInfo": {},
      "originUser": "helloWorldUser",
      "txId": "185fb322-ee9a-49dc-8a22-fc9c7357e426",
      "symbol": "BTC",
      "txHash": "60d68a8f2edd770f913c41cce4bb44c73feb31fc69c6833105a6001dddab4410",
      "createdAt": 1712611540332,
      "address": "bc1q8k5508tfz299v7ywxj8j4g4p9hkn6n06xndv0d",
      "transactionType": "WITHDRAW",
      "dateSigned": 1712613947184,
      "updatedAt": 1712613967137,
      "networkFee": 2.1e-7,
      "username": "helloWorld",
      "itemDateTime": 1712611540325,
      "adminApproval": "DONE"
  },
  {
      "quantity": 0.9,
      "sourceAddress": "0x2E4b48f88Fb1a0A79B6173C53dAd5678dC894B59",
      "networkType": "eth",
      "isAutopilotAddress": false,
      "accountId": "CA1000049R",
      "bankInfo": {},
      "originUser": "helloWorldUser",
      "txId": "316eb842-2686-49ea-9835-572797ac472b",
      "symbol": "ETH",
      "txHash": "0x133bf0a2c26126b87493101443cccee0ceab7e5d34a853d75888a95708816ad4",
      "createdAt": 1710968046176,
      "address": "0xEE506212EE33ac1ac66D56e9Ea5D5866e8C7168e",
      "transactionType": "WITHDRAW",
      "dateSigned": 1712614282865,
      "updatedAt": 1712614287013,
      "networkFee": 0.09,
      "username": "helloWorld",
      "itemDateTime": 1710968046174,
      "adminApproval": "DONE"
  },
]

Last updated