# WebHooks / API Autotrading

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2Fg5uKLTkqea67u77LPRrJ%2Fimage.png?alt=media&#x26;token=26f9194d-7ad1-45f3-9e68-ac5dc8b0a064" alt=""><figcaption></figcaption></figure>

Blazing App allows you to automate your trading through its webhook API integration. This feature enables you to connect your custom buy templates with external systems, providing seamless and automated trading. Below is a step-by-step guide to setting up and using Blazing Webhooks:&#x20;

## Webhooks

{% hint style="success" %}
Webhooks work for all Blazing supported Chains and Dexes
{% endhint %}

{% content-ref url="../supported-chains-and-dexes" %}
[supported-chains-and-dexes](https://blazingapp.gitbook.io/tutorials/supported-chains-and-dexes)
{% endcontent-ref %}

{% hint style="info" %}
In order to access and setup webhooks it is required that you have account registered with Blazing.
{% endhint %}

## Webhooks Benchmark

{% file src="<https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FMRAPP8gswMHKkF6ZFMaY%2FWebhooks%20Benchmark.pdf?alt=media&token=8404ac29-567f-4b2a-9bdc-983bd7dda0ec>" %}

<details>

<summary>SOLANA TRADING PLATFORM BENCHMARK REPORT</summary>

<p align="center"><mark style="color:yellow;">BENCHMARK WINNER: Blazing</mark> <br><mark style="color:yellow;">Performance: 9/10 wins (90% success rate)</mark> </p>

<h2 align="center">Executive Summary </h2>

This comprehensive benchmark evaluated three leading Solana trading platforms across 10 rounds of 0.001 SOL trades. The analysis focuses on blockchain landing performance - the actual order transactions appear on the Solana blockchain.&#x20;

**Key Findings:**&#x20;

* Blazing achieved superior performance with 9 blockchain wins (90%)&#x20;
* 0 rounds required same-slot scenario analysis using block position data&#x20;
* All platforms maintained 100% transaction success rate with zero failures&#x20;
* Block position analysis provided accurate winner determination for same-slot scenarios&#x20;

<h3 align="center"><mark style="color:yellow;">Detailed Round-by-Round Analysis</mark> </h3>

<h4 align="center"><mark style="color:$success;background-color:$success;">Round 1 Results:</mark> </h4>

* Winner: Blazing&#x20;
* Second Place: Jupiter&#x20;
* Third Place: GMGN&#x20;
* Slot Numbers: Blazing: 354176080, Jupiter: 354176083, GMGN: 354176084&#x20;

**Transaction Hashes:**

* Blazing: 4ByGihRQTYjp...AvePAV6w3DEW
* Jupiter: 2wEjYB5KeV6C...E5RhjmvR58Si
* GMGN: 3y6SKrnrRYpb...NGjkbc8cMKPR&#x20;

<h4 align="center"><mark style="background-color:$info;"><strong>Round 2 Results:</strong></mark> </h4>

• Winner: Blazing&#x20;

• Second Place: GMGN&#x20;

• Third Place: Jupiter&#x20;

• Slot Numbers:&#x20;

1. Blazing: 354176098,&#x20;
2. Jupiter: 354176100,&#x20;
3. GMGN: 354176099&#x20;

**Transaction Hashes:**

* Blazing: 58ukmtx3mVqr...EAwFKG5qdb2j
* Jupiter: 3r7wLLA6hTSg...fHMwcRE6xu1x
* GMGN: 2YnuyUqnS8h3...n9uGFoYLVqNR&#x20;

<h4 align="center"><mark style="background-color:$info;"><strong>Round 3 Results:</strong></mark> </h4>

• Winner: Jupiter&#x20;

• Second Place: Blazing&#x20;

• Third Place: GMGN&#x20;

• Slot Numbers:&#x20;

1. Blazing: 354176116,&#x20;
2. Jupiter: 354176116,&#x20;
3. GMGN: 354176116&#x20;

**Transaction Hashes:**

* Blazing: 39hpcMEVCyZ2...GzNTUqKqWiP2
* Jupiter: 5rSAJEdw9L4G...jjHWhAdSgt36
* GMGN: 3nrfpsYG18yE...GXyi1TpzGJ99&#x20;
* Same-Slot Analysis: \
  Slot 354176116 — Jupiter → Blazing → GMGN&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 4 Results:</mark> </h4>

• Winner: Blazing&#x20;

• Second Place: GMGN&#x20;

• Third Place: Jupiter&#x20;

**Slot Numbers:**&#x20;

1. Blazing: 354176157,&#x20;
2. Jupiter: 354176161,&#x20;
3. GMGN: 354176158&#x20;

**Transaction Hashes:**

* Blazing: 2ZB9JMUsGQBw\...ptXm3X8u7CLe
* Jupiter: 3k7gktcqZjQy...mW8zSL1hFYyL
* GMGN: 4T3MkPb2rTyg...dSmSCzLMBf2E&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 5 Results:</mark> </h4>

• Winner: Blazing&#x20;

• Second Place: Jupiter&#x20;

• Third Place: GMGN&#x20;

• Slot Numbers:&#x20;

1. Blazing: 354176175,&#x20;
2. Jupiter: 354176176,&#x20;
3. GMGN: 354176176&#x20;

**Transaction Hashes:**

* Blazing: 5n5R3HSmSkq5...TuGUXAWiDE7D
* Jupiter: PtgqpPKpEfjK...nxvScEQsFv1c
* GMGN: 4o6aDnZzS5uh...Aa2gZ9Jkp8nu&#x20;
* Same-Slot Analysis: \
  Slot 354176176 - Jupiter → GMGN&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 6 Results:</mark> </h4>

• Winner: Blazing&#x20;

• Second Place: GMGN&#x20;

• Third Place: Jupiter&#x20;

**Slot Numbers:**&#x20;

1. Blazing: 354176227,&#x20;
2. Jupiter: 354176232,&#x20;
3. GMGN: 354176228&#x20;

**Transaction Hashes:**

* Blazing: 5vww3UTuVRdM...RBW2DT75Dbyj
* Jupiter: 3fEzuBHfqfMj...feAR6qqH4RHE
* GMGN: 28Xh8pVpDSCk...jjK44KrCdKt9&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 7 Results:</mark> </h4>

• Winner: Blazing&#x20;

• Second Place: GMGN&#x20;

• Third Place: Jupiter&#x20;

Slot Numbers:&#x20;

1. Blazing: 354176246,&#x20;
2. Jupiter: 354176248,&#x20;
3. GMGN: 354176246&#x20;

Transaction Hashes:

* Blazing: 2bEZLorjdhhH...BBuHZ4Wizxut
* Jupiter: 649hsJ5gRqz6...eY8jBXGzySFo
* GMGN: Mj8r4sdDMYwP...VLYyp5AqS8Xt&#x20;
* Same-Slot Analysis: Slot 354176246 - Blazing → GMGN&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 8 Results:</mark> </h4>

* Winner: Blazing&#x20;
* Second Place: GMGN&#x20;
* Third Place: Jupiter&#x20;

**Slot Numbers:**&#x20;

1. Blazing: 354176296,&#x20;
2. Jupiter: 354176298,&#x20;
3. GMGN: 354176297&#x20;

**Transaction Hashes:**

* Blazing: 2oPPyoQsyYiT...BA8aE9j65Uoa
* Jupiter: 2mNreMfaNnA5...bqNwueMeXHY9
* GMGN: 4Z4qU6bcd5a3...k5GrFKBR9rag&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 9 Results:</mark> </h4>

• Winner: Blazing&#x20;

• Second Place: GMGN&#x20;

• Third Place: Jupiter&#x20;

**Slot Numbers:**&#x20;

1. Blazing: 354176314,&#x20;
2. Jupiter: 354176316,&#x20;
3. GMGN: 354176314&#x20;

**Transaction Hashes:**

* Blazing: nyAj1JuvXih8...yjaEE37451Ve
* Jupiter: 37VXzR1BvFcj...RNJTESb2Y3Hv
* GMGN: 5GqS9cTi1xS3...dqE9555k4trL&#x20;

**Same-Slot Analysis:** \
Slot 354176314 - Blazing → GMGN&#x20;

<h4 align="center"><mark style="background-color:$info;">Round 10 Results:</mark> </h4>

• Winner: Blazing&#x20;

• Second Place: GMGN&#x20;

• Third Place: Jupiter&#x20;

**Slot Numbers:**&#x20;

1. Blazing: 354176356,&#x20;
2. Jupiter: 354176360,&#x20;
3. GMGN: 354176357&#x20;

**Transaction Hashes:**

* Blazing: 22PcyiJeeoqz...YXJToKJKvRPd
* Jupiter: 5pKi9pkvEjqp...VkGq4ueUxF1o
* GMGN: 4zhPiDkhbobC...QFFKErgDW4Ad&#x20;

<h2 align="center">Platform Performance Summary </h2>

**Overall Performance Rankings:**

1. Blazing - Top Performer&#x20;

* Blockchain Wins: 9/10 (90%)&#x20;
* Success Rate: 100.0%&#x20;
* Average Ranking: 1.1<br>

2. Jupiter&#x20;

* Blockchain Wins: 1/10 (10%)&#x20;
* Success Rate: 100.0%&#x20;
* Average Ranking: 2.6<br>

3. GMGN&#x20;

* Blockchain Wins: 0/10 (0%)&#x20;
* Success Rate: 100.0%&#x20;
* Average Ranking: 2.3&#x20;

<h3 align="center"><mark style="color:yellow;">Same-Slot Scenario Analysis</mark> </h3>

**Block Position Methodology:** \
When multiple transactions are confirmed within the same Solana slot, the winner is determined by analyzing their exact position within that block. Our analysis utilizes the Helius API to fetch block data and determine the canonical transaction order. \
\
**Same-Slot Scenarios Identified:** \
\
• Round 3, Slot 354176116: Jupiter → Blazing → GMGN&#x20;

• Round 5, Slot 354176176: Jupiter → GMGN&#x20;

• Round 7, Slot 354176246: Blazing → GMGN&#x20;

• Round 9, Slot 354176314: Blazing → GMGN&#x20;

<h3 align="center"><mark style="color:yellow;">Methodology</mark> </h3>

**Blockchain Winner Determination Process:**

1. Slot Comparison: Platform with the lowest confirmed slot number is ranked first
2. Block Position Analysis (same slot): Exact transaction order within the block determined using Helius API
3. Blockchain Ranking: Final ranking based on confirmed blockchain landing order&#x20;

**Block Position Analysis Methodology:**&#x20;

When multiple platforms confirm transactions within the same slot, we utilize the Helius API to fetch comprehensive block data and determine the exact transaction order. This methodology provides the most accurate determination of which transaction was confirmed first on the blockchain, ensuring precise performance measurement.&#x20;

**Testing Parameters:**&#x20;

• Trade Amount: 0.001 SOL per transaction&#x20;

• Test Rounds: 10 comprehensive rounds&#x20;

• Success Rate Measurement: 100% transaction confirmation required&#x20;

• Block Position Verification: Helius API integration for same-slot scenarios&#x20;

• Token Tested: 5v2wpT6fA97hTeHXwX4oDzoFog344ShBYrf2zWivpump&#x20;

## Conclusion&#x20;

This comprehensive benchmark reveals that Blazing consistently outperforms competitors in blockchain landing speed, winning 9 out of 10 rounds (90% win rate).&#x20;

**Key Insights:** \
\
• Blazing demonstrates superior blockchain landing performance with consistent first-place finishes&#x20;

• Block position analysis provides accurate same-slot winner determination when multiple transactions confirm in the same slot&#x20;

• All platforms maintain 100% reliability with zero transaction failures&#x20;

• Performance differences are measurable and consistent across all 10 benchmark rounds&#x20;

• Same-slot scenarios demonstrate the importance of precise block position analysis for accurate performance measurement&#x20;

**Recommendation:** \
For applications requiring optimal blockchain landing speed and consistent performance, **Blazing** is the recommended choice based on this comprehensive analysis. The platform's superior blockchain landing performance makes it ideal for time-sensitive trading applications where transaction confirmation order is critical.

</details>

## How to create a Webhook

{% tabs %}
{% tab title="Telegram Bot" %}

1. **Create a Template**

In [Blazing Tg bot](https://t.me/blazing_trading_bot) -  head to <kbd>Settings → Templates → Create template</kbd>

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FYBXV15vv8VvrkMkkCUuI%2Fimage.png?alt=media&#x26;token=831c0107-807f-4f6c-8361-1b999a786703" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FdFP85OTlkgQOjgQ9dRDe%2Fimage.png?alt=media&#x26;token=7897b1b6-b578-45c4-854c-6243019abca5" alt="" width="375"><figcaption></figcaption></figure>

Additional information on each parameter when configuring the template:

{% content-ref url="../telegram-bot/settings/templates" %}
[templates](https://blazingapp.gitbook.io/tutorials/telegram-bot/settings/templates)
{% endcontent-ref %}

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FSoCqjHdnAZoR7ftOsb0O%2Fimage.png?alt=media&#x26;token=31e60547-c0b7-410d-89be-4e7c9e992466" alt="" width="375"><figcaption></figcaption></figure>

After successfully creating the template, you will be able to see it in the list.

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2F8FpfpG8DKhwyaXWCvNvr%2Fimage.png?alt=media&#x26;token=79aad920-ea9a-4541-be75-cfbe10bc54c1" alt="" width="375"><figcaption></figcaption></figure>

2. **Create a webhook for a Template.**

Head back to <kbd>Settings → Webhooks settings.</kbd>

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FHIs1ZUgSmcWCWWmiYIde%2Fimage.png?alt=media&#x26;token=a6f360a7-2ad2-487e-b0f3-31f3464972e2" alt="" width="375"><figcaption></figcaption></figure>

Click <kbd>Create Webhook</kbd>

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FsKVekHvmAQK6OrbE9SxL%2Fimage.png?alt=media&#x26;token=680d1ed3-9491-41fe-b7fd-a98935a4b880" alt="" width="273"><figcaption></figcaption></figure>

<kbd>Select a Template</kbd> to use with Webhook

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FBZ46sgpHaCaCEPk3ExHL%2Fimage.png?alt=media&#x26;token=2d0166f9-834e-4fb7-8dc4-e4e71658f26e" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
After successful Webhook creation, you will receive the webhook URL and access token that should be used when calling the specific webhook.
{% endhint %}

`Webhook URL:` [`https://blazingworld.me/api/v1/order/webhook/3eab2772-1f3c-42f9-bc70-6c3a79c469bc/trigger/buy?b=8&l=en`](https://blazingworld.me/api/v1/order/webhook/3eab2772-1f3c-42f9-bc70-6c3a79c469bc/trigger/buy?b=8\&l=en)

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FOnF2w7jDxyQzYqSNO8mv%2Fimage.png?alt=media&#x26;token=c0834095-6c79-4304-b547-c9f6c3faded3" alt="" width="375"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="WebApp" %}

1. **Create a Template**

<kbd>Open left side menu → Template management</kbd>

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2F2ApPHLQp3mFFaoL7IEaD%2Fimage.png?alt=media&#x26;token=fef1f070-a192-49d8-9e31-a4577b23fd12" alt=""><figcaption></figcaption></figure>

Click <kbd>Add New Template</kbd>

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FFl1100vApRENNVIHGR4M%2Fimage.png?alt=media&#x26;token=c1c94bc0-1055-4b82-8d14-e0664a209a62" alt=""><figcaption></figcaption></figure>

Configure your Template. Find all settings descriptions here:

{% content-ref url="templates" %}
[templates](https://blazingapp.gitbook.io/tutorials/webapp/templates)
{% endcontent-ref %}

{% hint style="info" %}
Once your Template is saved, go back to Templates Management and create a Webhook
{% endhint %}

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FuHL0f01qOfHwObmEQ6vp%2Fimage.png?alt=media&#x26;token=ae8b4851-29da-4cc2-b326-9aded73e5506" alt="" width="375"><figcaption></figcaption></figure>

Name your Webhook and select a Template that will be used for it.

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2Fre7cJafm6FrRUIbdm3SB%2Fimage.png?alt=media&#x26;token=2eff79d7-05ba-4513-a66f-b52d33f7220a" alt=""><figcaption></figcaption></figure>

Copy & Save your Webhook URL and Access Token.

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FWcgkzHL4lBnLPfyP6ONl%2Fimage.png?alt=media&#x26;token=6ef9734c-f5c5-4103-88e4-5b449108d6a0" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Do not share your Access token with the public or 3rd party persons.
{% endhint %}
{% endtab %}
{% endtabs %}

## Managing Webhooks

To manage or update your webhooks, navigate to <kbd>Settings -> Devices & Webhooks</kbd>.&#x20;

{% hint style="info" %}
Here, you can select a different template to be used with the webhook if needed.
{% endhint %}

<figure><img src="https://174566586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzD6jgqVGxmLQpiqD86Wt%2Fuploads%2FdjKTfmK2l8d8PVqYYPvv%2Fimage.png?alt=media&#x26;token=f053968a-0e28-45b5-ba0b-870cb3f254ec" alt=""><figcaption></figcaption></figure>

## **Interact with Webhook**

To trigger the webhook, send a `POST` request to the **Webhook URL** with the **Access Token** included as a bearer token in the headers. The endpoint requires one parameter in the request body: the contract address of the token.

| **Header**    | **Value**                                                             |
| ------------- | --------------------------------------------------------------------- |
| Content-Type  | `application/json`                                                    |
| Accept        | `application/json`                                                    |
| Authorization | `Bearer <ACCESS_TOKEN>`                                               |
| Origin        | [`https://webhook.blazingworld.me`](https://webhook.blazingworld.me/) |
| User-Agent    | BlazingBot/1.0                                                        |

### JSON Body

The body must contain a single parameter:

<table><thead><tr><th>Parameter</th><th width="195.4000244140625">Type</th><th>Description</th></tr></thead><tbody><tr><td>contract</td><td>string</td><td>The on-chain contract address of the token.</td></tr><tr><td>retry_blocks</td><td>integer (optional)</td><td>Number of blocks to retry the transaction (1-100). Default: 1.</td></tr><tr><td>affiliate</td><td>string (optional)</td><td>Referral identifier (usually a username). For <strong>new users</strong>, it works like a <em>sticky referral</em>. For <strong>existing users</strong>, it can be applied on a <em>per-transaction</em> basis.</td></tr><tr><td>idempotency_key</td><td>string (optional)</td><td>Unique request ID to prevent duplicate execution. If the same webhook is sent multiple times with the same idempotency_key, it will only be processed once.</td></tr></tbody></table>

#### **Example Request (curl)**

```json
curl -X POST 'https://blazingworld.me/api/v1/order/webhook/d3554524-453d-4d85-9a04-d78bc539a2f7/trigger/buy?b=8&l=en' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  -H 'Origin: https://webhook.blazingworld.me' \
  -H 'User-Agent: BlazingBot/1.0' \
  -d '{
    "contract": "0xabc123...",
    "retry_blocks": 10,
    "affiliate": "username",
    "idempotency_key": "any_string"
  }'
```

#### **Key Notes**

* For <mark style="color:red;">`retry_blocks`</mark>  &#x20;Value must be <kbd>between 1 and 100.</kbd> Higher values increase chance of transaction landing on-chain during congestion  . <kbd>Default is 1</kbd>, when not specified.
* The <mark style="color:red;">`user-session-id`</mark> is embedded in the URL. Do **not** include it as a header.
* The <mark style="color:red;">`contract`</mark> field must be a valid on-chain token address (e.g. <mark style="color:yellow;">`0xabc123...`</mark>).
* Ensure all headers and the JSON body are set correctly — otherwise, the webhook will fail.

## Webhooks use case with DRBT bot

{% embed url="<https://www.youtube.com/watch?ab_channel=BlazingBot&v=8kVeqtZJi_k>" %}

<details>

<summary>Using Webhooks with DRBT</summary>

[De-Fi Robot](https://portal.defirobot.org/) is a Platform that provides configurable alpha bots, allowing you to set up different settings for catching new launches. Check the [demo video](https://youtu.be/0LasMsUz96w).

### 1. Connect the Webhook to the DRBT Bot

Now we’ll link the webhook to the DRBT bot:

1. Copy the Webhook URL from the Blazing WebApp.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdvg24uwO8YywpfoVmxii6FENrHRDxjkMTy2huHuUC_2leCT8Man1Ij5F7imnc2SAaPbk8BVga5JFn-CVJgMGqORfemsNv-YD9PosfHKKw8wKhCNf9jf7leauy-gT2F4lI2ugs5yFMwXnjtZKiAwfvHol4?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

2. Open the DRBT Filters Bot and select the query where you want to connect the webhook.
3. Click ‘*Webhook*’ and paste the Webhook URL.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdDySFYE5f43q8eV2ru66kKbCRMMChgoY7au9c9S8QLiALXvNmRSaPRx2Wv5LPcEnW6fSfjH7SwUnaYFc4hkYH6SoMmrZXDHj8pz_-wZE_7xdUn5QhG94y_f-1AevoGOqa7VJlgrbFyd1yW95UEkoa_RcWN?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

4. Optionally, edit the query settings or rename the query for easier identification.

### 2. Activate Auto-Buy and Link Your Access Token

1. In the DRBT bot, click ‘Auto Buy’ and select ‘Blazing’.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcx54i_-hwAvVMBHjOZgjn8ANWRZOzd-Q9LYYAFH6jK1C-UOWe2evaItya9AYj5GLBCeWTbQM-ujIts5jspoilo2cJeBhh5kQUHUTeZWX1x2Ttg9F-Hl1UcKGsJFnOrHlN9ZitL_bpjhsfReYKMavjYYSs?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

2. Go back to the Blazing WebApp and copy your Access Token.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeEbN40cGyeyS8VATsiwkxnFRaHVgopiKAKG-zZVqO7uWm3VxByw2dhQZfIxOh0-eTC45XJnbW_1STCDCYrWRHHCau0-IX3jx6xS-P8YPBL1epyFfyTef24CH7AptBWY3lRBz01rCUxUuMF9PzmepTdtjZB?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

3. Return to the DRBT bot and reply with the Access Token to finalize the connection.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeGL2bpytO1XD0Nw7IqxTtsbVZuWBn5HyZhhqhu_I6kLMINjFrZGGmCMO_miwnIGcIRyQF2NP_aMLlWKdlPwQZ20_VdadV8RCu1MkJUkm9xFhv9pY4LWU-K8JeoVl5GoT_5dNG_PLIRCC6dzCIcgL3UCkKY?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

Once everything is configured, you should see the Webhook URL listed and a green check next to the ‘Sniper Key’ in the DRBT bot.

### 3. Monitoring and Confirmation

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfwqUlTX-oz_98NH1ZpMHZwjqC5rrJ2PuLVm-uq7YVEhI6yJip7b-P0XNTtPPpCC5Fmir98v-S7k2d5TjR1LghV86Olh4wWo9TOKQ2bJTokmgtSqzvuJTPptZZcqJlHYC3w0tpx8toauo5Dfe0UV_Y96Z51?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

Once a call comes through:

* You’ll receive a notification from the Blazing Telegram Bot when a call is triggered and the buy is executed.
* You can check the token that was bought on the WebApp.

#### Tracking Your Recent Buys

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfPky07DBAkWntZxVoywVJq85pkxbhQ222ZgtjPeS_iqAndY4sA62jeoHhjBf1SJV-pZNlsmJ5Ne8L8OdYCXdMm0ofh2Aru-3liPl8Wxax6THFQ9qvEZsxJQhQw6aqbxlEhUsEpc7W0f9t9tdgzkj0K0agl?key=SHc_X4gxuwSLYSgB1NwEXA" alt=""><figcaption></figcaption></figure>

* Navigate to the Profit & Loss (PnL) panel in the WebApp to track your recent buys.
* You can also instantly share your PnL card before selling for easy updates.

</details>
