Updated on April 26, 2020

Sending concurrent private transactions

Private transaction processing involves two transactions, the private transaction and the privacy marker transaction. The private transaction and the privacy marker transaction each have their own nonce.

If your private transaction rate requires sending private transactions without waiting for the previous private transaction to be mined, you must use priv_distributeRawTransaction instead of eea_sendRawTransaction. When using priv_distributeRawTransaction you create and send the privacy marker transaction yourself rather than eea_sendRawTransaction handling the privacy marker transaction.

The web3js-eea library includes an example of how to send concurrent private transactions.