Skip to content

Global

Algorand TypeScript


Algorand TypeScript / op / Global

const Global: object

Defined in: op.ts:1551

get assetCreateMinBalance(): uint64

The additional minimum balance required to create (and opt-in to) an asset. Min AVM version: 10

uint64

get assetOptInMinBalance(): uint64

The additional minimum balance required to opt-in to an asset. Min AVM version: 10

uint64

get callerApplicationAddress(): Account

The application address of the application that called this application. ZeroAddress if this application is at the top-level. Application mode only. Min AVM version: 6

Account

get callerApplicationId(): uint64

The application ID of the application that called this application. 0 if this application is at the top-level. Application mode only. Min AVM version: 6

uint64

get creatorAddress(): Account

Address of the creator of the current application. Application mode only. Min AVM version: 3

Account

get currentApplicationAddress(): Account

Address that the current application controls. Application mode only. Min AVM version: 5

Account

get currentApplicationId(): Application

ID of current application executing. Application mode only. Min AVM version: 2

Application

get genesisHash(): bytes<32>

The Genesis Hash for the network. Min AVM version: 10

bytes<32>

get groupId(): bytes<32>

ID of the transaction group. 32 zero bytes if the transaction is not part of a group. Min AVM version: 5

bytes<32>

get groupSize(): uint64

Number of transactions in this atomic transaction group. At least 1 Min AVM version: 1

uint64

get latestTimestamp(): uint64

Last confirmed block UNIX timestamp. Fails if negative. Application mode only. Min AVM version: 2

uint64

get logicSigVersion(): uint64

Maximum supported version Min AVM version: 2

uint64

get maxTxnLife(): uint64

rounds Min AVM version: 1

uint64

get minBalance(): uint64

microalgos Min AVM version: 1

uint64

get minTxnFee(): uint64

microalgos Min AVM version: 1

uint64

get opcodeBudget(): uint64

The remaining cost that can be spent by opcodes in this program. Min AVM version: 6

uint64

get payoutsEnabled(): boolean

Whether block proposal payouts are enabled. Min AVM version: 11

boolean

get payoutsGoOnlineFee(): uint64

The fee required in a keyreg transaction to make an account incentive eligible. Min AVM version: 11

uint64

get payoutsMaxBalance(): uint64

The maximum balance an account can have in the agreement round to receive block payouts in the proposal round. Min AVM version: 11

uint64

get payoutsMinBalance(): uint64

The minimum balance an account must have in the agreement round to receive block payouts in the proposal round. Min AVM version: 11

uint64

get payoutsPercent(): uint64

The percentage of transaction fees in a block that can be paid to the block proposer. Min AVM version: 11

uint64

get round(): uint64

Current round number. Application mode only. Min AVM version: 2

uint64

get zeroAddress(): Account

32 byte address of all zero bytes Min AVM version: 1

Account