GET /api/transaction/user-transaction-history
Use this API to obtain a list of your transaction history.
Parameters
transactionType(String) Required: (MINT, BURN, BRIDGE, DEPOSIT_REDEEM)This parameter is for selecting the type of transaction.
userMintStatus(String):
NOT_AVAILABLE : Transaction is waiting for the payment to be finished
PROCESSING : Minting is being processed
MINTED : Transaction is minted
FAILED: Transaction is failed
REJECTED: Transaction is rejected
REFUND: Transaction is refunded
paymentStatus(String):
PAID : Transaction is paid
WAITING_FOR_PAYMENT: Transaction is waiting for payment
EXPIRED: The payment request is expired
burnStatus(String):
REQUESTED: Transaction has been requested
IN_PROCESS: Transaction is being processed
SUCCESS: Redeem transaction is successful
FAILED: Redeem transaction is failed
bridgeStatus(String):
REQUESTED: Transaction has been requested
PROCESSING: Transaction is being processed
SUCCESS: Bridge transaction is successful
FAILED: Bridge transaction is failed
merchantOrderId(String):This parameter filters the transaction based on the merchant order ID.
originChainId(Number):This parameter filters the transaction based on the origin chain ID.
destinationChainId(Number):This parameter filters the transaction based on the target chain ID.
amountMax(String):This parameter filters the transaction based on the maximum IDRX amount transacted.
amountMin(String):This parameter filters the transaction based on the minimum IDRX amount transacted.
txHash(String):This parameter filters the transaction based on the transaction hash.
orderByDate(String):This parameter filters the date in an ascending (ASC) or descending (DESC) order.
orderByAmount(String):This parameter filters the amount in an ascending (ASC) or descending (DESC) order.
page(String) Required:This parameter specifies the page number of the data to be retrieved.
take(String) Required:This parameter specifies the amount of data to be retrieved per page.
transferTxHash(String):For DEPOSIT_REDEEM type, the transfer tx hash of the USDT deposit transaction.
burnTxHash(String):For DEPOSIT_REDEEM type, the IDRX burn tx hash of the USDT deposit transaction.
Example Request
Response
If the request is successful, the response will be as shown below:
Example for transactionType MINT:
Example for transactionType MINT with requestType usdt:
Example for transactionType BURN:
Example for transactionType DEPOSIT_REDEEM:
Example for transactionType BRIDGE:
Last updated
