# Get Tip Wallet Address

## Request

#### Method:&#x20;

`GET ./api/v2/tip-wallet` (with no params) when sending a single transaction without MEV protection and `POST ./api/v2/tip-wallet` to get tip address for a specific shard defined by sender wallet address or external messages. The latter should be used when sending transaction with MEV protection or in a batch.

#### Parameters:

<table><thead><tr><th width="261.4453125">Parameter</th><th width="154.2">type</th><th width="413">Description</th></tr></thead><tbody><tr><td><code>external_messages</code></td><td>array of string</td><td>External message payloads (base64) to resolve shard tip wallet address. Use this for <code>Submit Signed Transactions Batch</code> .</td></tr><tr><td><code>address</code></td><td>string</td><td>Sender wallet address. Use this for <code>Submit Signed Transaction</code> method with MEV protection.</td></tr></tbody></table>

{% hint style="info" %}
Note that either `external_messages`  or `address` must be set.
{% endhint %}

#### Request example:

{% tabs %}
{% tab title="HTTP (GET)" %}

```bash
curl -X 'GET' \
  'https://ny.ton.dex.blxrbdn.com/api/v2/tip-wallet' \
  -H "Authorization: $AUTH_HEADER" 
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="HTTP (POST)" %}

```bash
curl -X 'POST' \
  'https://ny.ton.dex.blxrbdn.com/api/v2/tip-wallet' \
  -H"Authorization: $AUTH_HEADER" \
  -H "Content-Type: application/json" \
  -d '{
 "external_messages": ["Aj+Br...ABC", "Aj+Br...ABC", ...]
}'
```

{% endtab %}
{% endtabs %}

### Response:

#### Fields:

<table><thead><tr><th width="214">Parameter</th><th width="110">Type</th><th width="422">Description</th></tr></thead><tbody><tr><td><code>tip_wallet_address</code></td><td>string</td><td>A shard-specific for sending a tip.</td></tr><tr><td><code>shard</code></td><td>string</td><td> A shard that was located for a given input.</td></tr></tbody></table>

#### Example:

{% tabs %}
{% tab title="JSON" %}

```json
{
  "shard": "0xE000000000000000",
  "tip_wallet_address": "EQDPUyq1PnJ....CWzjOn976fe-j"
}
```

{% endtab %}
{% endtabs %}
