New accident report
The ReportAccident transaction represents a new accident report that can be submitted by the application developed by the Emergency Call Center. The transaction is processed locally by the blockchain peer of the partner, and in our case, it is distributed and endorsed by everyone. Once the smart contract code that is executed by the transaction is complete, it transmits a NewAccident event. The application from AutoLease is listening to these kinds of events through websockets, and if the license plate number exists in their system, the data is queried and recorded in their back-end system. The insurance companies can also listen to the same kinds of events in order to understand that something happened to the vehicle. ...
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.
Read now
Unlock full access