Class TxTypeFeeDelegatedAccountUpdateWithRatio

    • Constructor Detail

      • TxTypeFeeDelegatedAccountUpdateWithRatio

        public TxTypeFeeDelegatedAccountUpdateWithRatio​(java.math.BigInteger nonce,
                                                        java.math.BigInteger gasPrice,
                                                        java.math.BigInteger gasLimit,
                                                        java.lang.String from,
                                                        AccountKey accountKey,
                                                        java.math.BigInteger feeRatio)
        Deprecated.
    • Method Detail

      • createTransaction

        public static TxTypeFeeDelegatedAccountUpdateWithRatio createTransaction​(java.math.BigInteger nonce,
                                                                                 java.math.BigInteger gasPrice,
                                                                                 java.math.BigInteger gasLimit,
                                                                                 java.lang.String from,
                                                                                 AccountKey accountKey,
                                                                                 java.math.BigInteger feeRatio)
        Deprecated.
      • getAccountKey

        public AccountKey getAccountKey()
        Deprecated.
      • rlpValues

        public java.util.List<org.web3j.rlp.RlpType> rlpValues()
        Deprecated.
        create RlpType List which contains nonce, gas price, gas limit, from, accountKey and feeRatio. 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 FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO type. The return value is used for rlp encoding.
        Returns:
        Type transaction type
      • decodeFromRawTransaction

        public static TxTypeFeeDelegatedAccountUpdateWithRatio 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:
        TxTypeFeeDelegatedAccountUpdateWithRatio decoded transaction
      • decodeFromRawTransaction

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

        protected java.util.List<org.web3j.crypto.ECKeyPair> getEcKeyPairsForSenderSign​(KlayCredentials credentials)
        Deprecated.
        get the keys you need to sign transactions
        Overrides:
        getEcKeyPairsForSenderSign in class AbstractTxType
        Parameters:
        credentials - credentials for signing
        Returns:
        List of keys for signing