get
https://api.blockpeer.finance/api/blockpeer-trade/trade/registry/getDeploymentStatus/
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
- User provides a
txnHash(transaction hash) via query parameters. - System validates that the transaction hash is a valid 32-byte hex string.
- 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.
- If no receipt is found → Status is
- 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.
