# Find Mempool methodId from network scanners

{% hint style="warning" %}
The transactions for adding or removing liquidity (add Liquidity etc ...) are sent to the Router address.&#x20;

While enable trading transactions (TradingEnabled, EnableTrading etc ...) are sent to the token address.
{% endhint %}

The bot can scan either on the router address or on the token address.

Depending on the transaction you are looking for, you will need to select Trading enabled or addingliquidity. After that you will have to enter the methoids in the corresponding field.

## How to find MethoId for Enable Trading

First of all search for the token in the reference scanner (bscsca, etherscan etc ...)

<figure><img src="/files/n1ZqkGs9WEMgrdgK7Xew" alt=""><figcaption><p>Search a token by token address</p></figcaption></figure>

Than click on Contract -> Write Contract

<figure><img src="/files/nJwtiadZ9qA1rFItE412" alt=""><figcaption><p>Click on Contract, than on Write Contract</p></figcaption></figure>

Now look for the name of the method which appears to be to enable trading (or whatever other method you want to intercept)

<figure><img src="/files/274Lamx2CB6BJcdkF6Sv" alt=""><figcaption><p>Search for the method</p></figcaption></figure>

Now go back and click on CODE

<figure><img src="/files/J6TTwjOvvAfbWJsY9MES" alt=""><figcaption><p>Click on code</p></figcaption></figure>

From the Contract source code window, click anywhere within the code. Press CTRL + F (to search) and enter the name of the method you found earlier. In our case, setSwapEnabled

<figure><img src="/files/ZTrOiVQC6vRoM4mRDSov" alt=""><figcaption><p>Search the method in the source code</p></figcaption></figure>

Now you have to copy the name of the function in full, taking care not to copy empty spaces before or after the name itself, but in any case also copying the parameters that are in the brackets

<figure><img src="/files/1b7E4yM6az1Q9QpmqPSq" alt=""><figcaption><p>Copy the function name with its arguments brackets included</p></figcaption></figure>

Now go to this site and paste the function name with the respective parameters and brackets

{% embed url="<https://piyolab.github.io/playground/ethereum/getEncodedFunctionSignature/>" %}

<figure><img src="/files/yhH3s6krBuPiZITABHhv" alt=""><figcaption><p>This is your methoId</p></figcaption></figure>

The result will be the methoid you need to use in the bot!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aviddot-2-0.gitbook.io/aviddot-2.0-guide/overview/find-mempool-methodid-from-network-scanners.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
