Class TxTypeSmartContractDeploy

    • Constructor Detail

      • TxTypeSmartContractDeploy

        public TxTypeSmartContractDeploy​(java.math.BigInteger nonce,
                                         java.math.BigInteger gasPrice,
                                         java.math.BigInteger gasLimit,
                                         java.math.BigInteger value,
                                         java.lang.String from,
                                         byte[] payload,
                                         java.math.BigInteger codeFormat)
        Deprecated.
    • Method Detail

      • createTransaction

        public static TxTypeSmartContractDeploy createTransaction​(java.math.BigInteger nonce,
                                                                  java.math.BigInteger gasPrice,
                                                                  java.math.BigInteger gasLimit,
                                                                  java.math.BigInteger value,
                                                                  java.lang.String from,
                                                                  byte[] payload,
                                                                  java.math.BigInteger codeFormat)
        Deprecated.
      • getPayload

        public byte[] getPayload()
        Deprecated.
      • getCodeFormat

        public java.math.BigInteger getCodeFormat()
        Deprecated.
      • rlpValues

        public java.util.List<org.web3j.rlp.RlpType> rlpValues()
        Deprecated.
        create RlpType List which contains nonce, gas price, gas limit, to, value, from, payload and isHumanReadable. List elements can be different depending on transaction type.
        Specified by:
        rlpValues in interface TxType
        Overrides:
        rlpValues in class AbstractTxType
        Returns:
        List RlpType List
      • getType

        public TxType.Type getType()
        Deprecated.
        This method is overridden as SMART_CONTRACT_DEPLOY type. The return value is used for rlp encoding.
        Returns:
        Type transaction type
      • decodeFromRawTransaction

        public static TxTypeSmartContractDeploy decodeFromRawTransaction​(byte[] rawTransaction)
        Deprecated.
        decode transaction hash from sender to reconstruct transaction with fee payer signature.
        Parameters:
        rawTransaction - RLP-encoded signed transaction from sender
        Returns:
        TxTypeSmartContractDeploy decoded transaction
      • decodeFromRawTransaction

        public static TxTypeSmartContractDeploy decodeFromRawTransaction​(java.lang.String rawTransaction)
        Deprecated.
        Parameters:
        rawTransaction - RLP-encoded signed transaction from sender
        Returns:
        TxTypeSmartContractDeploy decoded transaction