Skip to main content

Checking Transaction Status

After submitting a ZKT transaction, you may want to verify its status and retrieve transaction details. This is especially useful for monitoring asynchronous transactions and ensuring they have been successfully processed on the blockchain.

  • Verify that your transaction has been successfully processed
  • Retrieve the on-chain transaction hash for blockchain explorers
  • Debug any errors that may have occurred during processing
  • Track the timestamp of when your transaction was created and processed

Endpoint

To check the status of a ZKT transaction, send a HTTP GET request to:

GET https://api.stabilityprotocol.com/gtn/v1/zkt/transaction/{queueId}

When you submit a ZKT transaction, the API returns a queueId in the response. This identifier is used to track your transaction through the processing queue.

For example, when you submit a transaction, you might receive:

{
"queueId": "98a793a2-f8df-454f-90f5-681f3e9fc7c9"
}

Replace {queueId} with the queue ID you received from your initial ZKT transaction to check the transaction status

Request Example

curl -X GET "https://api.stabilityprotocol.com/gtn/v1/zkt/transaction/98a793a2-f8df-454f-90f5-681f3e9fc7c9" \
-H "Content-Type: application/json"

Response Fields

The response format varies depending on the transaction status:

FieldTypeDescriptionAppears When
statusstringCurrent status: pending, processing, completed, or error.All statuses
queueIdstringUnique identifier for the transaction in the processing queue.All statuses
transactionHashstringThe on-chain transaction hash.completed only
errorMessagestringError details describing what went wrong.error only
createdAtstringISO 8601 timestamp of when the transaction was submitted.completed, error
processedAtstringISO 8601 timestamp of when the transaction was processed.completed only

Response Examples

When the transaction has been successfully processed:

{
"queueId": "98a793a2-f8df-454f-90f5-681f3e9fc7c9",
"status": "completed",
"transactionHash": "0x6caac320855880061c105c83b51b09a1e30331efebcae9d2a2b2b5f80f8a1bbe",
"errorMessage": null,
"createdAt": "2026-01-20T07:57:35.220Z",
"processedAt": "2026-01-20T07:57:38.295Z"
}

Understanding Status Values

StatusDescription
pendingThe transaction is queued and waiting to be processed.
processingThe transaction is currently being processed.
completedThe transaction has been successfully processed and confirmed on the blockchain.
errorThe transaction encountered an error during processing.

Next Steps

Now that you understand how to submit transactions and monitor their status, you can: