Global
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / op / Global
Variable: Global
const
Global:object
Defined in: packages/algo-ts/src/op.ts:1521
Type declaration
assetCreateMinBalance
Get Signature
get assetCreateMinBalance():
uint64
The additional minimum balance required to create (and opt-in to) an asset. Min AVM version: 10
Returns
assetOptInMinBalance
Get Signature
get assetOptInMinBalance():
uint64
The additional minimum balance required to opt-in to an asset. Min AVM version: 10
Returns
callerApplicationAddress
Get Signature
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
Returns
callerApplicationId
Get Signature
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
Returns
creatorAddress
Get Signature
get creatorAddress():
Account
Address of the creator of the current application. Application mode only. Min AVM version: 3
Returns
currentApplicationAddress
Get Signature
get currentApplicationAddress():
Account
Address that the current application controls. Application mode only. Min AVM version: 5
Returns
currentApplicationId
Get Signature
get currentApplicationId():
Application
ID of current application executing. Application mode only. Min AVM version: 2
Returns
genesisHash
Get Signature
get genesisHash():
bytes
The Genesis Hash for the network. Min AVM version: 10
Returns
groupId
Get Signature
get groupId():
bytes
ID of the transaction group. 32 zero bytes if the transaction is not part of a group. Min AVM version: 5
Returns
groupSize
Get Signature
get groupSize():
uint64
Number of transactions in this atomic transaction group. At least 1 Min AVM version: 1
Returns
latestTimestamp
Get Signature
get latestTimestamp():
uint64
Last confirmed block UNIX timestamp. Fails if negative. Application mode only. Min AVM version: 2
Returns
logicSigVersion
Get Signature
get logicSigVersion():
uint64
Maximum supported version Min AVM version: 2
Returns
maxTxnLife
Get Signature
get maxTxnLife():
uint64
rounds Min AVM version: 1
Returns
minBalance
Get Signature
get minBalance():
uint64
microalgos Min AVM version: 1
Returns
minTxnFee
Get Signature
get minTxnFee():
uint64
microalgos Min AVM version: 1
Returns
opcodeBudget
Get Signature
get opcodeBudget():
uint64
The remaining cost that can be spent by opcodes in this program. Min AVM version: 6
Returns
payoutsEnabled
Get Signature
get payoutsEnabled():
boolean
Whether block proposal payouts are enabled. Min AVM version: 11
Returns
boolean
payoutsGoOnlineFee
Get Signature
get payoutsGoOnlineFee():
uint64
The fee required in a keyreg transaction to make an account incentive eligible. Min AVM version: 11
Returns
payoutsMaxBalance
Get Signature
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
Returns
payoutsMinBalance
Get Signature
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
Returns
payoutsPercent
Get Signature
get payoutsPercent():
uint64
The percentage of transaction fees in a block that can be paid to the block proposer. Min AVM version: 11
Returns
round
Get Signature
get round():
uint64
Current round number. Application mode only. Min AVM version: 2
Returns
zeroAddress
Get Signature
get zeroAddress():
Account
32 byte address of all zero bytes Min AVM version: 1