Package org.web3j.tx

Class FastRawTransactionManager


  • public class FastRawTransactionManager
    extends RawTransactionManager
    Simple RawTransactionManager derivative that manages nonces to facilitate multiple transactions per block.
    • Constructor Detail

      • FastRawTransactionManager

        public FastRawTransactionManager​(Web3j web3j,
                                         org.web3j.crypto.Credentials credentials,
                                         long chainId)
      • FastRawTransactionManager

        public FastRawTransactionManager​(Web3j web3j,
                                         org.web3j.crypto.Credentials credentials)
      • FastRawTransactionManager

        public FastRawTransactionManager​(Web3j web3j,
                                         org.web3j.crypto.Credentials credentials,
                                         TransactionReceiptProcessor transactionReceiptProcessor)
      • FastRawTransactionManager

        public FastRawTransactionManager​(Web3j web3j,
                                         org.web3j.crypto.Credentials credentials,
                                         long chainId,
                                         TransactionReceiptProcessor transactionReceiptProcessor)
    • Method Detail

      • getNonce

        protected java.math.BigInteger getNonce()
                                         throws java.io.IOException
        Overrides:
        getNonce in class RawTransactionManager
        Throws:
        java.io.IOException
      • getCurrentNonce

        public java.math.BigInteger getCurrentNonce()
      • resetNonce

        public void resetNonce()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • setNonce

        public void setNonce​(java.math.BigInteger value)