Transaction Manager: Cardano’s 1st all-in-one transaction monitoring system

Maestro
Maestro
Published in
4 min readMay 2, 2023

--

Blockchain technology has revolutionized the way transactions are executed, providing transparency and security. However, managing and monitoring these transactions can be a daunting task for dApp developers, especially when dealing with large volumes. That’s where Maestro’s transaction management and notification service comes in to greatly simplify the process, providing developers with the tools they need to submit, handle errors, and monitor transactions. With webhook notifications, developers can receive real-time alerts for specific blockchain events.

Managing Cardano transactions can be challenging, with transactions passing through various states, such as pending, on-chain, rolled back, or rejected. Keeping track of these states in real-time can be challenging and lead to data integrity issues. But, with Maestro’s state-of-the-art Transaction Manager, developers can easily abstract away the complexities of managing Cardano transaction states, and benefit from automatic retries, rejection error parsing, and pending transaction monitoring.

Cardano Transactions

As a dApp developer, tracking individual states of a transaction is both important and complex. For example, a transaction can be pending in a mempool, onchain in a block, or rolledback from a block before settling to its final state.

A transaction can have the following states:

  • 🟡 Pending: transaction was accepted by the network and is awaiting acceptance into a new block
  • 🔴 Rejected: transaction was rejected by the network due to being invalid
  • ❗️ Failed: communication to the node has failed
  • 🟢 Onchain: transaction was included in a newly minted block
  • 🎢 Rolledback: transaction was removed from the chain due to a rollback and may be included in another block
  • Timedout: Transaction is pending but has exceeded a pre-configured time-to-live for landing on-chain.

Capturing these state transitions in real-time with no delays is challenging and can lead to data integrity issues. Applications must be resilient to these complex network scenarios. For this reason Maestro has built an end-to-end transaction management system.

Transaction Manager

Maestro’s Transaction Manager is a state of the art tool that abstracts away the complexity of managing Cardano transaction states and provides the following benefits:

1. On-submit transaction information:

  • Automatic retries: Automatically resubmitted failed or rollback transactions
  • Rejection error parsing: Transactions rejected by the node will return human-readable and actionable error messages [coming soon]
  • Pending transaction: Transaction was successfully submitted and its on-chain state is being monitored.

2. On-chain webhook notifications:

  • Onchain: get notified when a Pending transaction is included in a new block
  • Rolledback: get notified when block which included the transaction was removed by a rollback
  • Timedout: get notified when a submitted transaction exceeds it’s time-to-live before being included in a block [coming soon]

Transaction State Machine

Transaction state transitions can best be understood with a state machine diagram. Notice the diagram above contains loops, meaning a transaction can cycle through the same state multiple times before reaching its end state.

Maestro’s transaction notification system provides an efficient way for an application to “react” to on-chain events with near zero delays and thereby improve the user’s experience. This is especially critical for time-sensitive applications where real-time user interaction is important.

With Maestro never lose sight of a transaction again and instantly react to every onchain events. Sign up for free and start building now!

Find it here! gomaestro.org/dapp-platform

About Maestro

Maestro is building the developer platform Cardano needs to accelerate dApp development and growth of the DeFi ecosystem.

Our platform will empower you to:

Fund your project — #1 ISPO provider on Cardano, Maestro is the partner you need to leverage this revolutionary fundraising mechanism to raise funds and grow your community.

Build your dApp — Get access to powerful developers tools & APIs and see your dapp come to life without worrying about Cardano infrastructure.

Scale into the future — Take advantage of blockchain-optimized infrastructure to scale your dapp and accelerate innovation on Cardano.

Connect with Maestro

Website | Twitter | Telegram | Discord

--

--

Maestro
Maestro
Editor for

Maestro is building the developer platform Cardano needs to accelerate dApp development and growth of the DeFi ecosystem.