Skip to Content
Mastering Blockchain Programming with Solidity
book

Mastering Blockchain Programming with Solidity

by Jitendra Chittoda
August 2019
Intermediate to advanced
486 pages
13h 52m
English
Packt Publishing
Content preview from Mastering Blockchain Programming with Solidity

Events

As per the ERC20 standard, there are only two events that need to be logged when a certain function of the contract is called.

The events will only be logged when the transaction is successful. For all failed transactions, these events will not be triggered and logged.

As we saw in the previous chapters, Solidity events can also be filtered. On the client applications, you can subscribe to the topics to listen for the events when they are logged on the Ethereum blockchain. Once these events are triggered, on the client application, you get a notification. Based on these notifications, you can perform your actions. These notifications are push notifications from the Ethereum blockchain (the node you are connected with) to your client ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Ethereum

Mastering Ethereum

Andreas M. Antonopoulos, Gavin Wood
Complete Cryptocurrency and Blockchain Course | Learn Solidity

Complete Cryptocurrency and Blockchain Course | Learn Solidity

Ravinder Deol, Codestars By Rob Percival, Thomas Wiesner

Publisher Resources

ISBN: 9781839218262Supplemental Content