Class TransactionParametersResponse

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

Implements

Constructors

  • Creates a new TransactionParametersResponse object.

    Parameters

    • __namedParameters: {
          consensusVersion: string;
          fee: number | bigint;
          genesisHash: string | Uint8Array;
          genesisId: string;
          lastRound: number | bigint;
          minFee: number | bigint;
      }
      • consensusVersion: string
      • fee: number | bigint
      • genesisHash: string | Uint8Array
      • genesisId: string
      • lastRound: number | bigint
      • minFee: number | bigint

    Returns TransactionParametersResponse

Properties

consensusVersion: string

ConsensusVersion indicates the consensus protocol version as of LastRound.

fee: bigint

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: Uint8Array

GenesisHash is the hash of the genesis block.

genesisId: string

GenesisID is an ID listed in the genesis block.

lastRound: bigint

LastRound indicates the last round seen

minFee: bigint

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

encodingSchemaValue: undefined | Schema

Accessors

Methods

Generated using TypeDoc