Skip to main content

Get Currency Token Transactions by ID

Lists transactions for the specified currency token with pagination.

Request

GET /v2/admin/currency-tokens/{currencyTokenID}/transactions?page={page}&per_page={perPage}

Parameters

NameTypeInDescription
currencyTokenIDstringpathRequired. The ID of the currency token

Query Parameters

NameTypeRequiredDescription
pagenumberNoPage number (default: 1)
per_pagenumberNoItems per page (default: 20)

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --location 'http://localhost:3453/v2/admin/currency-tokens/68fb4de0d622a0564999aeb7/transactions?page=1&per_page=20' \
--header 'Authorization: Bearer <token>'

Response

{
"data": [
{
"id": "68fb4de1d622a0564999aeb8",
"node_id": "665ae536a6392b75cfd40352",
"user_id": "665b372f3a72d7d0791596ba",
"currency_token_id": "68fb4de0d622a0564999aeb7",
"type": 1,
"status": 2,
"hash": null,
"error": null,
"data": null,
"next_transaction": null,
"updated_at": "2025-10-24T10:03:35.75Z",
"created_at": "2025-10-24T09:58:57.06Z"
}
],
"total": 1,
"page": 1,
"per_page": 20
}

Response Fields

FieldTypeDescription
dataarrayList of transactions
data[].idstringTransaction ID
data[].node_idstringNode ID
data[].user_idstring or nullUser ID (if applicable)
data[].currency_token_idstringCurrency token ID
data[].typenumberTransaction type (see Enums)
data[].statusnumberTransaction status (see Enums)
data[].hashstring or nullTransaction hash (if available)
data[].errorstring or nullError message if failed
data[].dataobject or nullAdditional data payload
data[].next_transactionobject or nullNext transaction to run
data[].next_transaction.idstringNext transaction ID
data[].next_transaction.typenumberNext transaction type (see Enums)
data[].updated_atstringLast update timestamp
data[].created_atstringCreation timestamp
totalnumberTotal number of transactions
pagenumberCurrent page
per_pagenumberItems per page

Enums

  • Type (data[].type):

    • 1: DeployCurrencyToken
    • 2: MintCurrencyToken
    • 3: SendCurrencyToken
  • Status (data[].status):

    • 1: Started
    • 2: InProgress
    • 3: Done
    • 4: Error
  • Next Transaction Type (data[].next_transaction.type):

    • 1: WalletTransaction

Notes:

  • Non-completed statuses are: Started, InProgress.
  • data is a key-value map for additional context.

Status Codes

Status CodeDescription
200Success - Transactions retrieved successfully
400Bad Request - Invalid ID or query params
401Unauthorized - Invalid or missing authentication token
404Not Found - Currency token does not exist
500Internal Server Error