class TransactionArgs extends AnyRef
- Annotations
- @JsonIgnoreProperties()
- Alphabetic
- By Inheritance
- TransactionArgs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TransactionArgs(from: Address, to: Address, gas: BigInteger, gasPrice: BigInteger, maxFeePerGas: BigInteger, maxPriorityFeePerGas: BigInteger, value: BigInteger, nonce: BigInteger, data: Array[Byte], input: Array[Byte], chainId: BigInteger)
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getFrom(): Address
Get sender address or use zero address if none specified.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toMessage(baseFee: BigInteger, rpcGasCap: BigInteger): Message
Converts the transaction arguments to the Message type used by the core.
Converts the transaction arguments to the Message type used by the core. This method is used in calls and traces that do not require a real live transaction. Reimplementation of the same logic in GETH.
-
def
toString(): String
- Definition Classes
- TransactionArgs → AnyRef → Any
- Annotations
- @Override()
-
def
toTransaction(params: NetworkParams, history: AccountHistory, pool: AccountMemoryPool, gasEstimator: Supplier[BigInteger]): EthereumTransaction
Creates a new unsigned EthereumTransaction from the given arguments.
Creates a new unsigned EthereumTransaction from the given arguments. If gasPrice is given and both maxFee and priorityFee are omitted a legacy transaction is created, otherwise a dynamic fee transaction (type=2) is created. Missing parameters are autofilled as follows:
- maxPriorityFeePerGas: suggest tip cap
- maxFeePerGas: 2 * baseFee + maxPriorityFeePerGas
- nonce: latest nonce from mempool + 1 or current state nonce
- gas: estimate gas
- params
to get the current chainId
- history
to calculate fee values
- pool
to get current nonce
- gasEstimator
to estimate gas if required
- returns
a new unsigned EthereumTransaction
- Exceptions thrown
RpcExceptionIf chainId is given but does not match, or if maxFeePerGas is less than maxPriorityFeePerGas.
-
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