Algorand TypeScript
    Preparing search index...

    Variable ITxnConst

    ITxn: {
        get amount(): uint64;
        get applicationId(): Application;
        get approvalProgram(): bytes;
        get assetAmount(): uint64;
        get assetCloseTo(): Account;
        get assetReceiver(): Account;
        get assetSender(): Account;
        get clearStateProgram(): bytes;
        get closeRemainderTo(): Account;
        get configAsset(): Asset;
        get configAssetClawback(): Account;
        get configAssetDecimals(): uint64;
        get configAssetDefaultFrozen(): boolean;
        get configAssetFreeze(): Account;
        get configAssetManager(): Account;
        get configAssetMetadataHash(): bytes;
        get configAssetName(): bytes;
        get configAssetReserve(): Account;
        get configAssetTotal(): uint64;
        get configAssetUnitName(): bytes;
        get configAssetUrl(): bytes;
        get createdApplicationId(): Application;
        get createdAssetId(): Asset;
        get extraProgramPages(): uint64;
        get fee(): uint64;
        get firstValid(): uint64;
        get firstValidTime(): uint64;
        get freezeAsset(): Asset;
        get freezeAssetAccount(): Account;
        get freezeAssetFrozen(): boolean;
        get globalNumByteSlice(): uint64;
        get globalNumUint(): uint64;
        get groupIndex(): uint64;
        get lastLog(): bytes;
        get lastValid(): uint64;
        get lease(): bytes;
        get localNumByteSlice(): uint64;
        get localNumUint(): uint64;
        get nonparticipation(): boolean;
        get note(): bytes;
        get numAccounts(): uint64;
        get numAppArgs(): uint64;
        get numApplications(): uint64;
        get numApprovalProgramPages(): uint64;
        get numAssets(): uint64;
        get numClearStateProgramPages(): uint64;
        get numLogs(): uint64;
        get onCompletion(): OnCompleteAction;
        get receiver(): Account;
        get rekeyTo(): Account;
        get selectionPk(): bytes;
        get sender(): Account;
        get stateProofPk(): bytes;
        get txId(): bytes;
        get type(): bytes;
        get typeEnum(): TransactionType;
        get voteFirst(): uint64;
        get voteKeyDilution(): uint64;
        get voteLast(): uint64;
        get votePk(): bytes;
        get xferAsset(): Asset;
        accounts(a: uint64): Account;
        applicationArgs(a: uint64): bytes;
        applications(a: uint64): Application;
        approvalProgramPages(a: uint64): bytes;
        assets(a: uint64): Asset;
        clearStateProgramPages(a: uint64): bytes;
        logs(a: uint64): bytes;
    } = ...

    Get values for the last inner transaction

    Type declaration

    • get amount(): uint64

      microalgos Min AVM version: 5

    • get applicationId(): Application

      ApplicationID from ApplicationCall transaction Min AVM version: 2

    • get approvalProgram(): bytes

      Approval program Min AVM version: 2

    • get assetAmount(): uint64

      value in Asset's units Min AVM version: 5

    • get assetCloseTo(): Account

      32 byte address Min AVM version: 5

    • get assetReceiver(): Account

      32 byte address Min AVM version: 5

    • get assetSender(): Account

      32 byte address. Source of assets if Sender is the Asset's Clawback address. Min AVM version: 5

    • get clearStateProgram(): bytes

      Clear state program Min AVM version: 2

    • get closeRemainderTo(): Account

      32 byte address Min AVM version: 5

    • get configAsset(): Asset

      Asset ID in asset config transaction Min AVM version: 2

    • get configAssetClawback(): Account

      32 byte address Min AVM version: 2

    • get configAssetDecimals(): uint64

      Number of digits to display after the decimal place when displaying the asset Min AVM version: 2

    • get configAssetDefaultFrozen(): boolean

      Whether the asset's slots are frozen by default or not, 0 or 1 Min AVM version: 2

    • get configAssetFreeze(): Account

      32 byte address Min AVM version: 2

    • get configAssetManager(): Account

      32 byte address Min AVM version: 2

    • get configAssetMetadataHash(): bytes

      32 byte commitment to unspecified asset metadata Min AVM version: 2

    • get configAssetName(): bytes

      The asset name Min AVM version: 2

    • get configAssetReserve(): Account

      32 byte address Min AVM version: 2

    • get configAssetTotal(): uint64

      Total number of units of this asset created Min AVM version: 2

    • get configAssetUnitName(): bytes

      Unit name of the asset Min AVM version: 2

    • get configAssetUrl(): bytes

      URL Min AVM version: 2

    • get createdApplicationId(): Application

      ApplicationID allocated by the creation of an application (only with itxn in v5). Application mode only Min AVM version: 5

    • get createdAssetId(): Asset

      Asset ID allocated by the creation of an ASA (only with itxn in v5). Application mode only Min AVM version: 5

    • get extraProgramPages(): uint64

      Number of additional pages for each of the application's approval and clear state programs. An ExtraProgramPages of 1 means 2048 more total bytes, or 1024 for each program. Min AVM version: 4

    • get fee(): uint64

      microalgos Min AVM version: 5

    • get firstValid(): uint64

      round number Min AVM version: 5

    • get firstValidTime(): uint64

      UNIX timestamp of block before txn.FirstValid. Fails if negative Min AVM version: 7

    • get freezeAsset(): Asset

      Asset ID being frozen or un-frozen Min AVM version: 2

    • get freezeAssetAccount(): Account

      32 byte address of the account whose asset slot is being frozen or un-frozen Min AVM version: 2

    • get freezeAssetFrozen(): boolean

      The new frozen value, 0 or 1 Min AVM version: 2

    • get globalNumByteSlice(): uint64

      Number of global state byteslices in ApplicationCall Min AVM version: 3

    • get globalNumUint(): uint64

      Number of global state integers in ApplicationCall Min AVM version: 3

    • get groupIndex(): uint64

      Position of this transaction within an atomic transaction group. A stand-alone transaction is implicitly element 0 in a group of 1 Min AVM version: 5

    • get lastLog(): bytes

      The last message emitted. Empty bytes if none were emitted. Application mode only Min AVM version: 6

    • get lastValid(): uint64

      round number Min AVM version: 5

    • get lease(): bytes

      32 byte lease value Min AVM version: 5

    • get localNumByteSlice(): uint64

      Number of local state byteslices in ApplicationCall Min AVM version: 3

    • get localNumUint(): uint64

      Number of local state integers in ApplicationCall Min AVM version: 3

    • get nonparticipation(): boolean

      Marks an account nonparticipating for rewards Min AVM version: 5

    • get note(): bytes

      Any data up to 1024 bytes Min AVM version: 5

    • get numAccounts(): uint64

      Number of Accounts Min AVM version: 2

    • get numAppArgs(): uint64

      Number of ApplicationArgs Min AVM version: 2

    • get numApplications(): uint64

      Number of Applications Min AVM version: 3

    • get numApprovalProgramPages(): uint64

      Number of Approval Program pages Min AVM version: 7

    • get numAssets(): uint64

      Number of Assets Min AVM version: 3

    • get numClearStateProgramPages(): uint64

      Number of ClearState Program pages Min AVM version: 7

    • get numLogs(): uint64

      Number of Logs (only with itxn in v5). Application mode only Min AVM version: 5

    • get onCompletion(): OnCompleteAction

      ApplicationCall transaction on completion action Min AVM version: 2

    • get receiver(): Account

      32 byte address Min AVM version: 5

    • get rekeyTo(): Account

      32 byte Sender's new AuthAddr Min AVM version: 2

    • get selectionPk(): bytes

      32 byte address Min AVM version: 5

    • get sender(): Account

      32 byte address Min AVM version: 5

    • get stateProofPk(): bytes

      64 byte state proof public key Min AVM version: 6

    • get txId(): bytes

      The computed ID for this transaction. 32 bytes. Min AVM version: 5

    • get type(): bytes

      Transaction type as bytes Min AVM version: 5

    • get typeEnum(): TransactionType

      Transaction type as integer Min AVM version: 5

    • get voteFirst(): uint64

      The first round that the participation key is valid. Min AVM version: 5

    • get voteKeyDilution(): uint64

      Dilution for the 2-level participation key Min AVM version: 5

    • get voteLast(): uint64

      The last round that the participation key is valid. Min AVM version: 5

    • get votePk(): bytes

      32 byte address Min AVM version: 5

    • get xferAsset(): Asset

      Asset ID Min AVM version: 5

    • accounts: function
    • applicationArgs: function
    • applications: function
    • approvalProgramPages: function
    • assets: function
    • clearStateProgramPages: function
    • logs: function