Transaction API
Contains all endpoints regarding transactions. This includes different transaction types like withdrawals.
Fetch transactions
GET
https://api.aquanow.io/accounts/v1/transaction
Fetches the transactions given by the query parameters associated to the authorized user.
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
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
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.
Request a crypto withdrawal
POST
https://api.aquanow.io/accounts/v1/transaction
To view example requests for this endpoint, visit Aquanow's Postman documentation.
Headers
x-api-key*
String
{{x-api-key}}
API Auth Key
x-signature*
String
49c6260c194f4d7ed5cb917dc70b9821673246b2abc1cf28f05df6a75fd24181e00f8e57b321d15ae45db58b3bffe27a
Signature created using your API secret
x-nonce*
Number
1618307861949
Timestamp in millisecond
Content-Type*
String
application/json
Request Body
symbol*
String
e.g., BTC
All uppercase letters, the crypto currency you are withdrawing.
address*
String
Destination address you are withdrawing to.
quantity*
Number
Quantity you wish to withdraw.
NOTE: You must have sufficient funds to be able to withdraw.
transactionType*
String
e.g., WITHDRAW
Type of transaction.
NOTE: Currently, we only support WITHDRAW
requests
currencyTag
String
Additional address property (Tag/Memo) that allows identifying the transfer beneficiary or destination for a transaction.
tag
String
Additional reference id that you can send with a withdrawal request.
networkType
String
e.g., ETH
Specify a networkType
for symbols that support multiple networks.
One of ETH
, TRON
,XLM
, FTM
, MATIC
NOTE: Only applicable to USDT, USDC, MATIC, and FTM coins.
message
String
Additional field to add any messages/notes.
status
String
e.g., DONE
Denotes the status of the withdrawal. Can be one of DONE
or PROCESSING
txHash
String
e.g.,70a867671a6e01e91f5888d800d3978e2ec9aec6770740572a0a485b7d4b6629
Specify the txHash
(transactions hash) for transactions that are DONE
NOTE: This does not create a new transaction on the blockchain.
Returns a TransactionObject.
Last updated