@@ -35,6 +35,7 @@ const baseDefaultFields = () => ({
3535export type TxnFields < TTxn > = Partial < Mutable < Pick < TTxn , ObjectKeys < TTxn > > > >
3636
3737abstract class TransactionBase {
38+ /** @internal */
3839 protected constructor ( fields : Partial < ReturnType < typeof baseDefaultFields > > ) {
3940 const baseDefaults = baseDefaultFields ( )
4041 this . sender = fields . sender ?? baseDefaults . sender
@@ -87,6 +88,7 @@ export class PaymentTransaction extends TransactionBase implements gtxn.PaymentT
8788 return new PaymentTransaction ( fields )
8889 }
8990
91+ /** @internal */
9092 protected constructor ( fields : TxnFields < gtxn . PaymentTxn > ) {
9193 super ( fields )
9294 this . receiver = fields . receiver ?? Account ( )
@@ -107,6 +109,7 @@ export class KeyRegistrationTransaction extends TransactionBase implements gtxn.
107109 return new KeyRegistrationTransaction ( fields )
108110 }
109111
112+ /** @internal */
110113 protected constructor ( fields : TxnFields < gtxn . KeyRegistrationTxn > ) {
111114 super ( fields )
112115 this . voteKey = fields . voteKey ?? ( Bytes ( ) as bytes < 32 > )
@@ -141,6 +144,7 @@ export class AssetConfigTransaction extends TransactionBase implements gtxn.Asse
141144 return new AssetConfigTransaction ( fields )
142145 }
143146
147+ /** @internal */
144148 protected constructor ( fields : TxnFields < gtxn . AssetConfigTxn > ) {
145149 super ( fields )
146150 this . configAsset = fields . configAsset ?? Asset ( )
@@ -181,6 +185,7 @@ export class AssetTransferTransaction extends TransactionBase implements gtxn.As
181185 return new AssetTransferTransaction ( fields )
182186 }
183187
188+ /** @internal */
184189 protected constructor ( fields : TxnFields < gtxn . AssetTransferTxn > ) {
185190 super ( fields )
186191 this . xferAsset = fields . xferAsset ?? Asset ( )
@@ -206,6 +211,7 @@ export class AssetFreezeTransaction extends TransactionBase implements gtxn.Asse
206211 return new AssetFreezeTransaction ( fields )
207212 }
208213
214+ /** @internal */
209215 protected constructor ( fields : TxnFields < gtxn . AssetFreezeTxn > ) {
210216 super ( fields )
211217 this . freezeAsset = fields . freezeAsset ?? Asset ( )
@@ -238,6 +244,7 @@ export class ApplicationCallTransaction extends TransactionBase implements gtxn.
238244 static create ( fields : ApplicationCallTransactionFields ) {
239245 return new ApplicationCallTransaction ( fields )
240246 }
247+ /** @internal */
241248 private args : Array < unknown >
242249 #accounts: Array < AccountType >
243250 #assets: Array < AssetType >
@@ -247,6 +254,7 @@ export class ApplicationCallTransaction extends TransactionBase implements gtxn.
247254 #appLogs: Array < bytes >
248255 #appId: ApplicationType
249256
257+ /** @internal */
250258 protected constructor ( fields : ApplicationCallTransactionFields ) {
251259 super ( fields )
252260 this . #appId = fields . appId ?? Application ( )
0 commit comments