Packages

c

io.horizen.account.api.rpc.types

TransactionArgs

class TransactionArgs extends AnyRef

Annotations
@JsonIgnoreProperties()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionArgs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getFrom(): Address

    Get sender address or use zero address if none specified.

  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. 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.

  17. def toString(): String
    Definition Classes
    TransactionArgs → AnyRef → Any
    Annotations
    @Override()
  18. 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

    RpcException If chainId is given but does not match, or if maxFeePerGas is less than maxPriorityFeePerGas.

  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. 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 AnyRef

Inherited from Any

Ungrouped