@algorandfoundation/algokit-utils 10.0.0-alpha.27 → 10.0.0-alpha.28

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 CHANGED
@@ -6,7 +6,7 @@
6
6
  "**"
7
7
  ],
8
8
  "name": "@algorandfoundation/algokit-utils",
9
- "version": "10.0.0-alpha.27",
9
+ "version": "10.0.0-alpha.28",
10
10
  "private": false,
11
11
  "description": "A set of core Algorand utilities written in TypeScript and released via npm that make it easier to build solutions on Algorand.",
12
12
  "author": "Algorand Foundation",
@@ -13,7 +13,7 @@ type TransactionStateProof = {
13
13
  /**
14
14
  * \[sptype\] Type of the state proof. Integer representing an entry defined in protocol/stateproof.go
15
15
  */
16
- stateProofType?: bigint;
16
+ stateProofType?: number;
17
17
  stateProof?: StateProofFields;
18
18
  message?: IndexerStateProofMessage;
19
19
  };
@@ -1,4 +1,4 @@
1
- const require_bigint = require('../../../common/src/codecs/primitives/bigint.js');
1
+ const require_number = require('../../../common/src/codecs/primitives/number.js');
2
2
  const require_object_model = require('../../../common/src/codecs/models/object-model.js');
3
3
  const require_indexer_state_proof_message = require('./indexer-state-proof-message.js');
4
4
  const require_state_proof_fields = require('./state-proof-fields.js');
@@ -12,7 +12,7 @@ const TransactionStateProofMeta = {
12
12
  name: "stateProofType",
13
13
  wireKey: "state-proof-type",
14
14
  optional: true,
15
- codec: require_bigint.bigIntCodec
15
+ codec: require_number.numberCodec
16
16
  },
