Packages

c

io.horizen.account.transaction

EthereumTransaction

class EthereumTransaction extends AccountTransaction[AddressProposition, SignatureSecp256k1]

Annotations
@JsonPropertyOrder() @JsonIgnoreProperties() @JsonView()
Linear Supertypes
AccountTransaction[AddressProposition, SignatureSecp256k1], Transaction, Transaction, EphemerealNodeViewModifier, NodeViewModifier, SparkzEncoding, BytesSerializable, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EthereumTransaction
  2. AccountTransaction
  3. Transaction
  4. Transaction
  5. EphemerealNodeViewModifier
  6. NodeViewModifier
  7. SparkzEncoding
  8. BytesSerializable
  9. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EthereumTransaction(txToSign: EthereumTransaction, inSignature: SignatureSecp256k1)
  2. new EthereumTransaction(chainId: Long, to: Optional[AddressProposition], nonce: BigInteger, gasLimit: BigInteger, maxPriorityFeePerGas: BigInteger, maxFeePerGas: BigInteger, value: BigInteger, data: Array[Byte], inSignature: SignatureSecp256k1)
  3. new EthereumTransaction(chainId: Long, to: Optional[AddressProposition], nonce: BigInteger, gasPrice: BigInteger, gasLimit: BigInteger, value: BigInteger, data: Array[Byte], inSignature: SignatureSecp256k1)
  4. new EthereumTransaction(to: Optional[AddressProposition], nonce: BigInteger, gasPrice: BigInteger, gasLimit: BigInteger, value: BigInteger, data: Array[Byte], inSignature: SignatureSecp256k1)

Type Members

  1. abstract type M >: EthereumTransaction.this.type <: BytesSerializable
    Definition Classes
    BytesSerializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asMessage(baseFee: BigInteger): Message
  6. def bytes: Array[Byte]
    Definition Classes
    BytesSerializable
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def encode(accountSignature: Boolean, writer: Writer): Unit
  9. def encode(accountSignature: Boolean): Array[Byte]
  10. def encodedId: String
    Definition Classes
    NodeViewModifier
  11. implicit val encoder: SparkzEncoder
    Definition Classes
    SparkzEncoding
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean
    Definition Classes
    NodeViewModifier → AnyRef → Any
  14. def getChainId(): Long
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def getData(): Array[Byte]
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  17. def getDataString(): String
    Annotations
    @JsonIgnore()
  18. def getEffectiveGasPrice(base: BigInteger): BigInteger

    Calculate effective gas price, this will work for both legacy and EIP1559 transactions.

    Calculate effective gas price, this will work for both legacy and EIP1559 transactions.

    base

    base fee applicable for this transaction

    returns

    effective gas price

    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override() @JsonIgnore()
  19. def getFrom(): AddressProposition
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  20. def getFromAddress(): Address
    Annotations
    @JsonIgnore()
  21. def getGasLimit(): BigInteger
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  22. def getGasPrice(): BigInteger

    Price per unit of gas a user is willing to pay for their transaction to be executed.

    Price per unit of gas a user is willing to pay for their transaction to be executed.

    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override() @JsonIgnore()
  23. def getMaxFeePerGas(): BigInteger

    Maximum fee per unit of gas a user is willing to pay for their transaction to be executed.

    Maximum fee per unit of gas a user is willing to pay for their transaction to be executed. Effective fee per unit of gas is base fee plus priority fee, but capped by this value.

    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override() @JsonIgnore()
  24. def getMaxPriorityFeePerGas(): BigInteger

    Fee per unit of gas a user is willing to pay for their transaction to be executed, in addition to base fee.

    Fee per unit of gas a user is willing to pay for their transaction to be executed, in addition to base fee. It is the part of the gas fee paid directly to the block forger. In case the sum of base fee and max priority fee is greater than max fee per gas, the user will pay just max fee per gas, thus the effective priority fee is reduced to max fee minus base fee.

    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override() @JsonIgnore()
  25. def getNonce(): BigInteger
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  26. def getPriorityFeePerGas(base: BigInteger): BigInteger
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override() @JsonIgnore()
  27. def getSignature(): SignatureSecp256k1
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  28. def getTo(): Optional[AddressProposition]
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override() @JsonIgnore()
  29. def getToAddress(): Address
    Annotations
    @JsonIgnore()
  30. def getValue(): BigInteger
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def id(): String
    Definition Classes
    EthereumTransaction → Transaction → NodeViewModifier
    Annotations
    @Override() @JsonProperty()
  33. def isEIP155(): Boolean
  34. def isEIP1559(): Boolean
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. def isLegacy(): Boolean
  37. def isSigned(): Boolean
  38. def maxCost(): BigInteger
    Definition Classes
    EthereumTransactionAccountTransaction
    Annotations
    @Override()
  39. def messageToSign(): Array[Byte]
    Definition Classes
    EthereumTransaction → Transaction
    Annotations
    @Override()
  40. val modifierTypeId: ModifierTypeId
    Definition Classes
    Transaction → NodeViewModifier
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  44. def semanticValidity(): Unit
    Definition Classes
    EthereumTransactionAccountTransactionTransaction
    Annotations
    @Override()
  45. def serializer(): TransactionSerializer
    Definition Classes
    EthereumTransaction → BytesSerializable
    Annotations
    @Override()
  46. def size(): Long
    Definition Classes
    EthereumTransactionTransaction
    Annotations
    @Override() @JsonProperty()
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    EthereumTransaction → AnyRef → Any
    Annotations
    @Override()
  49. def transactionTypeId(): Byte
    Definition Classes
    EthereumTransactionTransaction
    Annotations
    @Override()
  50. def version(): Byte
    Definition Classes
    EthereumTransactionTransaction
    Annotations
    @Override() @JsonProperty()
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Transaction

Inherited from Transaction

Inherited from EphemerealNodeViewModifier

Inherited from NodeViewModifier

Inherited from SparkzEncoding

Inherited from BytesSerializable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped