Transaction Relay (TX)

Get Blockchain Transaction Status

Retrieve a transactions current status.

Retrieve transaction status

Make a GET request to /transactions/{transaction_id}/status to return the transactions current state.

...const url = '' const transaction_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6' const response = await fetch(url + transaction_id + "/status", { method: "GET", headers: { "Content-Type": "application/json", "X-API-key": "<YOUR_API_KEY_HERE>" } })

Possible transaction state

Queued - This transaction has been created and is waiting to be picked up by Tx Relay.

Pending - The transaction has been published to a node.

Unconfirmed - The transaction has been mined but does not have enough network confirmations to be considered confirmed.

Confirmed - (Terminal State) The transaction has at least 14 confirmations on the network.

Error - (Terminal State) The transaction has errored out. Please check that the Identity Wallet has enough funds and that all the parameters are correct.