Params

Get parameters for constructing a new transaction

GEThttps://algo.nownodes.io/v2/transactions/params
Response

TransactionParams contains the parameters that help a client construct a new transaction.

Body
consensus-version*string

ConsensusVersion indicates the consensus protocol version as of LastRound.

fee*integer

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.

genesis-hash*string (byte)

GenesisHash is the hash of the genesis block.

Pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
genesis-id*string

GenesisID is an ID listed in the genesis block.

last-round*integer

LastRound indicates the last round seen

min-fee*integer

The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.

Request
const response = await fetch('https://algo.nownodes.io/v2/transactions/params', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "consensus-version": "text",
  "fee": 0,
  "genesis-hash": "Ynl0ZXM=",
  "genesis-id": "text",
  "last-round": 0,
  "min-fee": 0
}