Skip to content

TypedApplicationArg

Algorand TypeScript


Algorand TypeScript / arc4 / TypedApplicationArg

TypedApplicationArg<TArg> = TArg extends Transaction ? GtxnToItxnFields<TArg> : TArg

Defined in: arc4/c2c.ts:41

Conditional type which given an application argument, returns the input type for that argument.

The input type will usually be the original type apart from group transactions which will be substituted with their equivalent inner transaction type.

TArg