GetTransactionStatus

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)

void GetTransactionStatus(EVyChain Chain, FString TransactionHash, const FVyQuery_GetTransactionStatus& Query, const FVyOnGetTransactionStatusComplete& OnComplete) const;

Parameters

Chain

The blockchain of the transaction

TransactionHash

FString

The transaction hash of the transaction to check the status for

Query

Optional Query Parameters

OnComplete

FVyOnGetTransactionStatusComplete

The callback function called when the user preferences retrieval operation is complete.

OnComplete Callback (FVyOnGetTransactionStatusComplete) Contains a FVyTransactionStatusDto response type

Last updated