Hey!
My job is to get all the method name from the token contract transactions from the beginning and to display the new transactions in realtime.
1) Get all events
For the moment I can display the "Transfer" events in realtime with:
```const targetContract = new ethers.Contract(
"0x30062EaBec018aC86430134E2c4Ff27e963Eda13",
[
"event Transfer(address indexed from, address indexed to, uint amount)",
],
ACCOUNT
);
targetContract.on("Transfer", (from, to, amount, event) => {
console.log(event);
});```
Otherwise when I try to recover the logs with INFURA:
INFURA.getLogs("0x30062EaBec018aC86430134E2c4Ff27e963Eda13").then((data) => { console.log(data); });
I don't understand what it shows me... It shows me a lot of information while there are not many events...
So for now I need to get all the events in realtime (and not just "Transfer") and to be able to get all the old ones. Like "Add Liquidity", "Max Tx" and other custom events
2) Get method name
I'm trying to decode method name from a TX.data but as I can see, with ethers.js or Infura it's not possible (or I missed something)
[ "address user", "address rootToken", "bytes depositData" ],
ethers.utils.hexDataSlice(data, 4) ));
I tried this but I need to provide the corrects arguments...
So well... if I can't decode without arguments my other choice it's to know if it's possible to just get the method name.
Then I searched a transaction in a shitty coin and I found this:
https://etherscan.io/tx/0x9056f12256f1194d84d5f192087d20cd7fa8284b537e0476096eda08fde3394d
But when I'm using etherscan.io/api I don't have anything about the data (and not the method name)
https://api.etherscan.io/api?module=proxy&action=eth_getTransactionReceipt&txhash=0x9056f12256f1194d84d5f192087d20cd7fa8284b537e0476096eda08fde3394d&apikey=
In summary: I would just like to get the name of the methods and to be able to make a display like etherscan.io, like this:
Thank you!
getTransactionReceipt
to read the status
of a transaction if it has failed or not. There are txns where although they have a transaction status of 0x0
I can see that they have been included in a block (a blockNumber
exists in the response). Does this mean that the transaction has been confirmed? This is regarding simple txns. Now, txns that are sent to a contract, how can I check if the transaction has been confirmed on the chain but the contract execution failed? I am using geth
as my node. Any help would be appreciated
Hello, my name is Konstantin, I am the Product marketing manager at WatchData.io
WatchData - API service for WEB 3.0.
We help crypto platforms, developers, wallets, portfolio trackers and various analytics services solve the problem of interacting with the blockchain, receiving and processing data. Own blockchain nodes allow us to provide up-to-date information. We support Ethereum Mainnet/Testnet (ETH), Tron (TRX), Bitcoin (BTC), Binance Smart Chain (BSC)
Our infrastructure is capable of:
Benefit for your business:
Benefit for your team:
https://www.watchdata.io/ - website
https://docs.watchdata.io/ - documentation
Hello
Friends! Let's all do a good deed together. Support our army, refugees, children
The Ukrainian military needs vests, helmets, warm clothes, food, medicines
Refugees need warm blankets, food
In homes where newborn children are left without mothers, hygiene products and baby food are needed.
We are raising money to help the Ukrainian people!
By donating $10 you can help a lot.
All money will be transferred.
A photo report on checks is guaranteed to be provided in the telegram channel
ETH address for payment:
0x9f19fdaf5b3E5771e60335c644A24B410CaB7285
BTC address for payment:
bc1q8chhz4ac4s848eh2wf5mh5xt5tay94f7qj06r0
USDT erc20 address for payment:
0x9f19fdaf5b3E5771e60335c644A24B410CaB7285
USDT trc20 address for payment:
TXhoGoGDBgLfS9vfWrSwVDbXe4uvF4R18g
BNB address for payment:
bnb1thdxnkk8ydafmmmkvv8d2y0ptjcvduyvsx8y98
BUSD address for payment:
0x9f19fdaf5b3E5771e60335c644A24B410CaB7285
TRX address for payment
TXhoGoGDBgLfS9vfWrSwVDbXe4uvF4R18g
Do it in the sack of God 🙏
💰💵❤️ ATTENTION ATTENTION ATTENTION 💰💵❤️
👉👉 JUST LAUNCHED ... ONLY 7 DAYS OLD
💰PAYS 8% PER DAY
💰👉👉 TVL: 800 BNB ($321,000) on FIRST DAY !!!
⭐️ 8% Daily Return! 💰
👉[TELEGRAM]
EN https://t.me/LuckyCatBNB
DE https://t.me/luckycatbnb_german
Not Scam, its Real. BSC, BUSD, SHIBA and many other Miners
Hey guys, I'm from a new ETH 2 liquid staking protocol called Swell Network and I'm reaching out to see if any kind souls can send us some GoETH to run testing on our dapp on goerli? 0x441eC70Ca587Dd0d180023F2C8e9471d03be4983
If not please let me know where I can source some?
This is Danny working as a full-stack and blockchain developer, I am looking for a new opportunity.
I have extensive experience with building CEX, DEX(OnChain, Multichain), NFT Marketplace, NFT Staking and Lending, OlympusDao and Drip community fork with the following skills.
Network: Ethereum, BSC, Tron, Polygon, Cardano, Celo, Matic, Solana, Kyber, Terra,
Smart contract Language: Solidity, Rust
Frontend: React, Angular, Vue for frontend (TailwindCss, Bootstrap5...)
Backend: Node/Express, Python/Django, Php, Go
Here goes my website.
https://danny-jin.netlify.app/
Sincerely,
Danny
🥳 𝗠𝗲𝗲𝘁! 𝗡𝗲𝘄 𝗮𝗽𝗽 - 𝗔𝗶𝗿𝗱𝗿𝗼𝗽 𝗪𝗮𝗹𝗹𝗲𝘁
⭐️ 𝗔𝗶𝗿𝘀𝗚𝗮𝘁𝗲 𝗶𝘀 𝗮 𝗰𝗿𝘆𝗽𝘁𝗼 𝘄𝗮𝗹𝗹𝗲𝘁, 𝘄𝗵𝗶𝗰𝗵 𝗰𝗼𝗻𝘁𝗮𝗶𝗻𝘀 𝗮𝗹𝗹 𝗮𝗰𝘁𝗶𝘃𝗲 𝗔𝗶𝗿𝗱𝗿𝗼𝗽𝘀 𝗳𝗿𝗼𝗺 𝟮𝟬+ 𝗰𝗿𝘆𝗽𝘁𝗼 𝗻𝗲𝘁𝘄𝗼𝗿𝗸𝘀!
👇 𝗜𝗻 𝗵𝗼𝗻𝗼𝗿 𝗼𝗳 𝘁𝗵𝗲 𝗹𝗮𝘂𝗻𝗰𝗵, 𝘄𝗲 𝗮𝗿𝗲 𝗰𝗼𝗻𝗱𝘂𝗰𝘁𝗶𝗻𝗴 𝗮 𝗷𝗼𝗶𝗻𝘁 𝗔𝗶𝗿𝗱𝗿𝗼𝗽 𝗳𝗼𝗿:
🏆 𝟭𝟬𝟬.𝟬𝟬𝟬 𝗧𝗿𝘂𝘀𝘁 𝗪𝗮𝗹𝗹𝗲𝘁 𝗧𝗼𝗸𝗲𝗻 (𝗧𝗪𝗧)
🥇 𝟱𝟬.𝟬𝟬𝟬 𝗙𝗮𝗻𝘁𝗼𝗺 (𝗙𝗧𝗠)
🥈 𝟮𝟬.𝟬𝟬𝟬 𝗧𝗲𝘇𝗼𝘀 (𝗫𝗧𝗭)
🏅 𝟭𝟱.𝟬𝟬𝟬 𝗜𝗻𝘁𝗲𝗿𝗻𝗲𝘁 𝗖𝗼𝗺𝗽𝘂𝘁𝗲𝗿 (𝗜𝗖𝗣)
🥉 𝟭𝟬.𝟬𝟬𝟬 𝗖𝗲𝗹𝗼 (𝗖𝗘𝗟𝗢)
🥇 𝟭𝟬.𝟬𝟬𝟬 𝗙𝗶𝗹𝗲𝗰𝗼𝗶𝗻 (𝗙𝗟𝗖)
👉 𝗗𝗲𝘁𝗮𝗶𝗹𝘀 𝗰𝗮𝗻 𝗯𝗲 𝗳𝗼𝘂𝗻𝗱 𝗶𝗻 𝗼𝘂𝗿 𝗯𝗼𝘁: @AirsBinance_bot
🔥 𝗣𝗮𝗿𝘁𝗶𝗰𝗶𝗽𝗮𝘁𝗶𝗼𝗻 𝗶𝘀 𝗻𝗼𝘁 𝗹𝗶𝗺𝗶𝘁𝗲𝗱!
📈 𝗪𝗲 𝗵𝗼𝗽𝗲 𝘁𝗵𝗮𝘁 𝘁𝗵𝗶𝘀 𝗽𝗲𝗿𝗳𝗼𝗺𝗮𝗻𝗰𝗲 𝘄𝗶𝗹𝗹 𝗵𝗲𝗹𝗽 𝗼𝘂𝗿 𝘂𝘀𝗲𝗿𝘀 𝘁𝗼 𝗯𝗲 𝗮𝘄𝗮𝗿𝗲 𝗼𝗳 𝗮𝗹𝗹 𝘁𝗵𝗲 𝗽𝗼𝘀𝘀𝗶𝗯𝗶𝗹𝗶𝘁𝗶𝗲𝘀 𝗼𝗳 𝘁𝗵𝗲 𝗰𝗿𝘆𝗽𝘁𝗼𝗰𝘂𝗿𝗿𝗲𝗻𝗰𝘆 𝘄𝗼𝗿𝗹𝗱.
🚨 𝗗𝗶𝘀𝗰𝗹𝗮𝗶𝗺𝗲𝗿: 𝗗𝗼𝗻'𝘁 𝘄𝗿𝗶𝘁𝗲 𝘆𝗼𝘂𝗿 𝗽𝗵𝗿𝗮𝘀𝗲𝘀 𝘁𝗼 𝗮𝗻𝘆𝗼𝗻𝗲 𝘁𝗼 𝗿𝗲𝘀𝘁𝗼𝗿𝗲 𝘁𝗵𝗲 𝗔𝗶𝗿𝗱𝗿𝗼𝗽 𝗪𝗮𝗹𝗹𝗲𝘁. 𝗢𝘁𝗵𝗲𝗿𝘄𝗶𝘀𝗲, 𝘆𝗼𝘂 𝗺𝗮𝘆 𝗹𝗼𝘀𝗲 𝘆𝗼𝘂𝗿 𝗿𝗲𝗰𝗲𝗶𝘃𝗲𝗱 𝗰𝗼𝗶𝗻𝘀. 𝗗𝗼𝗻'𝘁 𝘀𝗲𝗻𝗱 𝗮𝗻𝘆 𝗳𝗲𝗲 𝗼𝗿 𝗽𝗲𝗻𝗻𝘆 𝗳𝗼𝗿 𝗿𝗲𝗰𝗲𝗶𝘃𝗶𝗻𝗴 𝗮𝗶𝗿𝗱𝗿𝗼𝗽 𝘁𝗼𝗸𝗲𝗻𝘀. 𝗝𝘂𝘀𝘁 𝗷𝗼𝗶𝗻 𝗮𝗶𝗿𝗱𝗿𝗼𝗽𝘀 𝗳𝗼𝗿 𝗳𝗿𝗲𝗲.
Hey All - I'm hoping there are some active folks here familiar with rlp encoding of 1559 transactions. I'm trying to write a wrapper in Elixir which sends London transactions. I'm encoding the following:[chain_id, nonce, base_fee, gas_fee_cap, gas_limit, to, value, data, v, r, s]
however it seems that the node keeps trying to return the transaction as a Legacy and so I feel like it is sending as Legacy since I'm receiving the following error:
2022-09-13 10:35:14.225 [error] Error: %{"code" => -32000, "message" => "rlp: input string too short for common.Address, decoding into (types.LegacyTx).To"}
Any input would be very helpful on this!