Skip to main content

TransactionStatus

Checks the status of a previously submitted transaction. Normally, transactions are finalized within 1-5 seconds on the Algorand blockchain, but it can take a while longer if the blockchain is busy at the moment.

Request Parameters

NameTypeDescription
txIdstringA transaction ID received from the SubmitTransaction method.

Responses

Regular response

NameTypeDescription
statusstringThe status of the checked transaction. Is equal to: "confirmed" if the transaction has been finalized as approved; "pending" if the transaction has yet to be finalized; and "rejected" if the transaction was rejected from being included in a block (e.g. some funds were spent in another transaction, not leaving enough for the current one).

Validation errors

Returned when the parameters are invalid.

NameContent
Status code400
errorIdINVALID_PARAMS
messageValidation errors in TransactionStatus request.
errorsArray of strings containing additional informations.

Example Usage

const response = await fetch('https://delegator-dev01b.arringo.co/api-test/TransactionStatus', {
method: 'POST',
body: JSON.stringify({
'txId': 'G4UDVVAOFUH6UZMPSP6TONQOHPPZEXLPT3DLK3ONNHLFSUQ6VB6Q'})
});
const data = await response.json();

Example Success Response

{
"status": "confirmed"
}