Checking sent transaction status
Life span of a transaction
Once a transaction is sent to the blockchain, it is held in the transaction pool of nodes until it is executed (mined). During this time the transaction is in PENDING
status.
When the transaction is finally executed, verified under consensus and added to a block, it transitions toCOMMITTED
status. It now also includes a receipt holding the execution output.
If the transaction fails to verify or ultimately expires, its status changes to REJECTED
.
Using Gamma CLI
After sending a transaction with gamma-cli send-tx
, the transaction ID should be returned.
Use the TxId to check the status of the transaction
Command parameters
<TX_ID>
Transaction ID in Base64 as returned fromgamma-cli send-tx
Cryptographic proof for a transaction
The Orbs blockchain is able to provide cryptographic proof for the execution of a transaction. This proof can be verified by light clients or third-party auditors without synchronizing the entire blockchain state.
Use the TxId to obtain the proof
The command parameters are identical to gamma-cli send-tx
Last updated