Decode Transaction Data from Etherscan To Read Functions & Arguments Called, Programmatically
HTML-код
- Опубликовано: 7 сен 2024
- Get my free EthersJS cheatsheet to master Web3!
👉 blockman-codes...
------------------------------------------
Courses:
👉 Build a Uniswap V3 interface that can do swaps: bit.ly/3JkXYqL
------------------------------------------
Do you know how to decode data hashes, like what you might see in Etherscan?
So that you can decipher functions called from apps like Uniswap, or made from other wallets?
These encoded values might look like they mean nothing, but they can be decoded and the contents read in plain English.
In this video, I'll show you how.
Learn to use all of Uniswap's swap and liquidity functionality with code. bit.ly/3JkXYqL
Hey. I just wanted to say thanks, I finally managed to put together a pretty complex application which I started from almost zero last month, thank you for your vids and effort! Happy new year
Right on brother! I'm always stoked to hear success stories. Keep it up! And happy new year!
@@blockmancodes Hi Blockman. Does this work for any input data on Etherscan or just Verified Contracts like Uniswap? My contract address and API Key are not getting read.
Hey great video. What all do I need to install in order to do all of this (i.e. JS packages)? Thanks
Super helpful! Can you give me an idea how may I know if the contract is already “open for trading” or “enable trading”?
I never comment but this was really helpful. Couldnt find this info for the life of me
Glad it was helpful!
Helpful boss. Thank you.
I'm learning a lot from these videos, thank you. What do you think about using Flashbots to avoid being front-run by bots looking at transactions waiting in the mempool?
I haven't. Can you elaborate how flashbots would prevent frontrunning?
Do I need to do this if I have a premium subscription to Dune?
hey bro, can we do the same with new Uniswap Universal Router ? I tried with no luck... thanks
Can u make a video for decoding all logs from tx, to read and decode function name, amount in, amount out etc, from, to etc.
I'll add to my todo list
In the meantime, there's examples of parsing logs in the ethersJS docs i think
@@blockmancodes I think I kinda figured it out, its just hex values and function names are hashed.
How fork pancakeswap liquidity pool?
hey -- where is the gist? How about going the other way? Topic>>> how to create the "data" variable using a contract?
super helpful. thanks
My pleasure!
Ive got undefined console.log(abiDecoder.decodeMethod(decodedData.params[1].value[0])) from this call, i tried on execute function, what may be reason?
i got the same error. did you figure out the solution?
I got the same "undefined", what is the problem?
@@huomeng5748 Same problem for me, did you try to decode multicall or execute?
awesome channel
Thank you!
So, unless we have the ABI for the MultiCall contract, there's no way to decode it?
Yes. You need an ABI to decode. But it's easy to get almost any ABI on etherscan
What questions do you have? What other tutorials would you like to see?
Hi , Can you please make a video of uniswap multi call (swapping multiple tokens in a go) directly using the metamask extension with out using the infura rpc and secret keys
Hello I would love to see how to decode a Uniswap Universal router transaction, I have been trying to modify your approach to V3 without luck. This was great to learn for V3 also so thankyou!
I'm having problems decoding the universal router, specifically the execute function. would love to see a video on this. thanks!
@@TN-jz5gb i also have this problem
Wow wow❤
Glad it's helpful!
Excellent, thank you Bro
Glad to help brother