Find Mempool methodId from network scanners
Simple guide with examples to check methoids from a contract
The transactions for adding or removing liquidity (add Liquidity etc ...) are sent to the Router address.
While enable trading transactions (TradingEnabled, EnableTrading etc ...) are sent to the token address.
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.
First of all search for the token in the reference scanner (bscsca, etherscan etc ...)
Search a token by token address
Than click on Contract -> Write Contract
Click on Contract, than on Write Contract
Now look for the name of the method which appears to be to enable trading (or whatever other method you want to intercept)
Search for the method
Now go back and click on CODE
Click on code
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
Search the method in the source code
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
Copy the function name with its arguments brackets included
Now go to this site and paste the function name with the respective parameters and brackets
This is your methoId
The result will be the methoid you need to use in the bot!