Class TransactionParametersResponse

java.lang.Object
com.algorand.algosdk.v2.client.common.PathResponse
com.algorand.algosdk.v2.client.model.TransactionParametersResponse

public class TransactionParametersResponse
extends PathResponse
TransactionParams contains the parameters that help a client construct a new transaction.
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String consensusVersion
    ConsensusVersion indicates the consensus protocol version as of LastRound.
    java.lang.Long fee
    Fee is the suggested transaction fee Fee is in units of micro-Algos per byte.
    byte[] genesisHash  
    java.lang.String genesisId
    GenesisID is an ID listed in the genesis block.
    java.lang.Long lastRound
    LastRound indicates the last round seen
    java.lang.Long minFee
    The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.
  • Constructor Summary

    Constructors
    Constructor Description
    TransactionParametersResponse()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    java.lang.String genesisHash()  
    void genesisHash​(java.lang.String base64Encoded)
    GenesisHash is the hash of the genesis block.

    Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse

    toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • consensusVersion

      public java.lang.String consensusVersion
      ConsensusVersion indicates the consensus protocol version as of LastRound.
    • fee

      public java.lang.Long fee
      Fee is the suggested transaction fee Fee is in units of micro-Algos per byte. Fee may fall to zero but transactions must still have a fee of at least MinTxnFee for the current network protocol.
    • genesisHash

      public byte[] genesisHash
    • genesisId

      public java.lang.String genesisId
      GenesisID is an ID listed in the genesis block.
    • lastRound

      public java.lang.Long lastRound
      LastRound indicates the last round seen
    • minFee

      public java.lang.Long minFee
      The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.
  • Constructor Details

    • TransactionParametersResponse

      public TransactionParametersResponse()
  • Method Details

    • genesisHash

      public void genesisHash​(java.lang.String base64Encoded)
      GenesisHash is the hash of the genesis block.
    • genesisHash

      public java.lang.String genesisHash()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object