Webhooks / API Auto-trading
Web hooks in Blazing App allow you to set up automated trading using APIs.
Last updated
Web hooks in Blazing App allow you to set up automated trading using APIs.
Last updated
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:
To begin, youβll need to create a template that will be used to automatically buy DRBT calls.
On the left-hand menu, navigate to βAdd New Templateβ.
Select βManual Buyβ as the type and enter all relevant settings.
Name your template.
Choose the wallets in your Blazing account that will be used for buying on the calls.
Set the βSpend Amount Valueβ in Ethereum (ETH) for each call.
Adjust your safety settings as needed, then click βAddβ to save your template.
Next, weβll create the webhook that will connect to DRBT bot:
Go back to the Template Settings section and select βCreate Webhookβ.
Name the webhook and select the template you just created.
Do not close this window until the webhook setup is fully completed.
Now weβll link the webhook to the DRBT bot:
Copy the Webhook URL from the Blazing WebApp.
Open the DRBT Filters Bot and select the query where you want to connect the webhook.
Click βWebhookβ and paste the Webhook URL.
Optionally, edit the query settings or rename the query for easier identification.
In the DRBT bot, click βAuto Buyβ and select βBlazingβ.
Go back to the Blazing WebApp and copy your Access Token.
Return to the DRBT bot and reply with the Access Token to finalize the connection.
Once everything is configured, you should see the Webhook URL listed and a green check next to the βSniper Keyβ in the DRBT bot.
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.
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.
To manage or update your webhooks, go to the Settings tab in the Blazing WebApp. Here, you can select a different template to be used with the webhook if needed.
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.
Hereβs an example of the request structure using curl
:
The contract
parameter should contain the contract address of the token you want to interact with.
This example is provided for illustration purposes. Replace <ID>
and <ACCESS TOKEN>
with the specific values generated during webhook setup.
By following these steps, you can automate your trading strategies with Blazing App's webhooks and streamline your trading experience.
Open the .