Algorand TypeScript
    Preparing search index...

    Type Alias ItxnCompose

    type ItxnCompose = {
        begin(fields: PaymentComposeFields): void;
        begin(fields: KeyRegistrationComposeFields): void;
        begin(fields: AssetConfigComposeFields): void;
        begin(fields: AssetTransferComposeFields): void;
        begin(fields: AssetFreezeComposeFields): void;
        begin(fields: ApplicationCallComposeFields): void;
        begin(fields: AnyTransactionComposeFields): void;
        begin(fields: ComposeItxnParams): void;
        begin<TArgs extends any[]>(
            method: InstanceMethod<Contract, TArgs>,
            fields: TypedApplicationCallFields<TArgs>,
        ): void;
        begin<TMethod>(options: AbiCallOptions<TMethod>): void;
        next(fields: PaymentComposeFields): void;
        next(fields: KeyRegistrationComposeFields): void;
        next(fields: AssetConfigComposeFields): void;
        next(fields: AssetTransferComposeFields): void;
        next(fields: AssetFreezeComposeFields): void;
        next(fields: ApplicationCallComposeFields): void;
        next(fields: AnyTransactionComposeFields): void;
        next(fields: ComposeItxnParams): void;
        next<TArgs extends any[]>(
            method: InstanceMethod<Contract, TArgs>,
            fields: TypedApplicationCallFields<TArgs>,
        ): void;
        next<TMethod>(options: AbiCallOptions<TMethod>): void;
        submit(): void;
    }
    Index

    Methods

    Methods

    • Submit all transactions in the group

      Returns 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.