Skip to content

ItxnCompose

ItxnCompose = object

Defined in: itxn-compose.ts:44

begin(fields): void

Defined in: itxn-compose.ts:49

Begin a transaction group with a payment transaction

PaymentComposeFields

Specifies any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:54

Begin a transaction group with a key registration transaction

KeyRegistrationComposeFields

Specifies any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:59

Begin a transaction group with an asset config transaction

AssetConfigComposeFields

Specifies any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:64

Begin a transaction group with an asset transfer transaction

AssetTransferComposeFields

Specifies any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:69

Begin a transaction group with an asset freeze transaction

AssetFreezeComposeFields

Specifies any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:74

Begin a transaction group with an application call transaction

ApplicationCallComposeFields

Specifies any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:79

Begin a transaction group with a new transaction with the specified fields

AnyTransactionComposeFields

Specifies the type, and any transaction fields which should differ from their defaults

void

begin(fields): void

Defined in: itxn-compose.ts:84

Begin a transaction group with a new transaction from the specified itxn params object

ComposeItxnParams

void

begin<TArgs>(method, fields): void

Defined in: itxn-compose.ts:94

Begin a transaction group with a typed application call transaction.

TArgs extends any[]

InstanceMethod<Contract, TArgs>

The ABI method to call

TypedApplicationCallFields<TArgs>

Specifies any transaction fields which should differ from their defaults

void

begin<TMethod>(options): void

Defined in: itxn-compose.ts:101

Begin a transaction group with a typed application call transaction. The method can be specified by options.method, or by explicitly defining the type of the generic parameter TMethod.

TMethod

The type of an ARC4 method signature (eg. typeof MyContract.prototype.myMethod)

AbiCallOptions<TMethod>

Specifies any transaction fields which should differ from their defaults

void


next(fields): void

Defined in: itxn-compose.ts:107

Continue a transaction group with a payment transaction

PaymentComposeFields

Specifies any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:112

Continue a transaction group with a key registration transaction

KeyRegistrationComposeFields

Specifies any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:117

Continue a transaction group with an asset config transaction

AssetConfigComposeFields

Specifies any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:122

Continue a transaction group with an asset transfer transaction

AssetTransferComposeFields

Specifies any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:127

Continue a transaction group with an asset freeze transaction

AssetFreezeComposeFields

Specifies any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:132

Continue a transaction group with an application call transaction

ApplicationCallComposeFields

Specifies any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:137

Continue a transaction group with a new transaction with the specified fields

AnyTransactionComposeFields

Specifies the type, and any transaction fields which should differ from their defaults

void

next(fields): void

Defined in: itxn-compose.ts:142

Continue a transaction group with a new transaction from the specified itxn params object

ComposeItxnParams

void

next<TArgs>(method, fields): void

Defined in: itxn-compose.ts:152

Continue a transaction group with a typed application call transaction.

TArgs extends any[]

InstanceMethod<Contract, TArgs>

The ABI method to call

TypedApplicationCallFields<TArgs>

Specifies any transaction fields which should differ from their defaults

void

next<TMethod>(options): void

Defined in: itxn-compose.ts:159

Continue a transaction group with a typed application call transaction. The method can be specified by options.method, or by explicitly defining the type of the generic parameter TMethod.

TMethod

The type of an ARC4 method signature (eg. typeof MyContract.prototype.myMethod)

AbiCallOptions<TMethod>

Specifies any transaction fields which should differ from their defaults

void


submit(): void

Defined in: itxn-compose.ts:167

Submit all transactions in the group

void

op.GITxn.lastLog(n) (and other methods on the GITxn object) can be used to read fields from the most recently submitted transaction group where n is a compile time constant representing the index of the transaction in the group.