Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TxnObject

Represents a transaction and its fields.

Hierarchy

  • TxnObject

Index

Constructors

constructor

Properties

txnType

txnType: (txnField: TxnField) => TxnExpr

Type declaration

txnaType

txnaType: (txnField: TxnField, index: number) => TxnaExpr

Type declaration

Accessors

accounts

applicationArgs

applications

  • The applications array in an ApplicationCall transaction.

    Requires TEAL version 3 or higher.

    Returns TxnArray

assets

  • The foreign asset array in an ApplicationCall transaction.

    Requires TEAL version 3 or higher.

    Returns TxnArray

Methods

amount

applicationId

  • Get the application ID from the ApplicationCall portion of the current transaction.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall.

    Returns TxnExpr

approvalProgram

  • Get the approval program.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall.

    Returns TxnExpr

assetAmount

assetCloseTo

assetReceiver

assetSender

clearStateProgram

  • Get the clear state program.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall.

    Returns TxnExpr

closeRemainderTo

configAsset

configAssetClawback

configAssetDecimals

configAssetDefaultFrozen

  • configAssetDefaultFrozen(): TxnExpr

configAssetFreeze

configAssetManager

configAssetMetadataHash

  • configAssetMetadataHash(): TxnExpr

configAssetName

configAssetReserve

configAssetTotal

configAssetUnitName

configAssetUrl

fee

firstValid

freezeAsset

freezeAssetAccount

freezeAssetFrozen

globalNumByteSlices

  • Get the schema count of global state byte slices in an application creation call.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall and this is an app creation call.

    Requires TEAL version 3 or higher.

    Returns TxnExpr

globalNumUints

  • Get the schema count of global state integers in an application creation call.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall and this is an app creation call.

    Requires TEAL version 3 or higher.

    Returns TxnExpr

groupIndex

lastValid

lease

localNumByteSlices

  • Get the schema count of local state byte slices in an application creation call.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall and this is an app creation call.

    Requires TEAL version 3 or higher.

    Returns TxnExpr

localNumUints

  • Get the schema count of local state integers in an application creation call.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall and this is an app creation call.

    Requires TEAL version 3 or higher.

    Returns TxnExpr

note

onCompletion

  • Get the on completion action from the ApplicationCall portion of the transaction.

    Only set when :any:type_enum() is :any:TxnType.ApplicationCall.

    Returns TxnExpr

receiver

rekeyTo

selectionPk

sender

txId

type

typeEnum

voteFirst

voteKeyDilution

voteLast

votePk

xferAsset

Generated using TypeDoc