Programmable privacy
This is for advanced customers only. Most of our customers do not modify privacy. Contact us if you are not sure.
Merkle gives users advanced privacy control over their transactions in the private pool.
Profiles
Four privacy profiles are available when sending a transaction:
Public (
public
): all parts of the transaction are leaked to searchers.Private (
private
): no parts of the transaction except are exposed to searchers (transaction is only revealed when mined on-chain).Semi-private (
default
): The to, from, value, nonce, gas limit, logs and data fields of the transaction are leaked to searchers. This is the default.Custom (
custom
): Provide a custom list of hints (see below).
Advanced custom privacy
In addition to the privacy profiles, Merkle offers advanced custom privacy settings via hints. When sending a transaction, a user can include a list of hints to leak to searchers. The list of hints is as follows:
to
: leaks theto
field of the transaction.from
: leaks thefrom
field of the transaction.function_selector
: leaks the first 4 bytes of thedata
field.swap_logs
: only leaks swap-related logs (uniswap, balancer and curve swaps).value
: leaks thevalue
field of the transaction.nonce
: leaks thenonce
field of the transaction.data
: leaks thedata
field of the transaction.gas_limit
: leaks thegas
field of the transaction.gas_price
: leaks the gas fee cap and priority fee to searchers.logs
: leaks the list of logs generated by the transaction to searchers.
All MEV-Share privacy hints are valid and automatically translated to their correct equivalent in the merkle private mempool.
Bundle types
The Merkle private pool offers additional advanced settings for advanced users. The bundle type field tells Merkle what kind of bundle is allowed with the user's transaction. The possible types of bundles are:
backrun
: allow only bundles that backrun the transaction. You allow searchers to put a transaction after your transaction. This is the default.none
: do not allow any bundles. Searchers are not allowed to bid on this transaction. You therefore forfeit any backrun MEV profits for this transaction.
Last updated