Interface SuggestedParams

Contains parameters relevant to the creation of a new transaction in a specific network at a specific time

interface SuggestedParams {
    fee: number | bigint;
    firstValid: number | bigint;
    flatFee?: boolean;
    genesisHash?: Uint8Array;
    genesisID?: string;
    lastValid: number | bigint;
    minFee: number | bigint;
}

Properties

fee: number | bigint

Integer fee per byte, in microAlgos. For a flat fee, set flatFee to true

firstValid: number | bigint

First protocol round on which this txn is valid

flatFee?: boolean

Set this to true to specify fee as microalgos-per-txn If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum

genesisHash?: Uint8Array

Specifies hash genesis block of network in use

genesisID?: string

Specifies genesis ID of network in use

lastValid: number | bigint

Last protocol round on which this txn is valid

minFee: number | bigint

Minimum fee (not per byte) required for the transaction to be confirmed

Generated using TypeDoc