Page cover

GET /api/transaction/user-transaction-history

Use this API to obtain a list of your transaction history.

Parameters

  1. transactionType (String) Required: (MINT, BURN, BRIDGE, DEPOSIT_REDEEM)

    This parameter is for selecting the type of transaction.

  2. 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

  1. paymentStatus (String):

  • PAID : Transaction is paid

  • WAITING_FOR_PAYMENT: Transaction is waiting for payment

  • EXPIRED: The payment request is expired

  1. burnStatus (String):

  • REQUESTED: Transaction has been requested

  • IN_PROCESS: Transaction is being processed

  • SUCCESS: Redeem transaction is successful

  • FAILED: Redeem transaction is failed

  1. bridgeStatus (String):

  • REQUESTED: Transaction has been requested

  • PROCESSING: Transaction is being processed

  • SUCCESS: Bridge transaction is successful

  • FAILED: Bridge transaction is failed

  1. merchantOrderId(String):

    This parameter filters the transaction based on the merchant order ID.

  2. originChainId(Number):

    This parameter filters the transaction based on the origin chain ID.

  3. destinationChainId (Number):

    This parameter filters the transaction based on the target chain ID.

  4. amountMax(String):

    This parameter filters the transaction based on the maximum IDRX amount transacted.

  5. amountMin(String):

    This parameter filters the transaction based on the minimum IDRX amount transacted.

  6. txHash(String):

    This parameter filters the transaction based on the transaction hash.

  7. orderByDate(String):

    This parameter filters the date in an ascending (ASC) or descending (DESC) order.

  8. orderByAmount(String):

    This parameter filters the amount in an ascending (ASC) or descending (DESC) order.

  9. page(String) Required:

    This parameter specifies the page number of the data to be retrieved.

  10. take(String) Required:

    This parameter specifies the amount of data to be retrieved per page.

  11. transferTxHash(String):

    For DEPOSIT_REDEEM type, the transfer tx hash of the USDT deposit transaction.

  12. 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