@@ -112,6 +112,7 @@ await algorand.createTransaction.appCall({
112
112
appReferences : [123n , 1234n ]
113
113
assetReferences : [12345n ]
114
114
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
115
+ accessReferences : [{ appId: 1234n }]
115
116
lease : ' lease' ,
116
117
note: ' note' ,
117
118
// You wouldn't normally set this field
@@ -141,7 +142,7 @@ await algorand.createTransaction.appCall({
141
142
142
143
#### Defined in
143
144
144
- [ src/types/algorand-client-transaction-creator.ts:458 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L458 )
145
+ [ src/types/algorand-client-transaction-creator.ts:462 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L462 )
145
146
146
147
___
147
148
@@ -182,6 +183,7 @@ await algorand.createTransaction.appCallMethodCall({
182
183
appReferences : [123n , 1234n ]
183
184
assetReferences : [12345n ]
184
185
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
186
+ accessReferences : [{ appId: 1234n }]
185
187
lease : ' lease' ,
186
188
note: ' note' ,
187
189
// You wouldn't normally set this field
@@ -211,13 +213,13 @@ await algorand.createTransaction.appCallMethodCall({
211
213
212
214
#### Defined in
213
215
214
- [ src/types/algorand-client-transaction-creator.ts:653 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L653 )
216
+ [ src/types/algorand-client-transaction-creator.ts:661 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L661 )
215
217
216
218
___
217
219
218
220
### appCreate
219
221
220
- • **appCreate**: (`params`: \{ `accountReferences?`: (`string` \| `Address`)[] ; `appReferences?`: `bigint`[] ; `approvalProgram`: `string` \| `Uint8Array` ; `args?`: `Uint8Array`[] ; `assetReferences?`: `bigint`[] ; `boxReferences?`: ([`BoxIdentifier`](../modules/types_app_manager.md#boxidentifier) \| [`BoxReference`](../interfaces/types_app_manager.BoxReference.md))[] ; `clearStateProgram`: `string` \| `Uint8Array` ; `extraFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `extraProgramPages?`: `number` ; `firstValidRound?`: `bigint` ; `lastValidRound?`: `bigint` ; `lease?`: `string` \| `Uint8Array` ; `maxFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `note?`: `string` \| `Uint8Array` ; `onComplete?`: `NoOpOC` \| `OptInOC` \| `CloseOutOC` \| `UpdateApplicationOC` \| `DeleteApplicationOC` ; `rekeyTo?`: `string` \| `Address` ; `schema?`: \{ `globalByteSlices`: `number` ; `globalInts`: `number` ; `localByteSlices`: `number` ; `localInts`: `number` } ; `sender`: `string` \| `Address` ; `signer?`: `TransactionSigner` \| [`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md) ; `staticFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `validityWindow?`: `number` \| `bigint` }) => `Promise`\<`Transaction`\>
222
+ • **appCreate**: (`params`: \{ `accessReferences?`: [`AccessReference`](../interfaces/types_app_manager.AccessReference.md)[] ; `accountReferences?`: (`string` \| `Address`)[] ; `appReferences?`: `bigint`[] ; `approvalProgram`: `string` \| `Uint8Array` ; `args?`: `Uint8Array`[] ; `assetReferences?`: `bigint`[] ; `boxReferences?`: ([`BoxIdentifier`](../modules/types_app_manager.md#boxidentifier) \| [`BoxReference`](../interfaces/types_app_manager.BoxReference.md))[] ; `clearStateProgram`: `string` \| `Uint8Array` ; `extraFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `extraProgramPages?`: `number` ; `firstValidRound?`: `bigint` ; `lastValidRound?`: `bigint` ; `lease?`: `string` \| `Uint8Array` ; `maxFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `note?`: `string` \| `Uint8Array` ; `onComplete?`: `NoOpOC` \| `OptInOC` \| `CloseOutOC` \| `UpdateApplicationOC` \| `DeleteApplicationOC` ; `rekeyTo?`: `string` \| `Address` ; `schema?`: \{ `globalByteSlices`: `number` ; `globalInts`: `number` ; `localByteSlices`: `number` ; `localInts`: `number` } ; `sender`: `string` \| `Address` ; `signer?`: `TransactionSigner` \| [`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md) ; `staticFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `validityWindow?`: `number` \| `bigint` }) => `Promise`\<`Transaction`\>
221
223
222
224
Create an application create transaction.
223
225
@@ -249,6 +251,7 @@ await algorand.createTransaction.appCreate({
249
251
appReferences : [123n , 1234n ]
250
252
assetReferences : [12345n ]
251
253
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
254
+ accessReferences : [{ appId: 1234n }]
252
255
lease : ' lease' ,
253
256
note: ' note' ,
254
257
// You wouldn't normally set this field
@@ -271,6 +274,7 @@ await algorand.createTransaction.appCreate({
271
274
| Name | Type | Description |
272
275
| :------ | :------ | :------ |
273
276
| ` params ` | ` Object ` | The parameters for the app creation transaction |
277
+ | ` params.accessReferences? ` | [ ` AccessReference ` ] ( ../interfaces/types_app_manager.AccessReference.md ) [ ] | Access references unifies ` accountReferences ` , ` appReferences ` , ` assetReferences ` , and ` boxReferences ` under a single list. If non-empty, these other reference lists must be empty. If access is empty, those other reference lists may be non-empty. |
274
278
| ` params.accountReferences? ` | (` string ` \| ` Address ` )[ ] | Any account addresses to add to the [ accounts array] ( https://dev.algorand.co/concepts/smart-contracts/resource-usage#what-are-reference-arrays ) . |
275
279
| ` params.appReferences? ` | ` bigint ` [ ] | The ID of any apps to load to the [ foreign apps array] ( https://dev.algorand.co/concepts/smart-contracts/resource-usage#what-are-reference-arrays ) . |
276
280
| ` params.approvalProgram ` | ` string ` \| ` Uint8Array ` | The program to execute for all OnCompletes other than ClearState as raw teal that will be compiled (string) or compiled teal (encoded as a byte array (Uint8Array)). |
@@ -303,7 +307,7 @@ await algorand.createTransaction.appCreate({
303
307
304
308
#### Defined in
305
309
306
- [ src/types/algorand-client-transaction-creator.ts:354 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L354 )
310
+ [ src/types/algorand-client-transaction-creator.ts:355 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L355 )
307
311
308
312
___
309
313
@@ -353,6 +357,7 @@ await algorand.createTransaction.appCreateMethodCall({
353
357
appReferences : [123n , 1234n ]
354
358
assetReferences : [12345n ]
355
359
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
360
+ accessReferences : [{ appId: 1234n }]
356
361
lease : ' lease' ,
357
362
note: ' note' ,
358
363
// You wouldn't normally set this field
@@ -382,7 +387,7 @@ await algorand.createTransaction.appCreateMethodCall({
382
387
383
388
#### Defined in
384
389
385
- [ src/types/algorand-client-transaction-creator.ts:513 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L513 )
390
+ [ src/types/algorand-client-transaction-creator.ts:518 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L518 )
386
391
387
392
___
388
393
@@ -411,6 +416,7 @@ await algorand.createTransaction.appDelete({
411
416
appReferences : [123n , 1234n ]
412
417
assetReferences : [12345n ]
413
418
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
419
+ accessReferences : [{ appId: 1234n }]
414
420
lease : ' lease' ,
415
421
note: ' note' ,
416
422
// You wouldn't normally set this field
@@ -440,7 +446,7 @@ await algorand.createTransaction.appDelete({
440
446
441
447
#### Defined in
442
448
443
- [ src/types/algorand-client-transaction-creator.ts:424 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L424 )
449
+ [ src/types/algorand-client-transaction-creator.ts:427 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L427 )
444
450
445
451
___
446
452
@@ -481,6 +487,7 @@ await algorand.createTransaction.appDeleteMethodCall({
481
487
appReferences : [123n , 1234n ]
482
488
assetReferences : [12345n ]
483
489
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
490
+ accessReferences : [{ appId: 1234n }]
484
491
lease : ' lease' ,
485
492
note: ' note' ,
486
493
// You wouldn't normally set this field
@@ -510,13 +517,13 @@ await algorand.createTransaction.appDeleteMethodCall({
510
517
511
518
#### Defined in
512
519
513
- [ src/types/algorand-client-transaction-creator.ts:607 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L607 )
520
+ [ src/types/algorand-client-transaction-creator.ts:614 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L614 )
514
521
515
522
___
516
523
517
524
### appUpdate
518
525
519
- • **appUpdate**: (`params`: \{ `accountReferences?`: (`string` \| `Address`)[] ; `appId`: `bigint` ; `appReferences?`: `bigint`[] ; `approvalProgram`: `string` \| `Uint8Array` ; `args?`: `Uint8Array`[] ; `assetReferences?`: `bigint`[] ; `boxReferences?`: ([`BoxIdentifier`](../modules/types_app_manager.md#boxidentifier) \| [`BoxReference`](../interfaces/types_app_manager.BoxReference.md))[] ; `clearStateProgram`: `string` \| `Uint8Array` ; `extraFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `firstValidRound?`: `bigint` ; `lastValidRound?`: `bigint` ; `lease?`: `string` \| `Uint8Array` ; `maxFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `note?`: `string` \| `Uint8Array` ; `onComplete?`: `UpdateApplicationOC` ; `rekeyTo?`: `string` \| `Address` ; `sender`: `string` \| `Address` ; `signer?`: `TransactionSigner` \| [`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md) ; `staticFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `validityWindow?`: `number` \| `bigint` }) => `Promise`\<`Transaction`\>
526
+ • **appUpdate**: (`params`: \{ `accessReferences?`: [`AccessReference`](../interfaces/types_app_manager.AccessReference.md)[] ; `accountReferences?`: (`string` \| `Address`)[] ; `appId`: `bigint` ; `appReferences?`: `bigint`[] ; `approvalProgram`: `string` \| `Uint8Array` ; `args?`: `Uint8Array`[] ; `assetReferences?`: `bigint`[] ; `boxReferences?`: ([`BoxIdentifier`](../modules/types_app_manager.md#boxidentifier) \| [`BoxReference`](../interfaces/types_app_manager.BoxReference.md))[] ; `clearStateProgram`: `string` \| `Uint8Array` ; `extraFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `firstValidRound?`: `bigint` ; `lastValidRound?`: `bigint` ; `lease?`: `string` \| `Uint8Array` ; `maxFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `note?`: `string` \| `Uint8Array` ; `onComplete?`: `UpdateApplicationOC` ; `rekeyTo?`: `string` \| `Address` ; `sender`: `string` \| `Address` ; `signer?`: `TransactionSigner` \| [`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md) ; `staticFee?`: [`AlgoAmount`](types_amount.AlgoAmount.md) ; `validityWindow?`: `number` \| `bigint` }) => `Promise`\<`Transaction`\>
520
527
521
528
Create an application update transaction.
522
529
@@ -541,6 +548,7 @@ await algorand.createTransaction.appUpdate({
541
548
appReferences : [123n , 1234n ]
542
549
assetReferences : [12345n ]
543
550
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
551
+ accessReferences : [{ appId: 1234n }]
544
552
lease : ' lease' ,
545
553
note: ' note' ,
546
554
// You wouldn't normally set this field
@@ -563,6 +571,7 @@ await algorand.createTransaction.appUpdate({
563
571
| Name | Type | Description |
564
572
| :------ | :------ | :------ |
565
573
| ` params ` | ` Object ` | The parameters for the app update transaction |
574
+ | ` params.accessReferences? ` | [ ` AccessReference ` ] ( ../interfaces/types_app_manager.AccessReference.md ) [ ] | Access references unifies ` accountReferences ` , ` appReferences ` , ` assetReferences ` , and ` boxReferences ` under a single list. If non-empty, these other reference lists must be empty. If access is empty, those other reference lists may be non-empty. |
566
575
| ` params.accountReferences? ` | (` string ` \| ` Address ` )[ ] | Any account addresses to add to the [ accounts array] ( https://dev.algorand.co/concepts/smart-contracts/resource-usage#what-are-reference-arrays ) . |
567
576
| ` params.appId ` | ` bigint ` | ID of the application; 0 if the application is being created. |
568
577
| ` params.appReferences? ` | ` bigint ` [ ] | The ID of any apps to load to the [ foreign apps array] ( https://dev.algorand.co/concepts/smart-contracts/resource-usage#what-are-reference-arrays ) . |
@@ -590,7 +599,7 @@ await algorand.createTransaction.appUpdate({
590
599
591
600
#### Defined in
592
601
593
- [ src/types/algorand-client-transaction-creator.ts:390 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L390 )
602
+ [ src/types/algorand-client-transaction-creator.ts:392 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L392 )
594
603
595
604
___
596
605
@@ -633,6 +642,7 @@ await algorand.createTransaction.appUpdateMethodCall({
633
642
appReferences : [123n , 1234n ]
634
643
assetReferences : [12345n ]
635
644
boxReferences : [" box1" , {appId: 1234n , name: " box2" }]
645
+ accessReferences : [{ appId: 1234n }]
636
646
lease : ' lease' ,
637
647
note: ' note' ,
638
648
// You wouldn't normally set this field
@@ -662,7 +672,7 @@ await algorand.createTransaction.appUpdateMethodCall({
662
672
663
673
#### Defined in
664
674
665
- [ src/types/algorand-client-transaction-creator.ts:561 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L561 )
675
+ [ src/types/algorand-client-transaction-creator.ts:567 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L567 )
666
676
667
677
___
668
678
@@ -1116,7 +1126,7 @@ await algorand.createTransaction.offlineKeyRegistration({
1116
1126
1117
1127
#### Defined in
1118
1128
1119
- [ src/types/algorand-client-transaction-creator.ts:725 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L725 )
1129
+ [ src/types/algorand-client-transaction-creator.ts:733 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L733 )
1120
1130
1121
1131
___
1122
1132
@@ -1182,7 +1192,7 @@ await algorand.createTransaction.onlineKeyRegistration({
1182
1192
1183
1193
#### Defined in
1184
1194
1185
- [ src/types/algorand-client-transaction-creator.ts:695 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L695 )
1195
+ [ src/types/algorand-client-transaction-creator.ts:703 ] ( https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/algorand-client-transaction-creator.ts#L703 )
1186
1196
1187
1197
___
1188
1198
0 commit comments