0

In my Vue JS Dapp, which uses Drizzle Vue Plugin, I listen for contract events using $drizzleEvents like so:

this.$drizzleEvents.$on('drizzle/contractEvent', (payload) => {
  this.contractEventHandler(payload);
});

This works well for custom events emitted from my registered contract. However, how can I listen to general Drizzle Action events such as TX_CONFIRMAITON, TX_BROADCASTED, TX_ERROR, BLOCK_PROCESSING and so on as listed here: https://www.trufflesuite.com/docs/drizzle/reference/drizzle-actions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.