Updated on March 10, 2020
Accessing private and privacy marker transactions
A Hyperledger Besu private transaction creates a privacy marker transaction as well as the private transaction itself.
With the transaction hash returned when submitting the private transaction, to get the transaction receipt for the:
- Private transaction, use
- Privacy marker transaction, use
The transaction receipt includes a
status indicating success (
0x1) or failure (
0x0) of the
Private Transaction Failure Example
To deploy a private contract, you submit a transaction using
contract deployment fails because of insufficient gas, the privacy marker transaction receipt
has a status of success and the private transaction receipt has a status of failure.
With the transaction hash returned when submitting the private transaction, to get the: