Skip to content

GtxnToItxnFields

Algorand TypeScript


Algorand TypeScript / arc4 / GtxnToItxnFields

GtxnToItxnFields<T> = T extends PaymentTxn ? PaymentItxnParams : T extends KeyRegistrationTxn ? KeyRegistrationItxnParams : T extends AssetConfigTxn ? AssetConfigItxnParams : T extends AssetTransferTxn ? AssetTransferItxnParams : T extends AssetFreezeTxn ? AssetFreezeItxnParams : T extends ApplicationCallTxn ? ApplicationCallItxnParams : ItxnParams

Defined in: arc4/c2c.ts:21

Conditional type which given a group transaction type, returns the equivalent inner transaction params type.

T extends Transaction