Skip to content

algopy.gtxn

NameDescription
TransactionBaseShared transaction properties
PaymentTransactionPayment group transaction
KeyRegistrationTransactionKey registration group transaction
AssetConfigTransactionAsset config group transaction
AssetTransferTransactionAsset transfer group transaction
AssetFreezeTransactionAsset freeze group transaction
ApplicationCallTransactionApplication call group transaction
TransactionGroup Transaction of any type

Shared transaction properties

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

PaymentTransaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Payment group transaction

32 byte address

microalgos

32 byte address

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

KeyRegistrationTransaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Key registration group transaction

32 byte address

32 byte address

The first round that the participation key is valid.

The last round that the participation key is valid.

Dilution for the 2-level participation key

property KeyRegistrationTransaction.non_participation : bool

Section titled “property KeyRegistrationTransaction.non_participation : bool”

Marks an account nonparticipating for rewards

64 byte state proof public key

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

AssetConfigTransaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Asset config group transaction

Asset ID in asset config transaction

Total number of units of this asset created

Number of digits to display after the decimal place when displaying the asset

property AssetConfigTransaction.default_frozen : bool

Section titled “property AssetConfigTransaction.default_frozen : bool”

Whether the asset’s slots are frozen by default or not, 0 or 1

Unit name of the asset

The asset name

URL

32 byte commitment to unspecified asset metadata

32 byte address

32 byte address

32 byte address

32 byte address

Asset ID allocated by the creation of an ASA

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

AssetTransferTransaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Asset transfer group transaction

Asset ID

value in Asset’s units

32 byte address. Source of assets if Sender is the Asset’s Clawback address.

32 byte address

32 byte address

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

AssetFreezeTransaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Asset freeze group transaction

Asset ID being frozen or un-frozen

32 byte address of the account whose asset slot is being frozen or un-frozen

property AssetFreezeTransaction.frozen : bool

Section titled “property AssetFreezeTransaction.frozen : bool”

The new frozen value, 0 or 1

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

ApplicationCallTransaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Application call group transaction

ApplicationID from ApplicationCall transaction

ApplicationCall transaction on completion action

Number of ApplicationArgs

Number of ApplicationArgs

Approval program

Clear State program

Number of Assets

Number of Applications

Number of global state integers in ApplicationCall

Number of global state byteslices in ApplicationCall

Number of local state integers in ApplicationCall

Number of local state byteslices in ApplicationCall

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.

The last message emitted. Empty bytes if none were emitted. Application mode only

ApplicationCallTransaction.logs(index: UInt64 | int) → Bytes

Log messages emitted by an application call

Number of logs

ApplicationID allocated by the creation of an application

Number of Approval Program pages

property ApplicationCallTransaction.num_clear_state_program_pages : UInt64

Section titled “property ApplicationCallTransaction.num_clear_state_program_pages : UInt64”

Number of Clear State Program pages

ApplicationCallTransaction.app_args(index: UInt64 | int, /) → Bytes

Arguments passed to the application in the ApplicationCall transaction

ApplicationCallTransaction.accounts(index: UInt64 | int, /) → Account

Accounts listed in the ApplicationCall transaction

ApplicationCallTransaction.assets(index: UInt64 | int, /) → Asset

Foreign Assets listed in the ApplicationCall transaction

ApplicationCallTransaction.apps(index: UInt64 | int, /) → Application

Foreign Apps listed in the ApplicationCall transaction

ApplicationCallTransaction.approval_program_pages

Section titled “ApplicationCallTransaction.approval_program_pages”

ApplicationCallTransaction.approval_program_pages(index: UInt64 | int, /) → Bytes

Approval Program as an array of pages

ApplicationCallTransaction.clear_state_program_pages

Section titled “ApplicationCallTransaction.clear_state_program_pages”

ApplicationCallTransaction.clear_state_program_pages(index: UInt64 | int, /) → Bytes

Clear State Program as an array of pages

Application version for which the txn must reject

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr

Transaction(group_index: UInt64 | int)

Bases: algopy.gtxn.TransactionBase, algopy.gtxn._GroupTransaction

Group Transaction of any type

32 byte address

microalgos

32 byte address

32 byte address

32 byte address

The first round that the participation key is valid.

The last round that the participation key is valid.

Dilution for the 2-level participation key

property Transaction.non_participation : bool

Section titled “property Transaction.non_participation : bool”

Marks an account nonparticipating for rewards

64 byte state proof public key

Asset ID in asset config transaction

Total number of units of this asset created

Number of digits to display after the decimal place when displaying the asset

property Transaction.default_frozen : bool

Section titled “property Transaction.default_frozen : bool”

Whether the asset’s slots are frozen by default or not, 0 or 1

Unit name of the asset

The asset name

URL

32 byte commitment to unspecified asset metadata

32 byte address

32 byte address

32 byte address

32 byte address

Asset ID allocated by the creation of an ASA

Asset ID

value in Asset’s units

32 byte address. Source of assets if Sender is the Asset’s Clawback address.

32 byte address

32 byte address

Asset ID being frozen or un-frozen

32 byte address of the account whose asset slot is being frozen or un-frozen

The new frozen value, 0 or 1

ApplicationID from ApplicationCall transaction

ApplicationCall transaction on completion action

Number of ApplicationArgs

Number of ApplicationArgs

Approval program

Clear State program

Number of Assets

Number of Applications

Number of global state integers in ApplicationCall

Number of global state byteslices in ApplicationCall

Number of local state integers in ApplicationCall

Number of local state byteslices in ApplicationCall

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.

The last message emitted. Empty bytes if none were emitted. Application mode only

Transaction.logs(index: UInt64 | int) → Bytes

Log messages emitted by an application call

Number of logs

ApplicationID allocated by the creation of an application

Number of Approval Program pages

Number of Clear State Program pages

Transaction.app_args(index: UInt64 | int, /) → Bytes

Arguments passed to the application in the ApplicationCall transaction

Transaction.accounts(index: UInt64 | int, /) → Account

Accounts listed in the ApplicationCall transaction

Transaction.assets(index: UInt64 | int, /) → Asset

Foreign Assets listed in the ApplicationCall transaction

Transaction.apps(index: UInt64 | int, /) → Application

Foreign Apps listed in the ApplicationCall transaction

Transaction.approval_program_pages(index: UInt64 | int, /) → Bytes

Approval Program as an array of pages

Transaction.clear_state_program_pages(index: UInt64 | int, /) → Bytes

Clear State Program as an array of pages

Application version for which the txn must reject

32 byte address

microalgos

round number

UNIX timestamp of block before txn.FirstValid. Fails if negative

round number

Any data up to 1024 bytes

32 byte lease value

Transaction type as bytes

Transaction type as integer

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

The computed ID for this transaction. 32 bytes.

32 byte Sender’s new AuthAddr