How can I get emitted events from a solidity smart contract on the Hedera Network? My best guess is via ContractFunctionResult.
Where does one access events that are emitted from a solidity contract, either via a node or a mirror?
270 views Asked by cisc0 At
1
There are 1 answers
Related Questions in HEDERA-HASHGRAPH
- Hedera CreateNFTTutorial throws error - "transaction is immutable; it has at least one signature or has been explicitly frozen"
- Solidity Smart Contract & Hedera Hashgraph Javascript SDK Integration
- When setting up local node for HEDERA, some containers not running, ports are not available
- I have a problem with HBAR on my Ledger regarding block verification after sending from Hashpack
- How to fix discrepancy in transaction nonce after Hedera Testnet reset?
- Want to ask about the option to make index components private or public in the ID TOKEN account
- Does HashPack wallet support a subscription model?
- Hedera, Following getting started I got errors in the first page
- Querying Related Account IDs Linked to a Public Key in Hedera Hashgraph
- How can I convert a Hedera Account ID Alias (hexadecimal) into a Hedera Account ID Alias (chacracters only)?
- How can I get the Hedera JS SDK to shut down gracefully?
- How do I run a stress test to get the TPS of the Hedera local network?
- Why am I not able to deploy erc721 contract on the Hedera testnet?
- Hedera Hashgraph Local Node AccountCreateTransaction Error
- How to create a Hedera transaction signed by one account but paid for with another account
Related Questions in HASHGRAPH
- I have a problem with HBAR on my Ledger regarding block verification after sending from Hashpack
- A p2p secure chat application need more ressources to establish the work
- how can I force a query to Hedera to be directed to a mirror node?
- how can I integrate hedara hashgraph and flutter?
- Hedera Rust SDK unable to encoded transaction
- How do I query a transaction receipt and confirm that the transaction is executed successfully on Hedera network?
- How do I send a transaction to HashPack for signing?
- INVALID_FULL_PREFIX_SIGNATURE_FOR_PRECOMPILE error when trying to create a token on Hedera via a smart contract
- I am getting error message SPENDER_DOES_NOT_HAVE_ALLOWANCE while attempting to transfer HTS tokens via a smart contract
- I am getting an INSUFFICIENT_TX_FEE error when trying to call a Solidity function that mints an HTS token
- How do I get the transaction id after I transfer Hbar using the following code?
- Is there a way to extend the transaction validity over 180 seconds?
- Problem submitting request to node, retry with new node: BUSY
- max attempts of 10 was reached for request with last error being: RECEIPT_NOT_FOUND
- Does connecting HashPack wallet mean the application can read my private key?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You have few options:
More on hether.js events here: https://docs.hedera.com/hethers/application-programming-interface/contract-interaction/contract#events
You can use ethers.js or web3.js with the Hedera SDKs to parse event logs, either from transaction records or mirror node api results. So, to get event data in a readable fashion you would use the contract’s ABI, log data, and ethers/web.js. Here's some sample JS code using ethers.js and mirror node (can do something similar with info from the tx record):
}