> For the complete documentation index, see [llms.txt](https://docswallet.udrox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docswallet.udrox.com/reference/api-reference-medium-level/configurable-methods.md).

# Configurable Methods

## All editing methods

### walletudrox.onConnect

With the following method we define what to do after the user successfully connects his udrox wallet

<pre class="language-javascript" data-full-width="true"><code class="lang-javascript"><strong>walletudrox.onConnect = function(){
</strong>	
};
</code></pre>

### Functions for handling transactions

### walletudrox.onSendError

When a client performs a transaction but it fails, it is canceled or it was not processed

```javascript
walletudrox.onSendError = function(){
    // code to execute
}
```

### walletudrox.onBeforeSend

Before the client starts any transaction

```javascript
walletudrox.onBeforeSend = function(){
    // code to execute
}
```

### walletudrox.onSend

When the transaction was successful, we sends the hash to show the client that their transaction was processed correctly or any useful functionality

```javascript
walletudrox.onSend = function(hash){
    // code to execute
}
```

{% hint style="info" %}
**Consider:**

**walletudrox.onSend:** we process or store the hash; Please note, it is recommended not to release rewards directly here, send the hash to server language and verify it through our SAFEHASH system so you can be sure that the hash has not been corrupted.

walletudrox.notifyServer = "<https://www.miapp.com/process\\_hash>"; use notifyserver to give rewards or complete operations safely
{% endhint %}
