Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

Reading Ethereum contract event TypeError: Cannot read properties of undefined (reading 'toHexString')

Check your process.env.KEY . It must be giving undefined . It should be a hex string . Incorrect process.env.KEY is causing const wallet = new ethers.Wallet(process.env.KEY, provider) to throw an ...
shadow's user avatar
  • 13
1 vote

How can I listen emitted events from BSC network

You can try Bitquery Events API to listen to emitted events on BSC Network. You can try the websocket here in Bitquery API Playground - https://ide.bitquery.io/Listen-to-emitted-events-on-BSC-...
Akshat Meena's user avatar
0 votes

Does Etherscan store all the events and transaction history?

On the monetisation of etherscan: Annual subscription fees for Etherscan's EaaS service has reportedly grown to $2 million per year. "EtherScan is a very good product, but smart contract ...
Pavel Fedotov's user avatar
1 vote
Accepted

Efficiently Visualizing and Retrieval Ethereum Smart Contract Events on Decentralized Storage

I've noticed many reputable protocols like Uniswap, Aave, etc. utilising Graph for retrieving and visualizing events data. Using that, they access large amounts of data in real-time through various ...
SYED ASAD KAZMI's user avatar
1 vote
Accepted

Storage variables or event log

Blockchain Storage variable is like a box, they hold data for the contract to use later, but they cost more and event logs are like a notice board: record something that happened during a transaction ...
Awais Ahmad's user avatar
1 vote
Accepted

Emitting Debug Messages on an Arbitrum Contract during an AAVE Flashloan Call

Yeah, events emitted are rolled back if the tx reverts, that's why they aren't shown. You can use this explorer https://app.blocksec.com/explorer/ to debug a failed transaction, it shows the rolled ...
0xSanson's user avatar
  • 3,249
0 votes

How to listen to contract events using ethers.js?

In addition to using Ethers.js, you can use Bitquery streams. This makes programming easier, and data parsing is already done on Bitquery's end. Here is an example of a PairCreated Event on the ...
Gaurav Agrawal's user avatar
0 votes

WEBSOCKETS Provider url for binance smart chain

Here is an example of BSC smart contract events stream. https://ide.bitquery.io/BSC-websocket-for-log-monitoring You can subscribe to any smart contract or specfic event. Learn more from their docs - ...
Gaurav Agrawal's user avatar

Top 50 recent answers are included