Get Token Registry Deployment Status

Retrieves the blockchain deployment status of a Token Registry smart contract using the transaction hash.

This endpoint checks the transaction receipt on the Stability chain to determine whether the deployment transaction has:

  • Successfully deployed the contract
  • Is still pending
  • Or has failed

Unlike role or permission operations, this endpoint performs a read-only blockchain lookup. No transaction signing or wallet authorization is needed.

Deployment Status Workflow

  1. User provides a txnHash (transaction hash) via query parameters.
  2. System validates that the transaction hash is a valid 32-byte hex string.
  3. Based on the receipt result:
    • If no receipt is found → Status is Pending (transaction not yet mined).
    • If receipt exists and status = 1 and contractAddress exists → Deployment Success.
    • If receipt exists but status = 0 → Deployment Failed.
  4. The result is returned with details such as block number and deployed contract address (on success).

Requirements

  • A valid 32-byte hex-encoded transaction hash.
  • The transaction must correspond to a Token Registry deployment transaction.

This endpoint is essential for monitoring smart contract deployment operations triggered in asynchronous workflows, UI progress trackers, or automated pipeline systems.

Query Params
string
required

A valid 32-byte hex transaction hash of the Token Registry deployment.

Example: 0x123abc456def78900011223344556677889900aabbccddeeff00112233445566

string
enum
required
Defaults to STABILITY

The blockchain network

Headers
string

Unique key to ensure idempotency for API requests.

string

Unique external ID for tracking purposes, can be used for debugging and analytics.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json