17
17
  {
18
18
  name: "stateProof",
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-state-proof.js","names":["TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof>","bigIntCodec","ObjectModelCodec","StateProofFieldsMeta","IndexerStateProofMessageMeta"],"sources":["../../../../../packages/indexer_client/src/models/transaction-state-proof.ts"],"sourcesContent":["import type { ObjectModelMetadata } from '@algorandfoundation/algokit-common'\nimport { bigIntCodec, ObjectModelCodec } from '@algorandfoundation/algokit-common'\nimport type { IndexerStateProofMessage } from './indexer-state-proof-message'\nimport { IndexerStateProofMessageMeta } from './indexer-state-proof-message'\nimport type { StateProofFields } from './state-proof-fields'\nimport { StateProofFieldsMeta } from './state-proof-fields'\n\n/**\n * Fields for a state proof transaction.\n *\n * Definition:\n * data/transactions/stateproof.go : StateProofTxnFields\n */\nexport type TransactionStateProof = {\n /**\n * \\[sptype\\] Type of the state proof. Integer representing an entry defined in protocol/stateproof.go\n */\n stateProofType?: bigint\n stateProof?: StateProofFields\n message?: IndexerStateProofMessage\n}\n\nexport const TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof> = {\n name: 'TransactionStateProof',\n kind: 'object',\n fields: [\n {\n name: 'stateProofType',\n wireKey: 'state-proof-type',\n optional: true,\n codec: bigIntCodec,\n },\n {\n name: 'stateProof',\n wireKey: 'state-proof',\n optional: true,\n codec: new ObjectModelCodec(StateProofFieldsMeta),\n },\n {\n name: 'message',\n wireKey: 'message',\n optional: true,\n codec: new ObjectModelCodec(IndexerStateProofMessageMeta),\n },\n ],\n}\n"],"mappings":";;;;;;AAsBA,MAAaA,4BAAwE;CACnF,MAAM;CACN,MAAM;CACN,QAAQ;EACN;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAOC;GACR;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAIC,sCAAiBC,gDAAqB;GAClD;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAID,sCAAiBE,iEAA6B;GAC1D;EACF;CACF"}
1
+ {"version":3,"file":"transaction-state-proof.js","names":["TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof>","numberCodec","ObjectModelCodec","StateProofFieldsMeta","IndexerStateProofMessageMeta"],"sources":["../../../../../packages/indexer_client/src/models/transaction-state-proof.ts"],"sourcesContent":["import type { ObjectModelMetadata } from '@algorandfoundation/algokit-common'\nimport { numberCodec, ObjectModelCodec } from '@algorandfoundation/algokit-common'\nimport type { IndexerStateProofMessage } from './indexer-state-proof-message'\nimport { IndexerStateProofMessageMeta } from './indexer-state-proof-message'\nimport type { StateProofFields } from './state-proof-fields'\nimport { StateProofFieldsMeta } from './state-proof-fields'\n\n/**\n * Fields for a state proof transaction.\n *\n * Definition:\n * data/transactions/stateproof.go : StateProofTxnFields\n */\nexport type TransactionStateProof = {\n /**\n * \\[sptype\\] Type of the state proof. Integer representing an entry defined in protocol/stateproof.go\n */\n stateProofType?: number\n stateProof?: StateProofFields\n message?: IndexerStateProofMessage\n}\n\nexport const TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof> = {\n name: 'TransactionStateProof',\n kind: 'object',\n fields: [\n {\n name: 'stateProofType',\n wireKey: 'state-proof-type',\n optional: true,\n codec: numberCodec,\n },\n {\n name: 'stateProof',\n wireKey: 'state-proof',\n optional: true,\n codec: new ObjectModelCodec(StateProofFieldsMeta),\n },\n {\n name: 'message',\n wireKey: 'message',\n optional: true,\n codec: new ObjectModelCodec(IndexerStateProofMessageMeta),\n },\n ],\n}\n"],"mappings":";;;;;;AAsBA,MAAaA,4BAAwE;CACnF,MAAM;CACN,MAAM;CACN,QAAQ;EACN;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAOC;GACR;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAIC,sCAAiBC,gDAAqB;GAClD;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAID,sCAAiBE,iEAA6B;GAC1D;EACF;CACF"}
@@ -1,4 +1,4 @@
1
- import { bigIntCodec } from "../../../common/src/codecs/primitives/bigint.mjs";
1
+ import { numberCodec } from "../../../common/src/codecs/primitives/number.mjs";
2
2
  import { ObjectModelCodec } from "../../../common/src/codecs/models/object-model.mjs";
3
3
  import { IndexerStateProofMessageMeta } from "./indexer-state-proof-message.mjs";
4
4
  import { StateProofFieldsMeta } from "./state-proof-fields.mjs";
@@ -12,7 +12,7 @@ const TransactionStateProofMeta = {
12
12
  name: "stateProofType",
13
13
  wireKey: "state-proof-type",
14
14
  optional: true,
15
- codec: bigIntCodec
15
+ codec: numberCodec
16
16
  },
17
17
  {
18
18
  name: "stateProof",
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-state-proof.mjs","names":["TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof>"],"sources":["../../../../../packages/indexer_client/src/models/transaction-state-proof.ts"],"sourcesContent":["import type { ObjectModelMetadata } from '@algorandfoundation/algokit-common'\nimport { bigIntCodec, ObjectModelCodec } from '@algorandfoundation/algokit-common'\nimport type { IndexerStateProofMessage } from './indexer-state-proof-message'\nimport { IndexerStateProofMessageMeta } from './indexer-state-proof-message'\nimport type { StateProofFields } from './state-proof-fields'\nimport { StateProofFieldsMeta } from './state-proof-fields'\n\n/**\n * Fields for a state proof transaction.\n *\n * Definition:\n * data/transactions/stateproof.go : StateProofTxnFields\n */\nexport type TransactionStateProof = {\n /**\n * \\[sptype\\] Type of the state proof. Integer representing an entry defined in protocol/stateproof.go\n */\n stateProofType?: bigint\n stateProof?: StateProofFields\n message?: IndexerStateProofMessage\n}\n\nexport const TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof> = {\n name: 'TransactionStateProof',\n kind: 'object',\n fields: [\n {\n name: 'stateProofType',\n wireKey: 'state-proof-type',\n optional: true,\n codec: bigIntCodec,\n },\n {\n name: 'stateProof',\n wireKey: 'state-proof',\n optional: true,\n codec: new ObjectModelCodec(StateProofFieldsMeta),\n },\n {\n name: 'message',\n wireKey: 'message',\n optional: true,\n codec: new ObjectModelCodec(IndexerStateProofMessageMeta),\n },\n ],\n}\n"],"mappings":";;;;;;AAsBA,MAAaA,4BAAwE;CACnF,MAAM;CACN,MAAM;CACN,QAAQ;EACN;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO;GACR;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAI,iBAAiB,qBAAqB;GAClD;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAI,iBAAiB,6BAA6B;GAC1D;EACF;CACF"}
1
+ {"version":3,"file":"transaction-state-proof.mjs","names":["TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof>"],"sources":["../../../../../packages/indexer_client/src/models/transaction-state-proof.ts"],"sourcesContent":["import type { ObjectModelMetadata } from '@algorandfoundation/algokit-common'\nimport { numberCodec, ObjectModelCodec } from '@algorandfoundation/algokit-common'\nimport type { IndexerStateProofMessage } from './indexer-state-proof-message'\nimport { IndexerStateProofMessageMeta } from './indexer-state-proof-message'\nimport type { StateProofFields } from './state-proof-fields'\nimport { StateProofFieldsMeta } from './state-proof-fields'\n\n/**\n * Fields for a state proof transaction.\n *\n * Definition:\n * data/transactions/stateproof.go : StateProofTxnFields\n */\nexport type TransactionStateProof = {\n /**\n * \\[sptype\\] Type of the state proof. Integer representing an entry defined in protocol/stateproof.go\n */\n stateProofType?: number\n stateProof?: StateProofFields\n message?: IndexerStateProofMessage\n}\n\nexport const TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProof> = {\n name: 'TransactionStateProof',\n kind: 'object',\n fields: [\n {\n name: 'stateProofType',\n wireKey: 'state-proof-type',\n optional: true,\n codec: numberCodec,\n },\n {\n name: 'stateProof',\n wireKey: 'state-proof',\n optional: true,\n codec: new ObjectModelCodec(StateProofFieldsMeta),\n },\n {\n name: 'message',\n wireKey: 'message',\n optional: true,\n codec: new ObjectModelCodec(IndexerStateProofMessageMeta),\n },\n ],\n}\n"],"mappings":";;;;;;AAsBA,MAAaA,4BAAwE;CACnF,MAAM;CACN,MAAM;CACN,QAAQ;EACN;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO;GACR;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAI,iBAAiB,qBAAqB;GAClD;EACD;GACE,MAAM;GACN,SAAS;GACT,UAAU;GACV,OAAO,IAAI,iBAAiB,6BAA6B;GAC1D;EACF;CACF"}
@@ -4,7 +4,7 @@
4
4
  */
5
5
  type StateProofTransactionFields = {
6
6
  /** State proof type */
7
- stateProofType?: number;
7
+ stateProofType: number;
8
8
  /** State proof */
9
9
  stateProof?: StateProof;
10
10
  /** State proof message */
@@ -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
- sender: SendingAddress;
353
351
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
352
+ sender: SendingAddress;
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?: (BoxReference | BoxIdentifier)[] | undefined;
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?: (BoxReference | BoxIdentifier)[] | undefined;
436
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
437
437
  accessReferences?: ResourceReference[] | undefined;
438
438
  rejectVersion?: number | undefined;
439
439
  approvalProgram: string | Uint8Array;
@@ -568,9 +568,8 @@ declare class AlgorandClientTransactionCreator {
568
568
  * @returns The application ABI method create transaction
569
569
  */
570
570
  appCreateMethodCall: (params: {
571
- appId?: 0 | undefined;
572
- sender: SendingAddress;
573
571
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
572
+ sender: SendingAddress;
574
573
  rekeyTo?: ReadableAddress | undefined;
575
574
  note?: string | Uint8Array | undefined;
576
575
  lease?: string | Uint8Array | undefined;
@@ -580,27 +579,27 @@ declare class AlgorandClientTransactionCreator {
580
579
  validityWindow?: number | bigint | undefined;
581
580
  firstValidRound?: bigint | undefined;
582
581
  lastValidRound?: bigint | undefined;
582
+ approvalProgram: string | Uint8Array;
583
+ clearStateProgram: string | Uint8Array;
584
+ appId?: 0 | undefined;
585
+ extraProgramPages?: number | undefined;
583
586
  onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
584
587
  accountReferences?: ReadableAddress[] | undefined;
585
588
  appReferences?: bigint[] | undefined;
586
589
  assetReferences?: bigint[] | undefined;
587
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
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 | ABIValue | TransactionWithSigner | AppMethodCall<{
601
- args?: Uint8Array[] | undefined;
602
- sender: SendingAddress;
600
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
603
601
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
602
+ sender: SendingAddress;
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?: (BoxReference | BoxIdentifier)[] | undefined;
617
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
618
618
  accessReferences?: ResourceReference[] | undefined;
619
619
  rejectVersion?: number | undefined;
620
620
  appId?: 0 | 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?: (BoxReference | BoxIdentifier)[] | undefined;
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> | Promise<Transaction> | 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,9 +702,8 @@ declare class AlgorandClientTransactionCreator {
702
702
  * @returns The application ABI method update transaction
703
703
  */
704
704
  appUpdateMethodCall: (params: {
705
- appId: bigint;
706
- sender: SendingAddress;
707
705
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
706
+ sender: SendingAddress;
708
707
  rekeyTo?: ReadableAddress | undefined;
709
708
  note?: string | Uint8Array | undefined;
710
709
  lease?: string | Uint8Array | undefined;
@@ -714,20 +713,20 @@ declare class AlgorandClientTransactionCreator {
714
713
  validityWindow?: number | bigint | undefined;
715
714
  firstValidRound?: bigint | undefined;
716
715
  lastValidRound?: bigint | undefined;
716
+ approvalProgram: string | Uint8Array;
717
+ clearStateProgram: string | Uint8Array;
718
+ appId: bigint;
717
719
  onComplete?: OnApplicationComplete.UpdateApplication | undefined;
718
720
  accountReferences?: ReadableAddress[] | undefined;
719
721
  appReferences?: bigint[] | undefined;
720
722
  assetReferences?: bigint[] | undefined;
721
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
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 | ABIValue | TransactionWithSigner | AppMethodCall<{
728
- args?: Uint8Array[] | undefined;
729
- sender: SendingAddress;
727
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
730
728
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
729
+ sender: SendingAddress;
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?: (BoxReference | BoxIdentifier)[] | undefined;
744
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
745
745
  accessReferences?: ResourceReference[] | undefined;
746
746
  rejectVersion?: number | undefined;
747
747
  appId?: 0 | 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?: (BoxReference | BoxIdentifier)[] | undefined;
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> | Promise<Transaction> | 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,9 +827,8 @@ declare class AlgorandClientTransactionCreator {
827
827
  * @returns The application ABI method delete transaction
828
828
  */
829
829
  appDeleteMethodCall: (params: {
830
- appId: bigint;
831
- sender: SendingAddress;
832
830
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
831
+ sender: SendingAddress;
833
832
  rekeyTo?: ReadableAddress | undefined;
834
833
  note?: string | Uint8Array | undefined;
835
834
  lease?: string | Uint8Array | undefined;
@@ -839,18 +838,18 @@ declare class AlgorandClientTransactionCreator {
839
838
  validityWindow?: number | bigint | undefined;
840
839
  firstValidRound?: bigint | undefined;
841
840
  lastValidRound?: bigint | undefined;
841
+ appId: bigint;
842
842
  onComplete?: OnApplicationComplete.DeleteApplication | undefined;
843
843
  accountReferences?: ReadableAddress[] | undefined;
844
844
  appReferences?: bigint[] | undefined;
845
845
  assetReferences?: bigint[] | undefined;
846
- boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
846
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
847
847
  accessReferences?: ResourceReference[] | undefined;
848
848
  rejectVersion?: number | undefined;
849
849
  method: ABIMethod;
850
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
851
- args?: Uint8Array[] | undefined;
852
- sender: SendingAddress;
850
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
853
851
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
852
+ sender: SendingAddress;
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?: (BoxReference | BoxIdentifier)[] | undefined;
867
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
868
868
  accessReferences?: ResourceReference[] | undefined;
869
869
  rejectVersion?: number | undefined;
870
870
  appId?: 0 | 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?: (BoxReference | BoxIdentifier)[] | undefined;
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> | Promise<Transaction> | 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,9 +950,8 @@ declare class AlgorandClientTransactionCreator {
950
950
  * @returns The application ABI method call transaction
951
951
  */
952
952
  appCallMethodCall: (params: {
953
- appId: bigint;
954
- sender: SendingAddress;
955
953
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
954
+ sender: SendingAddress;
956
955
  rekeyTo?: ReadableAddress | undefined;
957
956
  note?: string | Uint8Array | undefined;
958
957
  lease?: string | Uint8Array | undefined;
@@ -962,18 +961,18 @@ declare class AlgorandClientTransactionCreator {
962
961
  validityWindow?: number | bigint | undefined;
963
962
  firstValidRound?: bigint | undefined;
964
963
  lastValidRound?: bigint | undefined;
964
+ appId: bigint;
965
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?: (BoxReference | BoxIdentifier)[] | undefined;
969
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
970
970
  accessReferences?: ResourceReference[] | undefined;
971
971
  rejectVersion?: number | undefined;
972
972
  method: ABIMethod;
973
- args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
974
- args?: Uint8Array[] | undefined;
975
- sender: SendingAddress;
973
+ args?: (Transaction | ABIValue | Promise<Transaction> | TransactionWithSigner | AppMethodCall<{
976
974
  signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
975
+ sender: SendingAddress;
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?: (BoxReference | BoxIdentifier)[] | undefined;
990
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
991
991
  accessReferences?: ResourceReference[] | undefined;
992
992
  rejectVersion?: number | undefined;
993
993
  appId?: 0 | 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?: (BoxReference | BoxIdentifier)[] | undefined;
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> | Promise<Transaction> | undefined)[] | undefined;
1026
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1027
1027
  }) => Promise<Expand<BuiltTransactions>>;
1028
1028
  /**
1029
1029
  * Create an online key registration transaction.