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
Name | Type | Description |
---|---|---|
limit | Number | e.g., Limit the number of listed transactions. Must not be greater than 1000. |
transactionType | String | e.g., One of |
startTime | Number | e.g., UTC timestamp in milliseconds. Specify the start time of transactions. If this is specified, |
endTime | Number | e.g., UTC timestamp in milliseconds. Specify the end time of transactions. If this is specified, |
txId | String | e.g., Specify the |
txHash | String | e.g., Specify the NOTE: This will only grab a transaction hash if it is a |
address | String | e.g., Specify the associated address to get the corresponding transactions. You can optionally add |
tag | String | e.g., Specify the tag to get the corresponding transactions. |
Headers
Name | Type | Description |
---|---|---|
x-api-key* | String |
API Auth Key |
x-signature* | String |
Signature created using your API secret |
x-nonce* | String |
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
Name | Type | Description |
---|---|---|
x-api-key* | String |
API Auth Key |
x-signature* | String |
Signature created using your API secret |
x-nonce* | Number |
Timestamp in millisecond |
Content-Type* | String |
|
Request Body
Name | Type | Description |
---|---|---|
symbol* | String | e.g., 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., Type of transaction. NOTE: Currently, we only support |
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., One of NOTE: Only applicable to USDT, USDC, MATIC, and FTM coins. |
message | String | Additional field to add any messages/notes. |
status | String | e.g., |
txHash | String | e.g., Specify the NOTE: This does not create a new transaction on the blockchain. |
Returns a TransactionObject.
Last updated