Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Global

An expression that accesses a global property.

Hierarchy

Index

Constructors

constructor

Properties

field

Methods

And

  • Take the logical And of this expression and another one.

    This expression must evaluate to uint64.

    This is the same as using And() with two arguments.

    Parameters

    Returns Expr

Or

  • Take the logical Or of this expression and another one.

    This expression must evaluate to uint64.

    This is the same as using Or() with two arguments.

    Parameters

    Returns Expr

add

and

eq

ge

gt

invert

le

lt

mod

mul

ne

or

sub

teal

toString

  • toString(): string

truediv

typeOf

xor

Static creatorAddress

  • Address of the creator of the current application.

    Fails if no such application is executing. Requires TEAL version 3 or higher.

    Returns Global

Static currentApplicationId

  • currentApplicationId(): Global
  • Get the ID of the current application executing.

    Fails if no application is executing.

    Returns Global

Static groupSize

  • Get the number of transactions in this atomic transaction group.

    This will be at least 1.

    Returns Global

Static latestTimestamp

Static logicSigVersion

Static maxTxnLife

Static minBalance

Static minTxnFee

Static round

Static zeroAddress

Generated using TypeDoc