# Binance

This module will autocheckout Mystery Boxes on <https://www.binance.com/> using requests

To summon the control panel, head to a product page, (example: [ https://www.binance.com/en/nft/blindBox/detail?productId=135970432061947904](https://www.binance.com/en/nft/blindBox/detail?productId=135970432061947904))&#x20;

{% hint style="warning" %}
If the control panel didn't popup - reload the page.\
In case that didn't work, make sure that the **Binance** module is turned on&#x20;
{% endhint %}

![](https://1304722611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mb29cfTfri0Ghn_nYsh%2F-Mk8ccfBXy3n2choBwgt%2F-Mk8gK_suY9qjRWOBLAc%2Funknown.png?alt=media\&token=95981dce-91bd-412f-bb3d-9ca97ec591d8)

## How to work with the module?&#x20;

![](https://1304722611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mb29cfTfri0Ghn_nYsh%2F-Mk8ccfBXy3n2choBwgt%2F-Mk8giY553EG_boQTFaG%2FGroup%20481.png?alt=media\&token=ff78cd66-4fa1-42b2-a82c-9e3a2637d008)

## 1. Generate a Captcha Token

Recently, Binance has added captcha to the purchase request, meaning that now, you will have to generate a **captcha token**

To generate a captcha token, click "**GENERATE CAPTCHA TOKEN"** in the control panel once&#x20;

{% hint style="warning" %}
**You have to do it no earlier than 2 minutes in advance, as the captcha token's lifetime is 2 minutes**

If the two minute lifetime of the captcha token ran out, you can generate a new one
{% endhint %}

On click you might get a captcha popup with image selection

![](https://1304722611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mb29cfTfri0Ghn_nYsh%2F-Mk8ccfBXy3n2choBwgt%2F-Mk8hUgK089EA-ZEgIt7%2Fimage.png?alt=media\&token=b5d10514-085c-48d1-b8bb-df1b28f498fd)

### 2. Starting the script

After you've successfully generated your captcha token, the task button will switch to "**START**", this will launch the script

{% hint style="warning" %}
To purchase on Binance, you need such data as **p20t** and **csrftoken.** The extension will scrape it automatically upon clicking "**START".**

**To ensure that said data is valid, make sure to refresh the product page at least 10 minutes before the drop**
{% endhint %}

Upon clicking "**START**" the extension will start sending buying requests one after the other, with set delay. **For example:**\
Request sent -> request received -> delay -> request sent -> request received -> **and so on, until the desired NFT will be purchased**

{% hint style="success" %}
You can set the delay by heading over to the sesttings in the "**Autocheckout"** section in the extension
{% endhint %}

Usually, Binance drops go live about 2-3 seconds earlier scheduled time, meaning you should start **5-7 seconds earlier**

{% hint style="success" %}
The desired purchase quantity is also set in settings in the "**Autocheckout**" section in the extension&#x20;
{% endhint %}

## Spam Mode&#x20;

You can activate this mode in the Binance module settings. If you've turned it on, it will say "Spam Mode Eneabled" in the popup window top right&#x20;

![](https://1304722611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb29cfTfri0Ghn_nYsh%2Fuploads%2F48Xv2tE17ei4qWuKaEyf%2Fimage.png?alt=media\&token=ead8e3f8-1198-47eb-ab1f-560e61bd62f3)![](https://1304722611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mb29cfTfri0Ghn_nYsh%2Fuploads%2F9Rer1kcyiIq7PP5auyoU%2Fimage.png?alt=media\&token=3a75a50b-17a6-4745-8d77-d6febf175691)

### Mode breakdown

If you have "Spam Mode" on, the extension will **not** wait for the response on the previous request, and send another request **right away**, after the set delay.

**Example:** request sent -> user delay has passed -> another request sent -> user delay has passed -> **and so on, untill the NFT was successfuly purchased**&#x20;

{% hint style="warning" %}
This will drastically increase the amount of total requests sent, which also means that there's a higher chance of being rate-limited on the Biannce website.

**To avoid being rate limited, make sure to set a minimum delay of 40**
{% endhint %}

## Webhook Support

Webhook on Binance will only be sent if the purchase was successful.

How to setup the webhook 👇

{% content-ref url="../../settings/settings-overview" %}
[settings-overview](https://enigma-guides.gitbook.io/enigma-toolbox-eng/settings/settings-overview)
{% endcontent-ref %}

![](https://1304722611-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mb29cfTfri0Ghn_nYsh%2F-Mk8s43i_qOXYO0vJlVB%2F-Mk8sWhbpZiEevIv9el_%2Fimage.png?alt=media\&token=c01dfbb5-70dd-4b17-812a-c4727ff4b2eb)
