github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/transaction_parameters_response.go (about)

     1  package models
     2  
     3  // TransactionParametersResponse transactionParams contains the parameters that
     4  // help a client construct a new transaction.
     5  type TransactionParametersResponse struct {
     6  	// ConsensusVersion consensusVersion indicates the consensus protocol version
     7  	// as of LastRound.
     8  	ConsensusVersion string `json:"consensus-version"`
     9  
    10  	// Fee fee is the suggested transaction fee
    11  	// Fee is in units of micro-Algos per byte.
    12  	// Fee may fall to zero but transactions must still have a fee of
    13  	// at least MinTxnFee for the current network protocol.
    14  	Fee uint64 `json:"fee"`
    15  
    16  	// GenesisHash genesisHash is the hash of the genesis block.
    17  	GenesisHash []byte `json:"genesis-hash"`
    18  
    19  	// GenesisId genesisID is an ID listed in the genesis block.
    20  	GenesisId string `json:"genesis-id"`
    21  
    22  	// LastRound lastRound indicates the last round seen
    23  	LastRound uint64 `json:"last-round"`
    24  
    25  	// MinFee the minimum transaction fee (not per byte) required for the
    26  	// txn to validate for the current network protocol.
    27  	MinFee uint64 `json:"min-fee"`
    28  }