@algorandfoundation/algokit-utils 10.0.0-alpha.15 → 10.0.0-alpha.17
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/_virtual/rolldown_runtime.js +0 -14
- package/index.d.ts +1 -2
- package/index.js +0 -7
- package/index.mjs +1 -2
- package/indexer-client/index.d.ts +2 -1
- package/indexer-client/index.js +6 -1
- package/indexer-client/index.mjs +2 -1
- package/{indexer-lookup.d.ts → indexer-client/indexer-lookup.d.ts} +8 -11
- package/{indexer-lookup.mjs → indexer-client/indexer-lookup.js} +6 -10
- package/indexer-client/indexer-lookup.js.map +1 -0
- package/{indexer-lookup.js → indexer-client/indexer-lookup.mjs} +3 -18
- package/indexer-client/indexer-lookup.mjs.map +1 -0
- package/package.json +1 -1
- package/packages/common/src/json.mjs +2 -2
- package/packages/common/src/json.mjs.map +1 -1
- package/packages/sdk/src/utils/utils.mjs +2 -2
- package/packages/sdk/src/utils/utils.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +46 -46
- package/types/algorand-client-transaction-sender.d.ts +48 -48
- package/types/app-client.d.ts +141 -141
- package/types/app-deployer.js +1 -1
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs +1 -1
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +61 -61
- package/_virtual/rolldown_runtime.mjs +0 -18
- package/indexer-lookup.js.map +0 -1
- package/indexer-lookup.mjs.map +0 -1
|
@@ -348,9 +348,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
348
348
|
* @returns The application create transaction
|
|
349
349
|
*/
|
|
350
350
|
appCreate: (params: {
|
|
351
|
-
args?: Uint8Array[] | undefined;
|
|
352
351
|
sender: SendingAddress;
|
|
353
|
-
signer?:
|
|
352
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
354
353
|
rekeyTo?: ReadableAddress | undefined;
|
|
355
354
|
note?: string | Uint8Array | undefined;
|
|
356
355
|
lease?: string | Uint8Array | undefined;
|
|
@@ -361,10 +360,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
361
360
|
firstValidRound?: bigint | undefined;
|
|
362
361
|
lastValidRound?: bigint | undefined;
|
|
363
362
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
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;
|
|
@@ -417,7 +417,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
417
417
|
*/
|
|
418
418
|
appUpdate: (params: {
|
|
419
419
|
sender: SendingAddress;
|
|
420
|
-
signer?:
|
|
420
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
421
421
|
rekeyTo?: ReadableAddress | undefined;
|
|
422
422
|
note?: string | Uint8Array | undefined;
|
|
423
423
|
lease?: string | Uint8Array | 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,9 +568,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
568
568
|
* @returns The application ABI method create transaction
|
|
569
569
|
*/
|
|
570
570
|
appCreateMethodCall: (params: {
|
|
571
|
+
approvalProgram: string | Uint8Array;
|
|
572
|
+
clearStateProgram: string | Uint8Array;
|
|
571
573
|
appId?: 0 | undefined;
|
|
574
|
+
extraProgramPages?: number | undefined;
|
|
572
575
|
sender: SendingAddress;
|
|
573
|
-
signer?:
|
|
576
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
574
577
|
rekeyTo?: ReadableAddress | undefined;
|
|
575
578
|
note?: string | Uint8Array | undefined;
|
|
576
579
|
lease?: string | Uint8Array | undefined;
|
|
@@ -584,23 +587,19 @@ declare class AlgorandClientTransactionCreator {
|
|
|
584
587
|
accountReferences?: ReadableAddress[] | undefined;
|
|
585
588
|
appReferences?: bigint[] | undefined;
|
|
586
589
|
assetReferences?: bigint[] | undefined;
|
|
587
|
-
boxReferences?: (
|
|
590
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
588
591
|
accessReferences?: ResourceReference[] | undefined;
|
|
589
592
|
rejectVersion?: number | undefined;
|
|
590
|
-
approvalProgram: string | Uint8Array;
|
|
591
|
-
clearStateProgram: string | Uint8Array;
|
|
592
593
|
schema?: {
|
|
593
594
|
globalInts: number;
|
|
594
595
|
globalByteSlices: number;
|
|
595
596
|
localInts: number;
|
|
596
597
|
localByteSlices: number;
|
|
597
598
|
} | undefined;
|
|
598
|
-
extraProgramPages?: number | undefined;
|
|
599
599
|
method: ABIMethod;
|
|
600
|
-
args?: (Transaction |
|
|
601
|
-
args?: Uint8Array[] | undefined;
|
|
600
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
602
601
|
sender: SendingAddress;
|
|
603
|
-
signer?:
|
|
602
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
604
603
|
rekeyTo?: ReadableAddress | undefined;
|
|
605
604
|
note?: string | Uint8Array | undefined;
|
|
606
605
|
lease?: string | Uint8Array | undefined;
|
|
@@ -611,10 +610,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
611
610
|
firstValidRound?: bigint | undefined;
|
|
612
611
|
lastValidRound?: bigint | undefined;
|
|
613
612
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
613
|
+
args?: Uint8Array[] | undefined;
|
|
614
614
|
accountReferences?: ReadableAddress[] | undefined;
|
|
615
615
|
appReferences?: bigint[] | undefined;
|
|
616
616
|
assetReferences?: bigint[] | undefined;
|
|
617
|
-
boxReferences?: (
|
|
617
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
618
618
|
accessReferences?: ResourceReference[] | undefined;
|
|
619
619
|
rejectVersion?: number | undefined;
|
|
620
620
|
appId?: 0 | undefined;
|
|
@@ -629,7 +629,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
629
629
|
extraProgramPages?: number | undefined;
|
|
630
630
|
}> | AppMethodCall<{
|
|
631
631
|
sender: SendingAddress;
|
|
632
|
-
signer?:
|
|
632
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
633
633
|
rekeyTo?: ReadableAddress | undefined;
|
|
634
634
|
note?: string | Uint8Array | undefined;
|
|
635
635
|
lease?: string | Uint8Array | undefined;
|
|
@@ -645,12 +645,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
645
645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
646
646
|
appReferences?: bigint[] | undefined;
|
|
647
647
|
assetReferences?: bigint[] | undefined;
|
|
648
|
-
boxReferences?: (
|
|
648
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
649
649
|
accessReferences?: ResourceReference[] | undefined;
|
|
650
650
|
rejectVersion?: number | undefined;
|
|
651
651
|
approvalProgram: string | Uint8Array;
|
|
652
652
|
clearStateProgram: string | Uint8Array;
|
|
653
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
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,9 +702,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
702
702
|
* @returns The application ABI method update transaction
|
|
703
703
|
*/
|
|
704
704
|
appUpdateMethodCall: (params: {
|
|
705
|
+
approvalProgram: string | Uint8Array;
|
|
706
|
+
clearStateProgram: string | Uint8Array;
|
|
705
707
|
appId: bigint;
|
|
706
708
|
sender: SendingAddress;
|
|
707
|
-
signer?:
|
|
709
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
708
710
|
rekeyTo?: ReadableAddress | undefined;
|
|
709
711
|
note?: string | Uint8Array | undefined;
|
|
710
712
|
lease?: string | Uint8Array | undefined;
|
|
@@ -718,16 +720,13 @@ declare class AlgorandClientTransactionCreator {
|
|
|
718
720
|
accountReferences?: ReadableAddress[] | undefined;
|
|
719
721
|
appReferences?: bigint[] | undefined;
|
|
720
722
|
assetReferences?: bigint[] | undefined;
|
|
721
|
-
boxReferences?: (
|
|
723
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
722
724
|
accessReferences?: ResourceReference[] | undefined;
|
|
723
725
|
rejectVersion?: number | undefined;
|
|
724
|
-
approvalProgram: string | Uint8Array;
|
|
725
|
-
clearStateProgram: string | Uint8Array;
|
|
726
726
|
method: ABIMethod;
|
|
727
|
-
args?: (Transaction |
|
|
728
|
-
args?: Uint8Array[] | undefined;
|
|
727
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
729
728
|
sender: SendingAddress;
|
|
730
|
-
signer?:
|
|
729
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
731
730
|
rekeyTo?: ReadableAddress | undefined;
|
|
732
731
|
note?: string | Uint8Array | undefined;
|
|
733
732
|
lease?: string | Uint8Array | undefined;
|
|
@@ -738,10 +737,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
738
737
|
firstValidRound?: bigint | undefined;
|
|
739
738
|
lastValidRound?: bigint | undefined;
|
|
740
739
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
740
|
+
args?: Uint8Array[] | undefined;
|
|
741
741
|
accountReferences?: ReadableAddress[] | undefined;
|
|
742
742
|
appReferences?: bigint[] | undefined;
|
|
743
743
|
assetReferences?: bigint[] | undefined;
|
|
744
|
-
boxReferences?: (
|
|
744
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
745
745
|
accessReferences?: ResourceReference[] | undefined;
|
|
746
746
|
rejectVersion?: number | undefined;
|
|
747
747
|
appId?: 0 | undefined;
|
|
@@ -756,7 +756,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
756
756
|
extraProgramPages?: number | undefined;
|
|
757
757
|
}> | AppMethodCall<{
|
|
758
758
|
sender: SendingAddress;
|
|
759
|
-
signer?:
|
|
759
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
760
760
|
rekeyTo?: ReadableAddress | undefined;
|
|
761
761
|
note?: string | Uint8Array | undefined;
|
|
762
762
|
lease?: string | Uint8Array | undefined;
|
|
@@ -772,12 +772,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
772
772
|
accountReferences?: ReadableAddress[] | undefined;
|
|
773
773
|
appReferences?: bigint[] | undefined;
|
|
774
774
|
assetReferences?: bigint[] | undefined;
|
|
775
|
-
boxReferences?: (
|
|
775
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
776
776
|
accessReferences?: ResourceReference[] | undefined;
|
|
777
777
|
rejectVersion?: number | undefined;
|
|
778
778
|
approvalProgram: string | Uint8Array;
|
|
779
779
|
clearStateProgram: string | Uint8Array;
|
|
780
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
780
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
781
781
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
782
782
|
/** Create an application delete call with ABI method call transaction.
|
|
783
783
|
*
|
|
@@ -829,7 +829,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
829
829
|
appDeleteMethodCall: (params: {
|
|
830
830
|
appId: bigint;
|
|
831
831
|
sender: SendingAddress;
|
|
832
|
-
signer?:
|
|
832
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
833
833
|
rekeyTo?: ReadableAddress | undefined;
|
|
834
834
|
note?: string | Uint8Array | undefined;
|
|
835
835
|
lease?: string | Uint8Array | undefined;
|
|
@@ -843,14 +843,13 @@ declare class AlgorandClientTransactionCreator {
|
|
|
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?: (Transaction |
|
|
851
|
-
args?: Uint8Array[] | undefined;
|
|
850
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
852
851
|
sender: SendingAddress;
|
|
853
|
-
signer?:
|
|
852
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
854
853
|
rekeyTo?: ReadableAddress | undefined;
|
|
855
854
|
note?: string | Uint8Array | undefined;
|
|
856
855
|
lease?: string | Uint8Array | undefined;
|
|
@@ -861,10 +860,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
861
860
|
firstValidRound?: bigint | undefined;
|
|
862
861
|
lastValidRound?: bigint | undefined;
|
|
863
862
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
863
|
+
args?: Uint8Array[] | undefined;
|
|
864
864
|
accountReferences?: ReadableAddress[] | undefined;
|
|
865
865
|
appReferences?: bigint[] | undefined;
|
|
866
866
|
assetReferences?: bigint[] | undefined;
|
|
867
|
-
boxReferences?: (
|
|
867
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
868
868
|
accessReferences?: ResourceReference[] | undefined;
|
|
869
869
|
rejectVersion?: number | undefined;
|
|
870
870
|
appId?: 0 | undefined;
|
|
@@ -879,7 +879,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
879
879
|
extraProgramPages?: number | undefined;
|
|
880
880
|
}> | AppMethodCall<{
|
|
881
881
|
sender: SendingAddress;
|
|
882
|
-
signer?:
|
|
882
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
883
883
|
rekeyTo?: ReadableAddress | undefined;
|
|
884
884
|
note?: string | Uint8Array | undefined;
|
|
885
885
|
lease?: string | Uint8Array | undefined;
|
|
@@ -895,12 +895,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
895
895
|
accountReferences?: ReadableAddress[] | undefined;
|
|
896
896
|
appReferences?: bigint[] | undefined;
|
|
897
897
|
assetReferences?: bigint[] | undefined;
|
|
898
|
-
boxReferences?: (
|
|
898
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
899
899
|
accessReferences?: ResourceReference[] | undefined;
|
|
900
900
|
rejectVersion?: number | undefined;
|
|
901
901
|
approvalProgram: string | Uint8Array;
|
|
902
902
|
clearStateProgram: string | Uint8Array;
|
|
903
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
903
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
904
904
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
905
905
|
/** Create an application call with ABI method call transaction.
|
|
906
906
|
*
|
|
@@ -952,7 +952,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
952
952
|
appCallMethodCall: (params: {
|
|
953
953
|
appId: bigint;
|
|
954
954
|
sender: SendingAddress;
|
|
955
|
-
signer?:
|
|
955
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
956
956
|
rekeyTo?: ReadableAddress | undefined;
|
|
957
957
|
note?: string | Uint8Array | undefined;
|
|
958
958
|
lease?: string | Uint8Array | undefined;
|
|
@@ -966,14 +966,13 @@ declare class AlgorandClientTransactionCreator {
|
|
|
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?: (Transaction |
|
|
974
|
-
args?: Uint8Array[] | undefined;
|
|
973
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
975
974
|
sender: SendingAddress;
|
|
976
|
-
signer?:
|
|
975
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
977
976
|
rekeyTo?: ReadableAddress | undefined;
|
|
978
977
|
note?: string | Uint8Array | undefined;
|
|
979
978
|
lease?: string | Uint8Array | undefined;
|
|
@@ -984,10 +983,11 @@ declare class AlgorandClientTransactionCreator {
|
|
|
984
983
|
firstValidRound?: bigint | undefined;
|
|
985
984
|
lastValidRound?: bigint | undefined;
|
|
986
985
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
986
|
+
args?: Uint8Array[] | undefined;
|
|
987
987
|
accountReferences?: ReadableAddress[] | undefined;
|
|
988
988
|
appReferences?: bigint[] | undefined;
|
|
989
989
|
assetReferences?: bigint[] | undefined;
|
|
990
|
-
boxReferences?: (
|
|
990
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
991
991
|
accessReferences?: ResourceReference[] | undefined;
|
|
992
992
|
rejectVersion?: number | undefined;
|
|
993
993
|
appId?: 0 | undefined;
|
|
@@ -1002,7 +1002,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1002
1002
|
extraProgramPages?: number | undefined;
|
|
1003
1003
|
}> | AppMethodCall<{
|
|
1004
1004
|
sender: SendingAddress;
|
|
1005
|
-
signer?:
|
|
1005
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1006
1006
|
rekeyTo?: ReadableAddress | undefined;
|
|
1007
1007
|
note?: string | Uint8Array | undefined;
|
|
1008
1008
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1018,12 +1018,12 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1018
1018
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1019
1019
|
appReferences?: bigint[] | undefined;
|
|
1020
1020
|
assetReferences?: bigint[] | undefined;
|
|
1021
|
-
boxReferences?: (
|
|
1021
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1022
1022
|
accessReferences?: ResourceReference[] | undefined;
|
|
1023
1023
|
rejectVersion?: number | undefined;
|
|
1024
1024
|
approvalProgram: string | Uint8Array;
|
|
1025
1025
|
clearStateProgram: string | Uint8Array;
|
|
1026
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
1026
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1027
1027
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Create an online key registration transaction.
|
|
@@ -479,9 +479,8 @@ declare class AlgorandClientTransactionSender {
|
|
|
479
479
|
* @returns The result of the app create transaction and the transaction that was sent
|
|
480
480
|
*/
|
|
481
481
|
appCreate: (params: {
|
|
482
|
-
args?: Uint8Array[] | undefined;
|
|
483
482
|
sender: SendingAddress;
|
|
484
|
-
signer?:
|
|
483
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
485
484
|
rekeyTo?: ReadableAddress | undefined;
|
|
486
485
|
note?: string | Uint8Array | undefined;
|
|
487
486
|
lease?: string | Uint8Array | undefined;
|
|
@@ -492,10 +491,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
492
491
|
firstValidRound?: bigint | undefined;
|
|
493
492
|
lastValidRound?: bigint | undefined;
|
|
494
493
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
494
|
+
args?: Uint8Array[] | undefined;
|
|
495
495
|
accountReferences?: ReadableAddress[] | undefined;
|
|
496
496
|
appReferences?: bigint[] | undefined;
|
|
497
497
|
assetReferences?: bigint[] | undefined;
|
|
498
|
-
boxReferences?: (
|
|
498
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
499
499
|
accessReferences?: ResourceReference[] | undefined;
|
|
500
500
|
rejectVersion?: number | undefined;
|
|
501
501
|
appId?: 0 | undefined;
|
|
@@ -555,7 +555,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
555
555
|
*/
|
|
556
556
|
appUpdate: (params: {
|
|
557
557
|
sender: SendingAddress;
|
|
558
|
-
signer?:
|
|
558
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
559
559
|
rekeyTo?: ReadableAddress | undefined;
|
|
560
560
|
note?: string | Uint8Array | undefined;
|
|
561
561
|
lease?: string | Uint8Array | undefined;
|
|
@@ -571,7 +571,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
571
571
|
accountReferences?: ReadableAddress[] | undefined;
|
|
572
572
|
appReferences?: bigint[] | undefined;
|
|
573
573
|
assetReferences?: bigint[] | undefined;
|
|
574
|
-
boxReferences?: (
|
|
574
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
575
575
|
accessReferences?: ResourceReference[] | undefined;
|
|
576
576
|
rejectVersion?: number | undefined;
|
|
577
577
|
approvalProgram: string | Uint8Array;
|
|
@@ -626,7 +626,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
626
626
|
accountReferences?: ReadableAddress[] | undefined;
|
|
627
627
|
appReferences?: bigint[] | undefined;
|
|
628
628
|
assetReferences?: bigint[] | undefined;
|
|
629
|
-
boxReferences?: (
|
|
629
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
630
630
|
accessReferences?: ResourceReference[] | undefined;
|
|
631
631
|
rejectVersion?: number | undefined;
|
|
632
632
|
} & {
|
|
@@ -681,7 +681,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
681
681
|
accountReferences?: ReadableAddress[] | undefined;
|
|
682
682
|
appReferences?: bigint[] | undefined;
|
|
683
683
|
assetReferences?: bigint[] | undefined;
|
|
684
|
-
boxReferences?: (
|
|
684
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
685
685
|
accessReferences?: ResourceReference[] | undefined;
|
|
686
686
|
rejectVersion?: number | undefined;
|
|
687
687
|
} & {
|
|
@@ -752,9 +752,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
752
752
|
* @returns The result of the application ABI method create transaction and the transaction that was sent
|
|
753
753
|
*/
|
|
754
754
|
appCreateMethodCall: (params: {
|
|
755
|
+
approvalProgram: string | Uint8Array;
|
|
756
|
+
clearStateProgram: string | Uint8Array;
|
|
755
757
|
appId?: 0 | undefined;
|
|
758
|
+
extraProgramPages?: number | undefined;
|
|
756
759
|
sender: SendingAddress;
|
|
757
|
-
signer?:
|
|
760
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
758
761
|
rekeyTo?: ReadableAddress | undefined;
|
|
759
762
|
note?: string | Uint8Array | undefined;
|
|
760
763
|
lease?: string | Uint8Array | undefined;
|
|
@@ -768,23 +771,19 @@ declare class AlgorandClientTransactionSender {
|
|
|
768
771
|
accountReferences?: ReadableAddress[] | undefined;
|
|
769
772
|
appReferences?: bigint[] | undefined;
|
|
770
773
|
assetReferences?: bigint[] | undefined;
|
|
771
|
-
boxReferences?: (
|
|
774
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
772
775
|
accessReferences?: ResourceReference[] | undefined;
|
|
773
776
|
rejectVersion?: number | undefined;
|
|
774
|
-
approvalProgram: string | Uint8Array;
|
|
775
|
-
clearStateProgram: string | Uint8Array;
|
|
776
777
|
schema?: {
|
|
777
778
|
globalInts: number;
|
|
778
779
|
globalByteSlices: number;
|
|
779
780
|
localInts: number;
|
|
780
781
|
localByteSlices: number;
|
|
781
782
|
} | undefined;
|
|
782
|
-
extraProgramPages?: number | undefined;
|
|
783
783
|
method: ABIMethod;
|
|
784
|
-
args?: (Transaction |
|
|
785
|
-
args?: Uint8Array[] | undefined;
|
|
784
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
786
785
|
sender: SendingAddress;
|
|
787
|
-
signer?:
|
|
786
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
788
787
|
rekeyTo?: ReadableAddress | undefined;
|
|
789
788
|
note?: string | Uint8Array | undefined;
|
|
790
789
|
lease?: string | Uint8Array | undefined;
|
|
@@ -795,10 +794,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
795
794
|
firstValidRound?: bigint | undefined;
|
|
796
795
|
lastValidRound?: bigint | undefined;
|
|
797
796
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
797
|
+
args?: Uint8Array[] | undefined;
|
|
798
798
|
accountReferences?: ReadableAddress[] | undefined;
|
|
799
799
|
appReferences?: bigint[] | undefined;
|
|
800
800
|
assetReferences?: bigint[] | undefined;
|
|
801
|
-
boxReferences?: (
|
|
801
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
802
802
|
accessReferences?: ResourceReference[] | undefined;
|
|
803
803
|
rejectVersion?: number | undefined;
|
|
804
804
|
appId?: 0 | undefined;
|
|
@@ -813,7 +813,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
813
813
|
extraProgramPages?: number | undefined;
|
|
814
814
|
}> | AppMethodCall<{
|
|
815
815
|
sender: SendingAddress;
|
|
816
|
-
signer?:
|
|
816
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
817
817
|
rekeyTo?: ReadableAddress | undefined;
|
|
818
818
|
note?: string | Uint8Array | undefined;
|
|
819
819
|
lease?: string | Uint8Array | undefined;
|
|
@@ -829,12 +829,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
829
829
|
accountReferences?: ReadableAddress[] | undefined;
|
|
830
830
|
appReferences?: bigint[] | undefined;
|
|
831
831
|
assetReferences?: bigint[] | undefined;
|
|
832
|
-
boxReferences?: (
|
|
832
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
833
833
|
accessReferences?: ResourceReference[] | undefined;
|
|
834
834
|
rejectVersion?: number | undefined;
|
|
835
835
|
approvalProgram: string | Uint8Array;
|
|
836
836
|
clearStateProgram: string | Uint8Array;
|
|
837
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
837
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
838
838
|
} & SendParams) => Promise<SendAppCreateTransactionResult>;
|
|
839
839
|
/**
|
|
840
840
|
* Update a smart contract via an ABI method.
|
|
@@ -893,9 +893,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
893
893
|
* @returns The result of the application ABI method update transaction and the transaction that was sent
|
|
894
894
|
*/
|
|
895
895
|
appUpdateMethodCall: (params: {
|
|
896
|
+
approvalProgram: string | Uint8Array;
|
|
897
|
+
clearStateProgram: string | Uint8Array;
|
|
896
898
|
appId: bigint;
|
|
897
899
|
sender: SendingAddress;
|
|
898
|
-
signer?:
|
|
900
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
899
901
|
rekeyTo?: ReadableAddress | undefined;
|
|
900
902
|
note?: string | Uint8Array | undefined;
|
|
901
903
|
lease?: string | Uint8Array | undefined;
|
|
@@ -909,16 +911,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
909
911
|
accountReferences?: ReadableAddress[] | undefined;
|
|
910
912
|
appReferences?: bigint[] | undefined;
|
|
911
913
|
assetReferences?: bigint[] | undefined;
|
|
912
|
-
boxReferences?: (
|
|
914
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
913
915
|
accessReferences?: ResourceReference[] | undefined;
|
|
914
916
|
rejectVersion?: number | undefined;
|
|
915
|
-
approvalProgram: string | Uint8Array;
|
|
916
|
-
clearStateProgram: string | Uint8Array;
|
|
917
917
|
method: ABIMethod;
|
|
918
|
-
args?: (Transaction |
|
|
919
|
-
args?: Uint8Array[] | undefined;
|
|
918
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
920
919
|
sender: SendingAddress;
|
|
921
|
-
signer?:
|
|
920
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
922
921
|
rekeyTo?: ReadableAddress | undefined;
|
|
923
922
|
note?: string | Uint8Array | undefined;
|
|
924
923
|
lease?: string | Uint8Array | undefined;
|
|
@@ -929,10 +928,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
929
928
|
firstValidRound?: bigint | undefined;
|
|
930
929
|
lastValidRound?: bigint | undefined;
|
|
931
930
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
931
|
+
args?: Uint8Array[] | undefined;
|
|
932
932
|
accountReferences?: ReadableAddress[] | undefined;
|
|
933
933
|
appReferences?: bigint[] | undefined;
|
|
934
934
|
assetReferences?: bigint[] | undefined;
|
|
935
|
-
boxReferences?: (
|
|
935
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
936
936
|
accessReferences?: ResourceReference[] | undefined;
|
|
937
937
|
rejectVersion?: number | undefined;
|
|
938
938
|
appId?: 0 | undefined;
|
|
@@ -947,7 +947,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
947
947
|
extraProgramPages?: number | undefined;
|
|
948
948
|
}> | AppMethodCall<{
|
|
949
949
|
sender: SendingAddress;
|
|
950
|
-
signer?:
|
|
950
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
951
951
|
rekeyTo?: ReadableAddress | undefined;
|
|
952
952
|
note?: string | Uint8Array | undefined;
|
|
953
953
|
lease?: string | Uint8Array | undefined;
|
|
@@ -963,12 +963,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
963
963
|
accountReferences?: ReadableAddress[] | undefined;
|
|
964
964
|
appReferences?: bigint[] | undefined;
|
|
965
965
|
assetReferences?: bigint[] | undefined;
|
|
966
|
-
boxReferences?: (
|
|
966
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
967
967
|
accessReferences?: ResourceReference[] | undefined;
|
|
968
968
|
rejectVersion?: number | undefined;
|
|
969
969
|
approvalProgram: string | Uint8Array;
|
|
970
970
|
clearStateProgram: string | Uint8Array;
|
|
971
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
971
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
972
972
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
973
973
|
/**
|
|
974
974
|
* Delete a smart contract via an ABI method.
|
|
@@ -1027,7 +1027,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1027
1027
|
appDeleteMethodCall: (params: {
|
|
1028
1028
|
appId: bigint;
|
|
1029
1029
|
sender: SendingAddress;
|
|
1030
|
-
signer?:
|
|
1030
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1031
1031
|
rekeyTo?: ReadableAddress | undefined;
|
|
1032
1032
|
note?: string | Uint8Array | undefined;
|
|
1033
1033
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1041,14 +1041,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
1041
1041
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1042
1042
|
appReferences?: bigint[] | undefined;
|
|
1043
1043
|
assetReferences?: bigint[] | undefined;
|
|
1044
|
-
boxReferences?: (
|
|
1044
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1045
1045
|
accessReferences?: ResourceReference[] | undefined;
|
|
1046
1046
|
rejectVersion?: number | undefined;
|
|
1047
1047
|
method: ABIMethod;
|
|
1048
|
-
args?: (Transaction |
|
|
1049
|
-
args?: Uint8Array[] | undefined;
|
|
1048
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
1050
1049
|
sender: SendingAddress;
|
|
1051
|
-
signer?:
|
|
1050
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1052
1051
|
rekeyTo?: ReadableAddress | undefined;
|
|
1053
1052
|
note?: string | Uint8Array | undefined;
|
|
1054
1053
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1059,10 +1058,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
1059
1058
|
firstValidRound?: bigint | undefined;
|
|
1060
1059
|
lastValidRound?: bigint | undefined;
|
|
1061
1060
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1061
|
+
args?: Uint8Array[] | undefined;
|
|
1062
1062
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1063
1063
|
appReferences?: bigint[] | undefined;
|
|
1064
1064
|
assetReferences?: bigint[] | undefined;
|
|
1065
|
-
boxReferences?: (
|
|
1065
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1066
1066
|
accessReferences?: ResourceReference[] | undefined;
|
|
1067
1067
|
rejectVersion?: number | undefined;
|
|
1068
1068
|
appId?: 0 | undefined;
|
|
@@ -1077,7 +1077,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1077
1077
|
extraProgramPages?: number | undefined;
|
|
1078
1078
|
}> | AppMethodCall<{
|
|
1079
1079
|
sender: SendingAddress;
|
|
1080
|
-
signer?:
|
|
1080
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1081
1081
|
rekeyTo?: ReadableAddress | undefined;
|
|
1082
1082
|
note?: string | Uint8Array | undefined;
|
|
1083
1083
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1093,12 +1093,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1093
1093
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1094
1094
|
appReferences?: bigint[] | undefined;
|
|
1095
1095
|
assetReferences?: bigint[] | undefined;
|
|
1096
|
-
boxReferences?: (
|
|
1096
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1097
1097
|
accessReferences?: ResourceReference[] | undefined;
|
|
1098
1098
|
rejectVersion?: number | undefined;
|
|
1099
1099
|
approvalProgram: string | Uint8Array;
|
|
1100
1100
|
clearStateProgram: string | Uint8Array;
|
|
1101
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
1101
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1102
1102
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1103
1103
|
/**
|
|
1104
1104
|
* Call a smart contract via an ABI method.
|
|
@@ -1157,7 +1157,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1157
1157
|
appCallMethodCall: (params: {
|
|
1158
1158
|
appId: bigint;
|
|
1159
1159
|
sender: SendingAddress;
|
|
1160
|
-
signer?:
|
|
1160
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1161
1161
|
rekeyTo?: ReadableAddress | undefined;
|
|
1162
1162
|
note?: string | Uint8Array | undefined;
|
|
1163
1163
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1171,14 +1171,13 @@ declare class AlgorandClientTransactionSender {
|
|
|
1171
1171
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
1173
1173
|
assetReferences?: bigint[] | undefined;
|
|
1174
|
-
boxReferences?: (
|
|
1174
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1175
1175
|
accessReferences?: ResourceReference[] | undefined;
|
|
1176
1176
|
rejectVersion?: number | undefined;
|
|
1177
1177
|
method: ABIMethod;
|
|
1178
|
-
args?: (Transaction |
|
|
1179
|
-
args?: Uint8Array[] | undefined;
|
|
1178
|
+
args?: (ABIValue | Transaction | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
|
|
1180
1179
|
sender: SendingAddress;
|
|
1181
|
-
signer?:
|
|
1180
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1182
1181
|
rekeyTo?: ReadableAddress | undefined;
|
|
1183
1182
|
note?: string | Uint8Array | undefined;
|
|
1184
1183
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1189,10 +1188,11 @@ declare class AlgorandClientTransactionSender {
|
|
|
1189
1188
|
firstValidRound?: bigint | undefined;
|
|
1190
1189
|
lastValidRound?: bigint | undefined;
|
|
1191
1190
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1191
|
+
args?: Uint8Array[] | undefined;
|
|
1192
1192
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1193
1193
|
appReferences?: bigint[] | undefined;
|
|
1194
1194
|
assetReferences?: bigint[] | undefined;
|
|
1195
|
-
boxReferences?: (
|
|
1195
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1196
1196
|
accessReferences?: ResourceReference[] | undefined;
|
|
1197
1197
|
rejectVersion?: number | undefined;
|
|
1198
1198
|
appId?: 0 | undefined;
|
|
@@ -1207,7 +1207,7 @@ declare class AlgorandClientTransactionSender {
|
|
|
1207
1207
|
extraProgramPages?: number | undefined;
|
|
1208
1208
|
}> | AppMethodCall<{
|
|
1209
1209
|
sender: SendingAddress;
|
|
1210
|
-
signer?:
|
|
1210
|
+
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
1211
1211
|
rekeyTo?: ReadableAddress | undefined;
|
|
1212
1212
|
note?: string | Uint8Array | undefined;
|
|
1213
1213
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1223,12 +1223,12 @@ declare class AlgorandClientTransactionSender {
|
|
|
1223
1223
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1224
1224
|
appReferences?: bigint[] | undefined;
|
|
1225
1225
|
assetReferences?: bigint[] | undefined;
|
|
1226
|
-
boxReferences?: (
|
|
1226
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
1227
1227
|
accessReferences?: ResourceReference[] | undefined;
|
|
1228
1228
|
rejectVersion?: number | undefined;
|
|
1229
1229
|
approvalProgram: string | Uint8Array;
|
|
1230
1230
|
clearStateProgram: string | Uint8Array;
|
|
1231
|
-
}> | AppMethodCall<AppMethodCallParams> |
|
|
1231
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1232
1232
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Register an online key.
|