1.3 KiB
description: Creating and sending private transactions
Creating and Sending Private Transactions
Create and send private transactions using:
- web3.js-eea client library or web3j client library
eea_sendTransactionwith EthSignereea_sendRawTransaction
!!! note Private transactions either deploy contracts or call contract functions. Ether transfer transactions cannot be private.
Separate private states are maintained for each privacy group so
the account nonce for an account is specific to the privacy group. That is, the nonce for account A for
privacy group ABC is different to the account nonce for account A for privacy group AB. Use
priv_getTransactionCount to get
the account nonce for an account for the specified privacy group.
!!! note If sending more than 1 transaction to be mined in the same block (that is, you're not waiting for the transaction receipt), you must calculate the private transaction nonce outside Pantheon.