@algorandfoundation/algokit-utils 10.0.0-alpha.14 → 10.0.0-alpha.16
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.
- package/package.json +1 -1
- package/packages/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +121 -121
- package/types/algorand-client-transaction-sender.d.ts +123 -123
- package/types/app-client.d.ts +311 -311
- package/types/app-factory.d.ts +126 -126
|
@@ -348,23 +348,23 @@ declare class AlgorandClientTransactionCreator {
|
|
|
348
348
|
* @returns The application create transaction
|
|
349
349
|
*/
|
|
350
350
|
appCreate: (params: {
|
|
351
|
-
|
|
352
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
351
|
+
maxFee?: AlgoAmount | undefined;
|
|
353
352
|
sender: SendingAddress;
|
|
353
|
+
lease?: string | Uint8Array | undefined;
|
|
354
354
|
rekeyTo?: ReadableAddress | undefined;
|
|
355
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
356
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
355
357
|
note?: string | Uint8Array | undefined;
|
|
356
|
-
lease?: string | Uint8Array | undefined;
|
|
357
358
|
staticFee?: AlgoAmount | undefined;
|
|
358
359
|
extraFee?: AlgoAmount | undefined;
|
|
359
|
-
maxFee?: AlgoAmount | undefined;
|
|
360
360
|
validityWindow?: number | bigint | undefined;
|
|
361
361
|
firstValidRound?: bigint | undefined;
|
|
362
362
|
lastValidRound?: bigint | undefined;
|
|
363
|
-
|
|
363
|
+
args?: Uint8Array[] | undefined;
|
|
364
364
|
accountReferences?: ReadableAddress[] | undefined;
|
|
365
365
|
appReferences?: bigint[] | undefined;
|
|
366
366
|
assetReferences?: bigint[] | undefined;
|
|
367
|
-
boxReferences?: (
|
|
367
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
368
368
|
accessReferences?: ResourceReference[] | undefined;
|
|
369
369
|
rejectVersion?: number | undefined;
|
|
370
370
|
appId?: 0 | undefined;
|
|
@@ -433,7 +433,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
433
433
|
accountReferences?: ReadableAddress[] | undefined;
|
|
434
434
|
appReferences?: bigint[] | undefined;
|
|
435
435
|
assetReferences?: bigint[] | undefined;
|
|
436
|
-
boxReferences?: (
|
|
436
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
437
437
|
accessReferences?: ResourceReference[] | undefined;
|
|
438
438
|
rejectVersion?: number | undefined;
|
|
439
439
|
approvalProgram: string | Uint8Array;
|
|
@@ -568,62 +568,68 @@ declare class AlgorandClientTransactionCreator {
|
|
|
568
568
|
* @returns The application ABI method create transaction
|
|
569
569
|
*/
|
|
570
570
|
appCreateMethodCall: (params: {
|
|
571
|
-
|
|
571
|
+
maxFee?: AlgoAmount | undefined;
|
|
572
|
+
schema?: {
|
|
573
|
+
globalInts: number;
|
|
574
|
+
globalByteSlices: number;
|
|
575
|
+
localInts: number;
|
|
576
|
+
localByteSlices: number;
|
|
577
|
+
} | undefined;
|
|
572
578
|
sender: SendingAddress;
|
|
579
|
+
lease?: string | Uint8Array | undefined;
|
|
573
580
|
rekeyTo?: ReadableAddress | undefined;
|
|
581
|
+
approvalProgram: string | Uint8Array;
|
|
582
|
+
clearStateProgram: string | Uint8Array;
|
|
583
|
+
appId?: 0 | undefined;
|
|
584
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
585
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
574
586
|
note?: string | Uint8Array | undefined;
|
|
575
|
-
lease?: string | Uint8Array | undefined;
|
|
576
587
|
staticFee?: AlgoAmount | undefined;
|
|
577
588
|
extraFee?: AlgoAmount | undefined;
|
|
578
|
-
maxFee?: AlgoAmount | undefined;
|
|
579
589
|
validityWindow?: number | bigint | undefined;
|
|
580
590
|
firstValidRound?: bigint | undefined;
|
|
581
591
|
lastValidRound?: bigint | undefined;
|
|
582
|
-
appId?: 0 | undefined;
|
|
583
|
-
approvalProgram: string | Uint8Array;
|
|
584
|
-
clearStateProgram: string | Uint8Array;
|
|
585
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
586
592
|
accountReferences?: ReadableAddress[] | undefined;
|
|
587
593
|
appReferences?: bigint[] | undefined;
|
|
588
594
|
assetReferences?: bigint[] | undefined;
|
|
589
|
-
boxReferences?: (
|
|
595
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
590
596
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
597
|
rejectVersion?: number | undefined;
|
|
592
|
-
schema?: {
|
|
593
|
-
globalInts: number;
|
|
594
|
-
globalByteSlices: number;
|
|
595
|
-
localInts: number;
|
|
596
|
-
localByteSlices: number;
|
|
597
|
-
} | undefined;
|
|
598
598
|
extraProgramPages?: number | undefined;
|
|
599
599
|
method: ABIMethod;
|
|
600
|
-
args?: (ABIValue | Transaction |
|
|
600
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
601
|
+
maxFee?: AlgoAmount | undefined;
|
|
601
602
|
sender: SendingAddress;
|
|
602
|
-
|
|
603
|
+
lease?: string | Uint8Array | undefined;
|
|
603
604
|
rekeyTo?: ReadableAddress | undefined;
|
|
605
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
606
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
604
607
|
note?: string | Uint8Array | undefined;
|
|
605
|
-
lease?: string | Uint8Array | undefined;
|
|
606
608
|
staticFee?: AlgoAmount | undefined;
|
|
607
609
|
extraFee?: AlgoAmount | undefined;
|
|
608
|
-
maxFee?: AlgoAmount | undefined;
|
|
609
610
|
validityWindow?: number | bigint | undefined;
|
|
610
611
|
firstValidRound?: bigint | undefined;
|
|
611
612
|
lastValidRound?: bigint | undefined;
|
|
612
|
-
appId: bigint;
|
|
613
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
614
613
|
args?: Uint8Array[] | undefined;
|
|
615
614
|
accountReferences?: ReadableAddress[] | undefined;
|
|
616
615
|
appReferences?: bigint[] | undefined;
|
|
617
616
|
assetReferences?: bigint[] | undefined;
|
|
618
|
-
boxReferences?: (
|
|
617
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
619
618
|
accessReferences?: ResourceReference[] | undefined;
|
|
620
619
|
rejectVersion?: number | undefined;
|
|
620
|
+
appId?: 0 | undefined;
|
|
621
621
|
approvalProgram: string | Uint8Array;
|
|
622
622
|
clearStateProgram: string | Uint8Array;
|
|
623
|
+
schema?: {
|
|
624
|
+
globalInts: number;
|
|
625
|
+
globalByteSlices: number;
|
|
626
|
+
localInts: number;
|
|
627
|
+
localByteSlices: number;
|
|
628
|
+
} | undefined;
|
|
629
|
+
extraProgramPages?: number | undefined;
|
|
623
630
|
}> | AppMethodCall<{
|
|
624
|
-
args?: Uint8Array[] | undefined;
|
|
625
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
626
631
|
sender: SendingAddress;
|
|
632
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
627
633
|
rekeyTo?: ReadableAddress | undefined;
|
|
628
634
|
note?: string | Uint8Array | undefined;
|
|
629
635
|
lease?: string | Uint8Array | undefined;
|
|
@@ -633,24 +639,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
633
639
|
validityWindow?: number | bigint | undefined;
|
|
634
640
|
firstValidRound?: bigint | undefined;
|
|
635
641
|
lastValidRound?: bigint | undefined;
|
|
636
|
-
|
|
642
|
+
appId: bigint;
|
|
643
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
644
|
+
args?: Uint8Array[] | undefined;
|
|
637
645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
638
646
|
appReferences?: bigint[] | undefined;
|
|
639
647
|
assetReferences?: bigint[] | undefined;
|
|
640
|
-
boxReferences?: (
|
|
648
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
641
649
|
accessReferences?: ResourceReference[] | undefined;
|
|
642
650
|
rejectVersion?: number | undefined;
|
|
643
|
-
appId?: 0 | undefined;
|
|
644
651
|
approvalProgram: string | Uint8Array;
|
|
645
652
|
clearStateProgram: string | Uint8Array;
|
|
646
|
-
|
|
647
|
-
globalInts: number;
|
|
648
|
-
globalByteSlices: number;
|
|
649
|
-
localInts: number;
|
|
650
|
-
localByteSlices: number;
|
|
651
|
-
} | undefined;
|
|
652
|
-
extraProgramPages?: number | undefined;
|
|
653
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
653
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
654
654
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
655
655
|
/** Create an application update call with ABI method call transaction.
|
|
656
656
|
*
|
|
@@ -702,55 +702,61 @@ declare class AlgorandClientTransactionCreator {
|
|
|
702
702
|
* @returns The application ABI method update transaction
|
|
703
703
|
*/
|
|
704
704
|
appUpdateMethodCall: (params: {
|
|
705
|
-
|
|
705
|
+
maxFee?: AlgoAmount | undefined;
|
|
706
706
|
sender: SendingAddress;
|
|
707
|
+
lease?: string | Uint8Array | undefined;
|
|
707
708
|
rekeyTo?: ReadableAddress | undefined;
|
|
709
|
+
approvalProgram: string | Uint8Array;
|
|
710
|
+
clearStateProgram: string | Uint8Array;
|
|
711
|
+
appId: bigint;
|
|
712
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
713
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
708
714
|
note?: string | Uint8Array | undefined;
|
|
709
|
-
lease?: string | Uint8Array | undefined;
|
|
710
715
|
staticFee?: AlgoAmount | undefined;
|
|
711
716
|
extraFee?: AlgoAmount | undefined;
|
|
712
|
-
maxFee?: AlgoAmount | undefined;
|
|
713
717
|
validityWindow?: number | bigint | undefined;
|
|
714
718
|
firstValidRound?: bigint | undefined;
|
|
715
719
|
lastValidRound?: bigint | undefined;
|
|
716
|
-
appId: bigint;
|
|
717
|
-
approvalProgram: string | Uint8Array;
|
|
718
|
-
clearStateProgram: string | Uint8Array;
|
|
719
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
720
720
|
accountReferences?: ReadableAddress[] | undefined;
|
|
721
721
|
appReferences?: bigint[] | undefined;
|
|
722
722
|
assetReferences?: bigint[] | undefined;
|
|
723
|
-
boxReferences?: (
|
|
723
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
724
724
|
accessReferences?: ResourceReference[] | undefined;
|
|
725
725
|
rejectVersion?: number | undefined;
|
|
726
726
|
method: ABIMethod;
|
|
727
|
-
args?: (ABIValue | Transaction |
|
|
727
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
728
|
+
maxFee?: AlgoAmount | undefined;
|
|
728
729
|
sender: SendingAddress;
|
|
729
|
-
|
|
730
|
+
lease?: string | Uint8Array | undefined;
|
|
730
731
|
rekeyTo?: ReadableAddress | undefined;
|
|
732
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
733
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
731
734
|
note?: string | Uint8Array | undefined;
|
|
732
|
-
lease?: string | Uint8Array | undefined;
|
|
733
735
|
staticFee?: AlgoAmount | undefined;
|
|
734
736
|
extraFee?: AlgoAmount | undefined;
|
|
735
|
-
maxFee?: AlgoAmount | undefined;
|
|
736
737
|
validityWindow?: number | bigint | undefined;
|
|
737
738
|
firstValidRound?: bigint | undefined;
|
|
738
739
|
lastValidRound?: bigint | undefined;
|
|
739
|
-
appId: bigint;
|
|
740
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
741
740
|
args?: Uint8Array[] | undefined;
|
|
742
741
|
accountReferences?: ReadableAddress[] | undefined;
|
|
743
742
|
appReferences?: bigint[] | undefined;
|
|
744
743
|
assetReferences?: bigint[] | undefined;
|
|
745
|
-
boxReferences?: (
|
|
744
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
746
745
|
accessReferences?: ResourceReference[] | undefined;
|
|
747
746
|
rejectVersion?: number | undefined;
|
|
747
|
+
appId?: 0 | undefined;
|
|
748
748
|
approvalProgram: string | Uint8Array;
|
|
749
749
|
clearStateProgram: string | Uint8Array;
|
|
750
|
+
schema?: {
|
|
751
|
+
globalInts: number;
|
|
752
|
+
globalByteSlices: number;
|
|
753
|
+
localInts: number;
|
|
754
|
+
localByteSlices: number;
|
|
755
|
+
} | undefined;
|
|
756
|
+
extraProgramPages?: number | undefined;
|
|
750
757
|
}> | AppMethodCall<{
|
|
751
|
-
args?: Uint8Array[] | undefined;
|
|
752
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
753
758
|
sender: SendingAddress;
|
|
759
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
754
760
|
rekeyTo?: ReadableAddress | undefined;
|
|
755
761
|
note?: string | Uint8Array | undefined;
|
|
756
762
|
lease?: string | Uint8Array | undefined;
|
|
@@ -760,24 +766,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
760
766
|
validityWindow?: number | bigint | undefined;
|
|
761
767
|
firstValidRound?: bigint | undefined;
|
|
762
768
|
lastValidRound?: bigint | undefined;
|
|
763
|
-
|
|
769
|
+
appId: bigint;
|
|
770
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
771
|
+
args?: Uint8Array[] | undefined;
|
|
764
772
|
accountReferences?: ReadableAddress[] | undefined;
|
|
765
773
|
appReferences?: bigint[] | undefined;
|
|
766
774
|
assetReferences?: bigint[] | undefined;
|
|
767
|
-
boxReferences?: (
|
|
775
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
768
776
|
accessReferences?: ResourceReference[] | undefined;
|
|
769
777
|
rejectVersion?: number | undefined;
|
|
770
|
-
appId?: 0 | undefined;
|
|
771
778
|
approvalProgram: string | Uint8Array;
|
|
772
779
|
clearStateProgram: string | Uint8Array;
|
|
773
|
-
|
|
774
|
-
globalInts: number;
|
|
775
|
-
globalByteSlices: number;
|
|
776
|
-
localInts: number;
|
|
777
|
-
localByteSlices: number;
|
|
778
|
-
} | undefined;
|
|
779
|
-
extraProgramPages?: number | undefined;
|
|
780
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
780
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
781
781
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
782
782
|
/** Create an application delete call with ABI method call transaction.
|
|
783
783
|
*
|
|
@@ -827,53 +827,59 @@ declare class AlgorandClientTransactionCreator {
|
|
|
827
827
|
* @returns The application ABI method delete transaction
|
|
828
828
|
*/
|
|
829
829
|
appDeleteMethodCall: (params: {
|
|
830
|
-
|
|
830
|
+
maxFee?: AlgoAmount | undefined;
|
|
831
831
|
sender: SendingAddress;
|
|
832
|
+
lease?: string | Uint8Array | undefined;
|
|
832
833
|
rekeyTo?: ReadableAddress | undefined;
|
|
834
|
+
appId: bigint;
|
|
835
|
+
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
836
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
833
837
|
note?: string | Uint8Array | undefined;
|
|
834
|
-
lease?: string | Uint8Array | undefined;
|
|
835
838
|
staticFee?: AlgoAmount | undefined;
|
|
836
839
|
extraFee?: AlgoAmount | undefined;
|
|
837
|
-
maxFee?: AlgoAmount | undefined;
|
|
838
840
|
validityWindow?: number | bigint | undefined;
|
|
839
841
|
firstValidRound?: bigint | undefined;
|
|
840
842
|
lastValidRound?: bigint | undefined;
|
|
841
|
-
appId: bigint;
|
|
842
|
-
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
843
843
|
accountReferences?: ReadableAddress[] | undefined;
|
|
844
844
|
appReferences?: bigint[] | undefined;
|
|
845
845
|
assetReferences?: bigint[] | undefined;
|
|
846
|
-
boxReferences?: (
|
|
846
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
847
847
|
accessReferences?: ResourceReference[] | undefined;
|
|
848
848
|
rejectVersion?: number | undefined;
|
|
849
849
|
method: ABIMethod;
|
|
850
|
-
args?: (ABIValue | Transaction |
|
|
850
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
851
|
+
maxFee?: AlgoAmount | undefined;
|
|
851
852
|
sender: SendingAddress;
|
|
852
|
-
|
|
853
|
+
lease?: string | Uint8Array | undefined;
|
|
853
854
|
rekeyTo?: ReadableAddress | undefined;
|
|
855
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
856
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
854
857
|
note?: string | Uint8Array | undefined;
|
|
855
|
-
lease?: string | Uint8Array | undefined;
|
|
856
858
|
staticFee?: AlgoAmount | undefined;
|
|
857
859
|
extraFee?: AlgoAmount | undefined;
|
|
858
|
-
maxFee?: AlgoAmount | undefined;
|
|
859
860
|
validityWindow?: number | bigint | undefined;
|
|
860
861
|
firstValidRound?: bigint | undefined;
|
|
861
862
|
lastValidRound?: bigint | undefined;
|
|
862
|
-
appId: bigint;
|
|
863
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
864
863
|
args?: Uint8Array[] | undefined;
|
|
865
864
|
accountReferences?: ReadableAddress[] | undefined;
|
|
866
865
|
appReferences?: bigint[] | undefined;
|
|
867
866
|
assetReferences?: bigint[] | undefined;
|
|
868
|
-
boxReferences?: (
|
|
867
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
869
868
|
accessReferences?: ResourceReference[] | undefined;
|
|
870
869
|
rejectVersion?: number | undefined;
|
|
870
|
+
appId?: 0 | undefined;
|
|
871
871
|
approvalProgram: string | Uint8Array;
|
|
872
872
|
clearStateProgram: string | Uint8Array;
|
|
873
|
+
schema?: {
|
|
874
|
+
globalInts: number;
|
|
875
|
+
globalByteSlices: number;
|
|
876
|
+
localInts: number;
|
|
877
|
+
localByteSlices: number;
|
|
878
|
+
} | undefined;
|
|
879
|
+
extraProgramPages?: number | undefined;
|
|
873
880
|
}> | AppMethodCall<{
|
|
874
|
-
args?: Uint8Array[] | undefined;
|
|
875
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
876
881
|
sender: SendingAddress;
|
|
882
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
877
883
|
rekeyTo?: ReadableAddress | undefined;
|
|
878
884
|
note?: string | Uint8Array | undefined;
|
|
879
885
|
lease?: string | Uint8Array | undefined;
|
|
@@ -883,24 +889,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
883
889
|
validityWindow?: number | bigint | undefined;
|
|
884
890
|
firstValidRound?: bigint | undefined;
|
|
885
891
|
lastValidRound?: bigint | undefined;
|
|
886
|
-
|
|
892
|
+
appId: bigint;
|
|
893
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
894
|
+
args?: Uint8Array[] | undefined;
|
|
887
895
|
accountReferences?: ReadableAddress[] | undefined;
|
|
888
896
|
appReferences?: bigint[] | undefined;
|
|
889
897
|
assetReferences?: bigint[] | undefined;
|
|
890
|
-
boxReferences?: (
|
|
898
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
891
899
|
accessReferences?: ResourceReference[] | undefined;
|
|
892
900
|
rejectVersion?: number | undefined;
|
|
893
|
-
appId?: 0 | undefined;
|
|
894
901
|
approvalProgram: string | Uint8Array;
|
|
895
902
|
clearStateProgram: string | Uint8Array;
|
|
896
|
-
|
|
897
|
-
globalInts: number;
|
|
898
|
-
globalByteSlices: number;
|
|
899
|
-
localInts: number;
|
|
900
|
-
localByteSlices: number;
|
|
901
|
-
} | undefined;
|
|
902
|
-
extraProgramPages?: number | undefined;
|
|
903
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
903
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
904
904
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
905
905
|
/** Create an application call with ABI method call transaction.
|
|
906
906
|
*
|
|
@@ -950,53 +950,59 @@ declare class AlgorandClientTransactionCreator {
|
|
|
950
950
|
* @returns The application ABI method call transaction
|
|
951
951
|
*/
|
|
952
952
|
appCallMethodCall: (params: {
|
|
953
|
-
|
|
953
|
+
maxFee?: AlgoAmount | undefined;
|
|
954
954
|
sender: SendingAddress;
|
|
955
|
+
lease?: string | Uint8Array | undefined;
|
|
955
956
|
rekeyTo?: ReadableAddress | undefined;
|
|
957
|
+
appId: bigint;
|
|
958
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
959
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
956
960
|
note?: string | Uint8Array | undefined;
|
|
957
|
-
lease?: string | Uint8Array | undefined;
|
|
958
961
|
staticFee?: AlgoAmount | undefined;
|
|
959
962
|
extraFee?: AlgoAmount | undefined;
|
|
960
|
-
maxFee?: AlgoAmount | undefined;
|
|
961
963
|
validityWindow?: number | bigint | undefined;
|
|
962
964
|
firstValidRound?: bigint | undefined;
|
|
963
965
|
lastValidRound?: bigint | undefined;
|
|
964
|
-
appId: bigint;
|
|
965
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
966
966
|
accountReferences?: ReadableAddress[] | undefined;
|
|
967
967
|
appReferences?: bigint[] | undefined;
|
|
968
968
|
assetReferences?: bigint[] | undefined;
|
|
969
|
-
boxReferences?: (
|
|
969
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
970
970
|
accessReferences?: ResourceReference[] | undefined;
|
|
971
971
|
rejectVersion?: number | undefined;
|
|
972
972
|
method: ABIMethod;
|
|
973
|
-
args?: (ABIValue | Transaction |
|
|
973
|
+
args?: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
974
|
+
maxFee?: AlgoAmount | undefined;
|
|
974
975
|
sender: SendingAddress;
|
|
975
|
-
|
|
976
|
+
lease?: string | Uint8Array | undefined;
|
|
976
977
|
rekeyTo?: ReadableAddress | undefined;
|
|
978
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
979
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
977
980
|
note?: string | Uint8Array | undefined;
|
|
978
|
-
lease?: string | Uint8Array | undefined;
|
|
979
981
|
staticFee?: AlgoAmount | undefined;
|
|
980
982
|
extraFee?: AlgoAmount | undefined;
|
|
981
|
-
maxFee?: AlgoAmount | undefined;
|
|
982
983
|
validityWindow?: number | bigint | undefined;
|
|
983
984
|
firstValidRound?: bigint | undefined;
|
|
984
985
|
lastValidRound?: bigint | undefined;
|
|
985
|
-
appId: bigint;
|
|
986
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
987
986
|
args?: Uint8Array[] | undefined;
|
|
988
987
|
accountReferences?: ReadableAddress[] | undefined;
|
|
989
988
|
appReferences?: bigint[] | undefined;
|
|
990
989
|
assetReferences?: bigint[] | undefined;
|
|
991
|
-
boxReferences?: (
|
|
990
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
992
991
|
accessReferences?: ResourceReference[] | undefined;
|
|
993
992
|
rejectVersion?: number | undefined;
|
|
993
|
+
appId?: 0 | undefined;
|
|
994
994
|
approvalProgram: string | Uint8Array;
|
|
995
995
|
clearStateProgram: string | Uint8Array;
|
|
996
|
+
schema?: {
|
|
997
|
+
globalInts: number;
|
|
998
|
+
globalByteSlices: number;
|
|
999
|
+
localInts: number;
|
|
1000
|
+
localByteSlices: number;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
extraProgramPages?: number | undefined;
|
|
996
1003
|
}> | AppMethodCall<{
|
|
997
|
-
args?: Uint8Array[] | undefined;
|
|
998
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
999
1004
|
sender: SendingAddress;
|
|
1005
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1000
1006
|
rekeyTo?: ReadableAddress | undefined;
|
|
1001
1007
|
note?: string | Uint8Array | undefined;
|
|
1002
1008
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1006,24 +1012,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1006
1012
|
validityWindow?: number | bigint | undefined;
|
|
1007
1013
|
firstValidRound?: bigint | undefined;
|
|
1008
1014
|
lastValidRound?: bigint | undefined;
|
|
1009
|
-
|
|
1015
|
+
appId: bigint;
|
|
1016
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1017
|
+
args?: Uint8Array[] | undefined;
|
|
1010
1018
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1011
1019
|
appReferences?: bigint[] | undefined;
|
|
1012
1020
|
assetReferences?: bigint[] | undefined;
|
|
1013
|
-
boxReferences?: (
|
|
1021
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1014
1022
|
accessReferences?: ResourceReference[] | undefined;
|
|
1015
1023
|
rejectVersion?: number | undefined;
|
|
1016
|
-
appId?: 0 | undefined;
|
|
1017
1024
|
approvalProgram: string | Uint8Array;
|
|
1018
1025
|
clearStateProgram: string | Uint8Array;
|
|
1019
|
-
|
|
1020
|
-
globalInts: number;
|
|
1021
|
-
globalByteSlices: number;
|
|
1022
|
-
localInts: number;
|
|
1023
|
-
localByteSlices: number;
|
|
1024
|
-
} | undefined;
|
|
1025
|
-
extraProgramPages?: number | undefined;
|
|
1026
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1026
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1027
1027
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Create an online key registration transaction.
|