Skip to content
This new developer portal is under construction. For complete documentation, please refer to the old developer portal.

Get parameters for constructing a new transaction

GET
/v2/transactions/params

Authorizations

Responses

200

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

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

object
consensus-version
required

ConsensusVersion indicates the consensus protocol version as of LastRound.

string
fee
required

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.

integer
genesis-hash
required

GenesisHash is the hash of the genesis block.

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

GenesisID is an ID listed in the genesis block.

string
last-round
required

LastRound indicates the last round seen

integer
min-fee
required

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

integer

401

Invalid API Token

An error response with optional data field.

object
data
object
message
required
string

500

Internal Error

An error response with optional data field.

object
data
object
message
required
string

503

Service Temporarily Unavailable

An error response with optional data field.

object
data
object
message
required
string

default

Unknown Error