Class ContractCallTransactionModel

java.lang.Object
com.kryptokrauts.aeternity.sdk.service.transaction.type.model.AbstractTransactionModel<ContractCallTx>
com.kryptokrauts.aeternity.sdk.service.transaction.type.model.ContractCallTransactionModel

public class ContractCallTransactionModel
extends AbstractTransactionModel<ContractCallTx>
  • Field Summary

    Fields inherited from class com.kryptokrauts.aeternity.sdk.service.transaction.type.model.AbstractTransactionModel

    fee
  • Constructor Summary

    Constructors
    Constructor Description
    ContractCallTransactionModel​(java.lang.String contractId, java.lang.String callData, java.lang.String callerId, java.math.BigInteger amount, java.math.BigInteger nonce, java.math.BigInteger gasLimit, java.math.BigInteger gasPrice, java.math.BigInteger ttl)  
  • Method Summary

    Modifier and Type Method Description
    AbstractTransaction<?> buildTransaction​(ExternalApi externalApi, InternalApi internalApi)
    builds the necessary transaction object
    java.util.function.Function<Tx,​ContractCallTransactionModel> getApiToModelFunction()
    remap the given genericTx to a model
    ContractCallTx toApiModel()
    this method needs to be implemented for testing purposes (non native mode) and returns the generated tx model from the transaction fields
    void validateInput()
    this method can be used to perform transaction specific validations that will

    Methods inherited from class com.kryptokrauts.aeternity.sdk.service.transaction.type.model.AbstractTransactionModel

    checkMandatoryFields, doSign, getInnerTxModel, hasInnerTx

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait