getTransactionStatus

Description

Retrieves the current status of a blockchain transaction using its unique hash identifier.

This endpoint queries the specified blockchain network to determine the transaction's current state, such as whether it's pending, confirmed, or failed. The status is fetched directly from the blockchain's network nodes to ensure accuracy.

Supported Status Values:

  • PENDING - Transaction submitted but not yet confirmed

  • SUCCEEDED - Transaction successfully confirmed on blockchain

  • FAILED - Transaction failed during execution

  • UNKNOWN - Status cannot be determined (unsupported chain or invalid hash)

public getTransactionStatus(chain: VyChain, transactionHash: string, query?: VyQuery_GetTransactionStatus) : VyPromise<VyTransactionStatusDto>

Parameters

chain

The blockchain of the transaction

transactionHash

string

The transaction hash of the transaction to check the status for

query (optional)

Query to filter the operation results

Returns

VyPromise<VyTransactionStatusDto> Transaction status retrieved successfully.

Last updated