# CancelTransaction

This endpoint immediately tries to cancel a stuck transaction.

{% code overflow="wrap" %}

```cpp
void CancelTransaction(const FVyUserAuth& SigningMethod, const FVyCancelTransactionRequest& Params, const FVyOnCancelTransactionComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| SigningMethod | FVyUserAuth                                                                                                                       | The Id and Value of one of the user's registered signing-methods                        |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| Params        | [FVyCancelTransactionRequest](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvycanceltransactionrequest) | Parameters for this operation (FVyCancelTransactionRequest)                             |
| OnComplete    | FVyOnCancelTransactionComplete                                                                                                    | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnCancelTransactionComplete)\
Contains a [FVyTransactionResultDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvytransactionresultdto) response type
