# 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)

{% code overflow="wrap" %}

```csharp
public static VyTask<VyTransactionStatusDto> GetTransactionStatus(eVyChain chain, string transactionHash, VyQuery_GetTransactionStatus query = null)
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| chain            | [eVyChain](/sdk-reference/c-sdk-v3/object-references/enum/evychain.md)                                                    | The blockchain of the transaction                               |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| transactionHash  | string                                                                                                                    | The transaction hash of the transaction to check the status for |
| query (optional) | [VyQuery\_GetTransactionStatus](/sdk-reference/c-sdk-v3/object-references/wallet/queries/vyquery_gettransactionstatus.md) | Query to filter the operation results                           |

**Returns**

VyTask<[VyTransactionStatusDto](/sdk-reference/c-sdk-v3/object-references/wallet/vytransactionstatusdto.md)>\
Transaction status retrieved successfully.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.venly.io/sdk-reference/c-sdk-v3/function-references/wallet/transactions/gettransactionstatus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
