Skip to content
You are reading ConsenSys Rollups development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Updated on September 22, 2021

Money orders

Money orders are used to send transactions between two accounts in a rollup. The transaction process is performed in two steps: the sender creates the money order, then the recipient redeems it. A money order can only be redeemed once stored onchain.

An operator stores money order batches in memory as a sparse Merkle tree (SMT) before sending the batch onchain. An SMT contains the money order batch root hashes that have been added to the rollup.

A money order can be created using the createMoneyOrder API, and redeemed using the redeemMoneyOrder API. Both sender and recipient accounts must belong in the rollup.

Questions or feedback? You can discuss and obtain free support on ConsenSys Rollups Discord channel.