class EthereumTransaction extends AccountTransaction[AddressProposition, SignatureSecp256k1]
- Annotations
- @JsonPropertyOrder() @JsonIgnoreProperties() @JsonView()
- Alphabetic
- By Inheritance
- EthereumTransaction
- AccountTransaction
- Transaction
- Transaction
- EphemerealNodeViewModifier
- NodeViewModifier
- SparkzEncoding
- BytesSerializable
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EthereumTransaction(txToSign: EthereumTransaction, inSignature: SignatureSecp256k1)
- new EthereumTransaction(chainId: Long, to: Optional[AddressProposition], nonce: BigInteger, gasLimit: BigInteger, maxPriorityFeePerGas: BigInteger, maxFeePerGas: BigInteger, value: BigInteger, data: Array[Byte], inSignature: SignatureSecp256k1)
- new EthereumTransaction(chainId: Long, to: Optional[AddressProposition], nonce: BigInteger, gasPrice: BigInteger, gasLimit: BigInteger, value: BigInteger, data: Array[Byte], inSignature: SignatureSecp256k1)
- new EthereumTransaction(to: Optional[AddressProposition], nonce: BigInteger, gasPrice: BigInteger, gasLimit: BigInteger, value: BigInteger, data: Array[Byte], inSignature: SignatureSecp256k1)
Type Members
-
abstract
type
M >: EthereumTransaction.this.type <: BytesSerializable
- Definition Classes
- BytesSerializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMessage(baseFee: BigInteger): Message
-
def
bytes: Array[Byte]
- Definition Classes
- BytesSerializable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def encode(accountSignature: Boolean, writer: Writer): Unit
- def encode(accountSignature: Boolean): Array[Byte]
-
def
encodedId: String
- Definition Classes
- NodeViewModifier
-
implicit
val
encoder: SparkzEncoder
- Definition Classes
- SparkzEncoding
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- NodeViewModifier → AnyRef → Any
- def getChainId(): Long
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getData(): Array[Byte]
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
def
getDataString(): String
- Annotations
- @JsonIgnore()
-
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
- EthereumTransaction → AccountTransaction
- Annotations
- @Override() @JsonIgnore()
-
def
getFrom(): AddressProposition
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
def
getFromAddress(): Address
- Annotations
- @JsonIgnore()
-
def
getGasLimit(): BigInteger
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
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
- EthereumTransaction → AccountTransaction
- Annotations
- @Override() @JsonIgnore()
-
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
- EthereumTransaction → AccountTransaction
- Annotations
- @Override() @JsonIgnore()
-
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
- EthereumTransaction → AccountTransaction
- Annotations
- @Override() @JsonIgnore()
-
def
getNonce(): BigInteger
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
def
getPriorityFeePerGas(base: BigInteger): BigInteger
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override() @JsonIgnore()
-
def
getSignature(): SignatureSecp256k1
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
def
getTo(): Optional[AddressProposition]
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override() @JsonIgnore()
-
def
getToAddress(): Address
- Annotations
- @JsonIgnore()
-
def
getValue(): BigInteger
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
id(): String
- Definition Classes
- EthereumTransaction → Transaction → NodeViewModifier
- Annotations
- @Override() @JsonProperty()
- def isEIP155(): Boolean
- def isEIP1559(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLegacy(): Boolean
- def isSigned(): Boolean
-
def
maxCost(): BigInteger
- Definition Classes
- EthereumTransaction → AccountTransaction
- Annotations
- @Override()
-
def
messageToSign(): Array[Byte]
- Definition Classes
- EthereumTransaction → Transaction
- Annotations
- @Override()
-
val
modifierTypeId: ModifierTypeId
- Definition Classes
- Transaction → NodeViewModifier
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
semanticValidity(): Unit
- Definition Classes
- EthereumTransaction → AccountTransaction → Transaction
- Annotations
- @Override()
-
def
serializer(): TransactionSerializer
- Definition Classes
- EthereumTransaction → BytesSerializable
- Annotations
- @Override()
-
def
size(): Long
- Definition Classes
- EthereumTransaction → Transaction
- Annotations
- @Override() @JsonProperty()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- EthereumTransaction → AnyRef → Any
- Annotations
- @Override()
-
def
transactionTypeId(): Byte
- Definition Classes
- EthereumTransaction → Transaction
- Annotations
- @Override()
-
def
version(): Byte
- Definition Classes
- EthereumTransaction → Transaction
- Annotations
- @Override() @JsonProperty()
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated