@algorandfoundation/algokit-utils 10.0.0-alpha.3 → 10.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/packages/abi/src/abi-method.d.ts +1 -1
  3. package/packages/abi/src/abi-method.js.map +1 -1
  4. package/packages/abi/src/abi-method.mjs.map +1 -1
  5. package/packages/algod_client/src/models/application-state-schema.d.ts +2 -2
  6. package/packages/algod_client/src/models/application-state-schema.js +2 -2
  7. package/packages/algod_client/src/models/application-state-schema.js.map +1 -1
  8. package/packages/algod_client/src/models/application-state-schema.mjs +2 -2
  9. package/packages/algod_client/src/models/application-state-schema.mjs.map +1 -1
  10. package/packages/common/src/json.mjs +2 -2
  11. package/packages/common/src/json.mjs.map +1 -1
  12. package/packages/indexer_client/src/models/application-state-schema.d.ts +2 -2
  13. package/packages/indexer_client/src/models/application-state-schema.js +2 -2
  14. package/packages/indexer_client/src/models/application-state-schema.js.map +1 -1
  15. package/packages/indexer_client/src/models/application-state-schema.mjs +2 -2
  16. package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -1
  17. package/packages/indexer_client/src/models/state-schema.d.ts +2 -2
  18. package/packages/indexer_client/src/models/state-schema.js +2 -2
  19. package/packages/indexer_client/src/models/state-schema.js.map +1 -1
  20. package/packages/indexer_client/src/models/state-schema.mjs +2 -2
  21. package/packages/indexer_client/src/models/state-schema.mjs.map +1 -1
  22. package/packages/indexer_client/src/models/transaction.d.ts +2 -2
  23. package/packages/indexer_client/src/models/transaction.js +2 -2
  24. package/packages/indexer_client/src/models/transaction.js.map +1 -1
  25. package/packages/indexer_client/src/models/transaction.mjs +2 -2
  26. package/packages/indexer_client/src/models/transaction.mjs.map +1 -1
  27. package/packages/sdk/src/utils/utils.mjs +2 -2
  28. package/packages/sdk/src/utils/utils.mjs.map +1 -1
  29. package/transactions/method-call.js +12 -12
  30. package/transactions/method-call.js.map +1 -1
  31. package/transactions/method-call.mjs +12 -12
  32. package/transactions/method-call.mjs.map +1 -1
  33. package/types/algorand-client-transaction-creator.d.ts +44 -44
  34. package/types/algorand-client-transaction-sender.d.ts +46 -46
  35. package/types/app-client.d.ts +99 -99
  36. package/types/app-factory.d.ts +36 -36
  37. package/types/app-manager.d.ts +1 -1
  38. package/types/app-manager.js +10 -5
  39. package/types/app-manager.js.map +1 -1
  40. package/types/app-manager.mjs +10 -5
  41. package/types/app-manager.mjs.map +1 -1
  42. package/types/composer.js +3 -6
  43. package/types/composer.js.map +1 -1
  44. package/types/composer.mjs +3 -6
  45. package/types/composer.mjs.map +1 -1
@@ -347,8 +347,9 @@ declare class AlgorandClientTransactionCreator {
347
347
  * @returns The application create transaction
348
348
  */
349
349
  appCreate: (params: {
350
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
350
+ args?: Uint8Array[] | undefined;
351
351
  sender: SendingAddress;
352
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
352
353
  rekeyTo?: ReadableAddress | undefined;
353
354
  note?: string | Uint8Array | undefined;
354
355
  lease?: string | Uint8Array | undefined;
@@ -359,11 +360,10 @@ declare class AlgorandClientTransactionCreator {
359
360
  firstValidRound?: bigint | undefined;
360
361
  lastValidRound?: bigint | undefined;
361
362
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
362
- args?: Uint8Array[] | undefined;
363
363
  accountReferences?: ReadableAddress[] | undefined;
364
364
  appReferences?: bigint[] | undefined;
365
365
  assetReferences?: bigint[] | undefined;
366
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
366
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
367
367
  accessReferences?: AccessReference[] | undefined;
368
368
  rejectVersion?: number | undefined;
369
369
  approvalProgram: string | Uint8Array;
@@ -430,7 +430,7 @@ declare class AlgorandClientTransactionCreator {
430
430
  accountReferences?: ReadableAddress[] | undefined;
431
431
  appReferences?: bigint[] | undefined;
432
432
  assetReferences?: bigint[] | undefined;
433
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
433
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
434
434
  accessReferences?: AccessReference[] | undefined;
435
435
  rejectVersion?: number | undefined;
436
436
  approvalProgram: string | Uint8Array;
@@ -562,8 +562,8 @@ declare class AlgorandClientTransactionCreator {
562
562
  * @returns The application ABI method create transaction
563
563
  */
564
564
  appCreateMethodCall: (params: {
565
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
566
565
  sender: SendingAddress;
566
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
567
567
  rekeyTo?: ReadableAddress | undefined;
568
568
  note?: string | Uint8Array | undefined;
569
569
  lease?: string | Uint8Array | undefined;
@@ -573,26 +573,27 @@ declare class AlgorandClientTransactionCreator {
573
573
  validityWindow?: number | bigint | undefined;
574
574
  firstValidRound?: bigint | undefined;
575
575
  lastValidRound?: bigint | undefined;
576
- approvalProgram: string | Uint8Array;
577
- clearStateProgram: string | Uint8Array;
578
- extraProgramPages?: number | undefined;
579
576
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
580
577
  accountReferences?: ReadableAddress[] | undefined;
581
578
  appReferences?: bigint[] | undefined;
582
579
  assetReferences?: bigint[] | undefined;
583
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
580
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
584
581
  accessReferences?: AccessReference[] | undefined;
585
582
  rejectVersion?: number | undefined;
583
+ approvalProgram: string | Uint8Array;
584
+ clearStateProgram: string | Uint8Array;
586
585
  schema?: {
587
586
  globalInts: number;
588
587
  globalByteSlices: number;
589
588
  localInts: number;
590
589
  localByteSlices: number;
591
590
  } | undefined;
591
+ extraProgramPages?: number | undefined;
592
592
  method: ABIMethod;
593
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
594
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
593
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
594
+ args?: Uint8Array[] | undefined;
595
595
  sender: SendingAddress;
596
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
596
597
  rekeyTo?: ReadableAddress | undefined;
597
598
  note?: string | Uint8Array | undefined;
598
599
  lease?: string | Uint8Array | undefined;
@@ -603,11 +604,10 @@ declare class AlgorandClientTransactionCreator {
603
604
  firstValidRound?: bigint | undefined;
604
605
  lastValidRound?: bigint | undefined;
605
606
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
606
- args?: Uint8Array[] | undefined;
607
607
  accountReferences?: ReadableAddress[] | undefined;
608
608
  appReferences?: bigint[] | undefined;
609
609
  assetReferences?: bigint[] | undefined;
610
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
610
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
611
611
  accessReferences?: AccessReference[] | undefined;
612
612
  rejectVersion?: number | undefined;
613
613
  approvalProgram: string | Uint8Array;
@@ -637,12 +637,12 @@ declare class AlgorandClientTransactionCreator {
637
637
  accountReferences?: ReadableAddress[] | undefined;
638
638
  appReferences?: bigint[] | undefined;
639
639
  assetReferences?: bigint[] | undefined;
640
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
640
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
641
641
  accessReferences?: AccessReference[] | undefined;
642
642
  rejectVersion?: number | undefined;
643
643
  approvalProgram: string | Uint8Array;
644
644
  clearStateProgram: string | Uint8Array;
645
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
645
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
646
646
  }) => Promise<Expand<BuiltTransactions>>;
647
647
  /** Create an application update call with ABI method call transaction.
648
648
  *
@@ -693,8 +693,9 @@ declare class AlgorandClientTransactionCreator {
693
693
  * @returns The application ABI method update transaction
694
694
  */
695
695
  appUpdateMethodCall: (params: {
696
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
696
+ appId: bigint;
697
697
  sender: SendingAddress;
698
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
698
699
  rekeyTo?: ReadableAddress | undefined;
699
700
  note?: string | Uint8Array | undefined;
700
701
  lease?: string | Uint8Array | undefined;
@@ -704,20 +705,20 @@ declare class AlgorandClientTransactionCreator {
704
705
  validityWindow?: number | bigint | undefined;
705
706
  firstValidRound?: bigint | undefined;
706
707
  lastValidRound?: bigint | undefined;
707
- approvalProgram: string | Uint8Array;
708
- clearStateProgram: string | Uint8Array;
709
- appId: bigint;
710
708
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
711
709
  accountReferences?: ReadableAddress[] | undefined;
712
710
  appReferences?: bigint[] | undefined;
713
711
  assetReferences?: bigint[] | undefined;
714
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
712
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
715
713
  accessReferences?: AccessReference[] | undefined;
716
714
  rejectVersion?: number | undefined;
715
+ approvalProgram: string | Uint8Array;
716
+ clearStateProgram: string | Uint8Array;
717
717
  method: ABIMethod;
718
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
719
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
718
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
719
+ args?: Uint8Array[] | undefined;
720
720
  sender: SendingAddress;
721
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
721
722
  rekeyTo?: ReadableAddress | undefined;
722
723
  note?: string | Uint8Array | undefined;
723
724
  lease?: string | Uint8Array | undefined;
@@ -728,11 +729,10 @@ declare class AlgorandClientTransactionCreator {
728
729
  firstValidRound?: bigint | undefined;
729
730
  lastValidRound?: bigint | undefined;
730
731
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
731
- args?: Uint8Array[] | undefined;
732
732
  accountReferences?: ReadableAddress[] | undefined;
733
733
  appReferences?: bigint[] | undefined;
734
734
  assetReferences?: bigint[] | undefined;
735
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
735
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
736
736
  accessReferences?: AccessReference[] | undefined;
737
737
  rejectVersion?: number | undefined;
738
738
  approvalProgram: string | Uint8Array;
@@ -762,12 +762,12 @@ declare class AlgorandClientTransactionCreator {
762
762
  accountReferences?: ReadableAddress[] | undefined;
763
763
  appReferences?: bigint[] | undefined;
764
764
  assetReferences?: bigint[] | undefined;
765
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
765
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
766
766
  accessReferences?: AccessReference[] | undefined;
767
767
  rejectVersion?: number | undefined;
768
768
  approvalProgram: string | Uint8Array;
769
769
  clearStateProgram: string | Uint8Array;
770
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
770
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
771
771
  }) => Promise<Expand<BuiltTransactions>>;
772
772
  /** Create an application delete call with ABI method call transaction.
773
773
  *
@@ -816,8 +816,9 @@ declare class AlgorandClientTransactionCreator {
816
816
  * @returns The application ABI method delete transaction
817
817
  */
818
818
  appDeleteMethodCall: (params: {
819
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
819
+ appId: bigint;
820
820
  sender: SendingAddress;
821
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
821
822
  rekeyTo?: ReadableAddress | undefined;
822
823
  note?: string | Uint8Array | undefined;
823
824
  lease?: string | Uint8Array | undefined;
@@ -827,18 +828,18 @@ declare class AlgorandClientTransactionCreator {
827
828
  validityWindow?: number | bigint | undefined;
828
829
  firstValidRound?: bigint | undefined;
829
830
  lastValidRound?: bigint | undefined;
830
- appId: bigint;
831
831
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
832
832
  accountReferences?: ReadableAddress[] | undefined;
833
833
  appReferences?: bigint[] | undefined;
834
834
  assetReferences?: bigint[] | undefined;
835
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
835
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
836
836
  accessReferences?: AccessReference[] | undefined;
837
837
  rejectVersion?: number | undefined;
838
838
  method: ABIMethod;
839
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
840
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
839
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
840
+ args?: Uint8Array[] | undefined;
841
841
  sender: SendingAddress;
842
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
842
843
  rekeyTo?: ReadableAddress | undefined;
843
844
  note?: string | Uint8Array | undefined;
844
845
  lease?: string | Uint8Array | undefined;
@@ -849,11 +850,10 @@ declare class AlgorandClientTransactionCreator {
849
850
  firstValidRound?: bigint | undefined;
850
851
  lastValidRound?: bigint | undefined;
851
852
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
852
- args?: Uint8Array[] | undefined;
853
853
  accountReferences?: ReadableAddress[] | undefined;
854
854
  appReferences?: bigint[] | undefined;
855
855
  assetReferences?: bigint[] | undefined;
856
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
856
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
857
857
  accessReferences?: AccessReference[] | undefined;
858
858
  rejectVersion?: number | undefined;
859
859
  approvalProgram: string | Uint8Array;
@@ -883,12 +883,12 @@ declare class AlgorandClientTransactionCreator {
883
883
  accountReferences?: ReadableAddress[] | undefined;
884
884
  appReferences?: bigint[] | undefined;
885
885
  assetReferences?: bigint[] | undefined;
886
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
886
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
887
887
  accessReferences?: AccessReference[] | undefined;
888
888
  rejectVersion?: number | undefined;
889
889
  approvalProgram: string | Uint8Array;
890
890
  clearStateProgram: string | Uint8Array;
891
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
891
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
892
892
  }) => Promise<Expand<BuiltTransactions>>;
893
893
  /** Create an application call with ABI method call transaction.
894
894
  *
@@ -937,8 +937,9 @@ declare class AlgorandClientTransactionCreator {
937
937
  * @returns The application ABI method call transaction
938
938
  */
939
939
  appCallMethodCall: (params: {
940
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
940
+ appId: bigint;
941
941
  sender: SendingAddress;
942
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
942
943
  rekeyTo?: ReadableAddress | undefined;
943
944
  note?: string | Uint8Array | undefined;
944
945
  lease?: string | Uint8Array | undefined;
@@ -948,18 +949,18 @@ declare class AlgorandClientTransactionCreator {
948
949
  validityWindow?: number | bigint | undefined;
949
950
  firstValidRound?: bigint | undefined;
950
951
  lastValidRound?: bigint | undefined;
951
- appId: bigint;
952
952
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
953
953
  accountReferences?: ReadableAddress[] | undefined;
954
954
  appReferences?: bigint[] | undefined;
955
955
  assetReferences?: bigint[] | undefined;
956
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
956
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
957
957
  accessReferences?: AccessReference[] | undefined;
958
958
  rejectVersion?: number | undefined;
959
959
  method: ABIMethod;
960
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
961
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
960
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
961
+ args?: Uint8Array[] | undefined;
962
962
  sender: SendingAddress;
963
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
963
964
  rekeyTo?: ReadableAddress | undefined;
964
965
  note?: string | Uint8Array | undefined;
965
966
  lease?: string | Uint8Array | undefined;
@@ -970,11 +971,10 @@ declare class AlgorandClientTransactionCreator {
970
971
  firstValidRound?: bigint | undefined;
971
972
  lastValidRound?: bigint | undefined;
972
973
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
973
- args?: Uint8Array[] | undefined;
974
974
  accountReferences?: ReadableAddress[] | undefined;
975
975
  appReferences?: bigint[] | undefined;
976
976
  assetReferences?: bigint[] | undefined;
977
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
977
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
978
978
  accessReferences?: AccessReference[] | undefined;
979
979
  rejectVersion?: number | undefined;
980
980
  approvalProgram: string | Uint8Array;
@@ -1004,12 +1004,12 @@ declare class AlgorandClientTransactionCreator {
1004
1004
  accountReferences?: ReadableAddress[] | undefined;
1005
1005
  appReferences?: bigint[] | undefined;
1006
1006
  assetReferences?: bigint[] | undefined;
1007
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1007
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1008
1008
  accessReferences?: AccessReference[] | undefined;
1009
1009
  rejectVersion?: number | undefined;
1010
1010
  approvalProgram: string | Uint8Array;
1011
1011
  clearStateProgram: string | Uint8Array;
1012
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1012
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1013
1013
  }) => Promise<Expand<BuiltTransactions>>;
1014
1014
  /**
1015
1015
  * Create an online key registration transaction.
@@ -478,8 +478,9 @@ declare class AlgorandClientTransactionSender {
478
478
  * @returns The result of the app create transaction and the transaction that was sent
479
479
  */
480
480
  appCreate: (params: {
481
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
481
+ args?: Uint8Array[] | undefined;
482
482
  sender: SendingAddress;
483
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
483
484
  rekeyTo?: ReadableAddress | undefined;
484
485
  note?: string | Uint8Array | undefined;
485
486
  lease?: string | Uint8Array | undefined;
@@ -490,11 +491,10 @@ declare class AlgorandClientTransactionSender {
490
491
  firstValidRound?: bigint | undefined;
491
492
  lastValidRound?: bigint | undefined;
492
493
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
493
- args?: Uint8Array[] | undefined;
494
494
  accountReferences?: ReadableAddress[] | undefined;
495
495
  appReferences?: bigint[] | undefined;
496
496
  assetReferences?: bigint[] | undefined;
497
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
497
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
498
498
  accessReferences?: AccessReference[] | undefined;
499
499
  rejectVersion?: number | undefined;
500
500
  approvalProgram: string | Uint8Array;
@@ -568,7 +568,7 @@ declare class AlgorandClientTransactionSender {
568
568
  accountReferences?: ReadableAddress[] | undefined;
569
569
  appReferences?: bigint[] | undefined;
570
570
  assetReferences?: bigint[] | undefined;
571
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
571
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
572
572
  accessReferences?: AccessReference[] | undefined;
573
573
  rejectVersion?: number | undefined;
574
574
  approvalProgram: string | Uint8Array;
@@ -622,7 +622,7 @@ declare class AlgorandClientTransactionSender {
622
622
  accountReferences?: ReadableAddress[] | undefined;
623
623
  appReferences?: bigint[] | undefined;
624
624
  assetReferences?: bigint[] | undefined;
625
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
625
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
626
626
  accessReferences?: AccessReference[] | undefined;
627
627
  rejectVersion?: number | undefined;
628
628
  } & {
@@ -676,7 +676,7 @@ declare class AlgorandClientTransactionSender {
676
676
  accountReferences?: ReadableAddress[] | undefined;
677
677
  appReferences?: bigint[] | undefined;
678
678
  assetReferences?: bigint[] | undefined;
679
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
679
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
680
680
  accessReferences?: AccessReference[] | undefined;
681
681
  rejectVersion?: number | undefined;
682
682
  } & {
@@ -746,8 +746,8 @@ declare class AlgorandClientTransactionSender {
746
746
  * @returns The result of the application ABI method create transaction and the transaction that was sent
747
747
  */
748
748
  appCreateMethodCall: (params: {
749
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
750
749
  sender: SendingAddress;
750
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
751
751
  rekeyTo?: ReadableAddress | undefined;
752
752
  note?: string | Uint8Array | undefined;
753
753
  lease?: string | Uint8Array | undefined;
@@ -757,26 +757,27 @@ declare class AlgorandClientTransactionSender {
757
757
  validityWindow?: number | bigint | undefined;
758
758
  firstValidRound?: bigint | undefined;
759
759
  lastValidRound?: bigint | undefined;
760
- approvalProgram: string | Uint8Array;
761
- clearStateProgram: string | Uint8Array;
762
- extraProgramPages?: number | undefined;
763
760
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
764
761
  accountReferences?: ReadableAddress[] | undefined;
765
762
  appReferences?: bigint[] | undefined;
766
763
  assetReferences?: bigint[] | undefined;
767
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
764
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
768
765
  accessReferences?: AccessReference[] | undefined;
769
766
  rejectVersion?: number | undefined;
767
+ approvalProgram: string | Uint8Array;
768
+ clearStateProgram: string | Uint8Array;
770
769
  schema?: {
771
770
  globalInts: number;
772
771
  globalByteSlices: number;
773
772
  localInts: number;
774
773
  localByteSlices: number;
775
774
  } | undefined;
775
+ extraProgramPages?: number | undefined;
776
776
  method: ABIMethod;
777
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
778
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
777
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
778
+ args?: Uint8Array[] | undefined;
779
779
  sender: SendingAddress;
780
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
780
781
  rekeyTo?: ReadableAddress | undefined;
781
782
  note?: string | Uint8Array | undefined;
782
783
  lease?: string | Uint8Array | undefined;
@@ -787,11 +788,10 @@ declare class AlgorandClientTransactionSender {
787
788
  firstValidRound?: bigint | undefined;
788
789
  lastValidRound?: bigint | undefined;
789
790
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
790
- args?: Uint8Array[] | undefined;
791
791
  accountReferences?: ReadableAddress[] | undefined;
792
792
  appReferences?: bigint[] | undefined;
793
793
  assetReferences?: bigint[] | undefined;
794
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
794
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
795
795
  accessReferences?: AccessReference[] | undefined;
796
796
  rejectVersion?: number | undefined;
797
797
  approvalProgram: string | Uint8Array;
@@ -821,12 +821,12 @@ declare class AlgorandClientTransactionSender {
821
821
  accountReferences?: ReadableAddress[] | undefined;
822
822
  appReferences?: bigint[] | undefined;
823
823
  assetReferences?: bigint[] | undefined;
824
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
824
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
825
825
  accessReferences?: AccessReference[] | undefined;
826
826
  rejectVersion?: number | undefined;
827
827
  approvalProgram: string | Uint8Array;
828
828
  clearStateProgram: string | Uint8Array;
829
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
829
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
830
830
  } & SendParams) => Promise<SendAppCreateTransactionResult>;
831
831
  /**
832
832
  * Update a smart contract via an ABI method.
@@ -884,8 +884,9 @@ declare class AlgorandClientTransactionSender {
884
884
  * @returns The result of the application ABI method update transaction and the transaction that was sent
885
885
  */
886
886
  appUpdateMethodCall: (params: {
887
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
887
+ appId: bigint;
888
888
  sender: SendingAddress;
889
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
889
890
  rekeyTo?: ReadableAddress | undefined;
890
891
  note?: string | Uint8Array | undefined;
891
892
  lease?: string | Uint8Array | undefined;
@@ -895,20 +896,20 @@ declare class AlgorandClientTransactionSender {
895
896
  validityWindow?: number | bigint | undefined;
896
897
  firstValidRound?: bigint | undefined;
897
898
  lastValidRound?: bigint | undefined;
898
- approvalProgram: string | Uint8Array;
899
- clearStateProgram: string | Uint8Array;
900
- appId: bigint;
901
899
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
902
900
  accountReferences?: ReadableAddress[] | undefined;
903
901
  appReferences?: bigint[] | undefined;
904
902
  assetReferences?: bigint[] | undefined;
905
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
903
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
906
904
  accessReferences?: AccessReference[] | undefined;
907
905
  rejectVersion?: number | undefined;
906
+ approvalProgram: string | Uint8Array;
907
+ clearStateProgram: string | Uint8Array;
908
908
  method: ABIMethod;
909
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
910
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
909
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
910
+ args?: Uint8Array[] | undefined;
911
911
  sender: SendingAddress;
912
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
912
913
  rekeyTo?: ReadableAddress | undefined;
913
914
  note?: string | Uint8Array | undefined;
914
915
  lease?: string | Uint8Array | undefined;
@@ -919,11 +920,10 @@ declare class AlgorandClientTransactionSender {
919
920
  firstValidRound?: bigint | undefined;
920
921
  lastValidRound?: bigint | undefined;
921
922
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
922
- args?: Uint8Array[] | undefined;
923
923
  accountReferences?: ReadableAddress[] | undefined;
924
924
  appReferences?: bigint[] | undefined;
925
925
  assetReferences?: bigint[] | undefined;
926
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
926
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
927
927
  accessReferences?: AccessReference[] | undefined;
928
928
  rejectVersion?: number | undefined;
929
929
  approvalProgram: string | Uint8Array;
@@ -953,12 +953,12 @@ declare class AlgorandClientTransactionSender {
953
953
  accountReferences?: ReadableAddress[] | undefined;
954
954
  appReferences?: bigint[] | undefined;
955
955
  assetReferences?: bigint[] | undefined;
956
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
956
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
957
957
  accessReferences?: AccessReference[] | undefined;
958
958
  rejectVersion?: number | undefined;
959
959
  approvalProgram: string | Uint8Array;
960
960
  clearStateProgram: string | Uint8Array;
961
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
961
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
962
962
  } & SendParams) => Promise<SendAppUpdateTransactionResult>;
963
963
  /**
964
964
  * Delete a smart contract via an ABI method.
@@ -1014,8 +1014,9 @@ declare class AlgorandClientTransactionSender {
1014
1014
  * @returns The result of the application ABI method delete transaction and the transaction that was sent
1015
1015
  */
1016
1016
  appDeleteMethodCall: (params: {
1017
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1017
+ appId: bigint;
1018
1018
  sender: SendingAddress;
1019
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1019
1020
  rekeyTo?: ReadableAddress | undefined;
1020
1021
  note?: string | Uint8Array | undefined;
1021
1022
  lease?: string | Uint8Array | undefined;
@@ -1025,18 +1026,18 @@ declare class AlgorandClientTransactionSender {
1025
1026
  validityWindow?: number | bigint | undefined;
1026
1027
  firstValidRound?: bigint | undefined;
1027
1028
  lastValidRound?: bigint | undefined;
1028
- appId: bigint;
1029
1029
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1030
1030
  accountReferences?: ReadableAddress[] | undefined;
1031
1031
  appReferences?: bigint[] | undefined;
1032
1032
  assetReferences?: bigint[] | undefined;
1033
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1033
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1034
1034
  accessReferences?: AccessReference[] | undefined;
1035
1035
  rejectVersion?: number | undefined;
1036
1036
  method: ABIMethod;
1037
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
1038
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1037
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1038
+ args?: Uint8Array[] | undefined;
1039
1039
  sender: SendingAddress;
1040
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1040
1041
  rekeyTo?: ReadableAddress | undefined;
1041
1042
  note?: string | Uint8Array | undefined;
1042
1043
  lease?: string | Uint8Array | undefined;
@@ -1047,11 +1048,10 @@ declare class AlgorandClientTransactionSender {
1047
1048
  firstValidRound?: bigint | undefined;
1048
1049
  lastValidRound?: bigint | undefined;
1049
1050
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1050
- args?: Uint8Array[] | undefined;
1051
1051
  accountReferences?: ReadableAddress[] | undefined;
1052
1052
  appReferences?: bigint[] | undefined;
1053
1053
  assetReferences?: bigint[] | undefined;
1054
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1054
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1055
1055
  accessReferences?: AccessReference[] | undefined;
1056
1056
  rejectVersion?: number | undefined;
1057
1057
  approvalProgram: string | Uint8Array;
@@ -1081,12 +1081,12 @@ declare class AlgorandClientTransactionSender {
1081
1081
  accountReferences?: ReadableAddress[] | undefined;
1082
1082
  appReferences?: bigint[] | undefined;
1083
1083
  assetReferences?: bigint[] | undefined;
1084
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1084
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1085
1085
  accessReferences?: AccessReference[] | undefined;
1086
1086
  rejectVersion?: number | undefined;
1087
1087
  approvalProgram: string | Uint8Array;
1088
1088
  clearStateProgram: string | Uint8Array;
1089
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1089
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1090
1090
  } & SendParams) => Promise<SendAppTransactionResult>;
1091
1091
  /**
1092
1092
  * Call a smart contract via an ABI method.
@@ -1142,8 +1142,9 @@ declare class AlgorandClientTransactionSender {
1142
1142
  * @returns The result of the application ABI method call transaction and the transaction that was sent
1143
1143
  */
1144
1144
  appCallMethodCall: (params: {
1145
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1145
+ appId: bigint;
1146
1146
  sender: SendingAddress;
1147
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1147
1148
  rekeyTo?: ReadableAddress | undefined;
1148
1149
  note?: string | Uint8Array | undefined;
1149
1150
  lease?: string | Uint8Array | undefined;
@@ -1153,18 +1154,18 @@ declare class AlgorandClientTransactionSender {
1153
1154
  validityWindow?: number | bigint | undefined;
1154
1155
  firstValidRound?: bigint | undefined;
1155
1156
  lastValidRound?: bigint | undefined;
1156
- appId: bigint;
1157
1157
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1158
1158
  accountReferences?: ReadableAddress[] | undefined;
1159
1159
  appReferences?: bigint[] | undefined;
1160
1160
  assetReferences?: bigint[] | undefined;
1161
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1161
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1162
1162
  accessReferences?: AccessReference[] | undefined;
1163
1163
  rejectVersion?: number | undefined;
1164
1164
  method: ABIMethod;
1165
- args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
1166
- signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1165
+ args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
1166
+ args?: Uint8Array[] | undefined;
1167
1167
  sender: SendingAddress;
1168
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1168
1169
  rekeyTo?: ReadableAddress | undefined;
1169
1170
  note?: string | Uint8Array | undefined;
1170
1171
  lease?: string | Uint8Array | undefined;
@@ -1175,11 +1176,10 @@ declare class AlgorandClientTransactionSender {
1175
1176
  firstValidRound?: bigint | undefined;
1176
1177
  lastValidRound?: bigint | undefined;
1177
1178
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1178
- args?: Uint8Array[] | undefined;
1179
1179
  accountReferences?: ReadableAddress[] | undefined;
1180
1180
  appReferences?: bigint[] | undefined;
1181
1181
  assetReferences?: bigint[] | undefined;
1182
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1182
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1183
1183
  accessReferences?: AccessReference[] | undefined;
1184
1184
  rejectVersion?: number | undefined;
1185
1185
  approvalProgram: string | Uint8Array;
@@ -1209,12 +1209,12 @@ declare class AlgorandClientTransactionSender {
1209
1209
  accountReferences?: ReadableAddress[] | undefined;
1210
1210
  appReferences?: bigint[] | undefined;
1211
1211
  assetReferences?: bigint[] | undefined;
1212
- boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1212
+ boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
1213
1213
  accessReferences?: AccessReference[] | undefined;
1214
1214
  rejectVersion?: number | undefined;
1215
1215
  approvalProgram: string | Uint8Array;
1216
1216
  clearStateProgram: string | Uint8Array;
1217
- }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1217
+ }> | AppMethodCall<AppMethodCallParams> | Promise<Transaction> | undefined)[] | undefined;
1218
1218
  } & SendParams) => Promise<SendAppTransactionResult>;
1219
1219
  /**
1220
1220
  * Register an online key.