# ConfirmTransaction

### Description

Confirms a saved transaction request and prepares it for execution by updating its status from **SAVED** to **READY**.

**Process flow:**

1. Validates the saved transaction request parameters
2. Calculates and populates gas fees, nonce, and other blockchain-specific fields
3. Updates status to **READY**, making it available for execution
4. Sets expiration time for the confirmed transaction

**When to use:**

* After creating a transaction request with `status:\ "SAVED"`
* Before calling the execute endpoint to complete the transaction
* When you're ready to finalize gas calculations and network parameters

**Important notes:**

* Only works with transaction requests in **SAVED** status
* Gas fields will be auto-populated based on current network conditions
* The confirmed transaction will have an expiration time after which it cannot be executed

{% code overflow="wrap" %}

```csharp
public static VyTask<VyConfirmTransactionResultDto> ConfirmTransaction(string id, VyConfirmTransactionRequest reqParams, VyUserAuth signingMethod)
```

{% endcode %}

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

| id            | string                                                                                                         | UUID of the transaction request to confirm                                 |
| ------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| reqParams     | [VyConfirmTransactionRequest](/sdk-reference/c-sdk-v3/object-references/wallet/vyconfirmtransactionrequest.md) | Blockchain of the transaction request                                      |
| signingMethod | VyUserAuth                                                                                                     | This operation requires a valid Signing-Method from the corresponding user |

**Returns**

VyTask<[VyConfirmTransactionResultDto](/sdk-reference/c-sdk-v3/object-references/wallet/vyconfirmtransactionresultdto.md)>\
Transaction confirmed successfully and ready for execution.
{% 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/confirmtransaction.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.
