🌶️
Aviddot 2.0 guide
  • 📕Aviddot 2.0 Guide
  • Overview
    • 🖥️How to setup the bot
    • 🛠️How to setup Telegram Scraper
    • 🌶️How to use Telegram scraper
    • 🚧Add Dex, Coins or RPC
    • ✨Our Features
    • 🧑Referrals
    • 🔍Find Mempool methodId from network scanners
    • 🔍Find mempool MethoId from the bot
Powered by GitBook
On this page
  1. Overview

Find Mempool methodId from network scanners

Simple guide with examples to check methoids from a contract

PreviousReferralsNextFind mempool MethoId from the bot

Last updated 2 years ago

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.

How to find MethoId for Enable Trading

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

Than click on Contract -> 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)

Now go back and 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

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

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

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

🔍
https://piyolab.github.io/playground/ethereum/getEncodedFunctionSignature/
Search a token by token address
Click on Contract, than on Write Contract
Search for the method
Click on code
Search the method in the source code
Copy the function name with its arguments brackets included
This is your methoId