# 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](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/enum/evychain)                                                    | The blockchain of the transaction                               |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------- |
| transactionHash  | string                                                                                                                                     | The transaction hash of the transaction to check the status for |
| query (optional) | [VyQuery\_GetTransactionStatus](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/wallet/queries/vyquery_gettransactionstatus) | Query to filter the operation results                           |

**Returns**

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