onEvent

abstract fun onEvent(event: Event)

Listens to various Fireblocks events see Event. Each event has relevant information. In addition, in case of an error we will add the FireblocksError with the relevant error code