TransactionParams - Algorand

Get parameters for constructing a new transaction.

Endpoint

httpGET /v2/transactions/params

Example

bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_ALGOD}v2/transactions/params"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
consensus-versionstringConsensusVersion indicates the consensus protocol version
feeintegerFee is the suggested transaction fee
genesis-hashstringGenesisHash is the hash of the genesis block.
genesis-idstringGenesisID is an ID listed in the genesis block.
last-roundintegerLastRound indicates the last round seen
min-feeintegerThe minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect