algosdk 3.0.0-beta.1 → 3.0.0-beta.2

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 (218) hide show
  1. package/README.md +4 -4
  2. package/dist/browser/algosdk.min.js +1 -1
  3. package/dist/browser/algosdk.min.js.map +1 -1
  4. package/dist/cjs/client/urlTokenBaseHTTPClient.js +1 -1
  5. package/dist/cjs/client/urlTokenBaseHTTPClient.js.map +1 -1
  6. package/dist/cjs/client/v2/algod/accountApplicationInformation.js +1 -1
  7. package/dist/cjs/client/v2/algod/accountApplicationInformation.js.map +1 -1
  8. package/dist/cjs/client/v2/algod/accountAssetInformation.js +1 -1
  9. package/dist/cjs/client/v2/algod/accountAssetInformation.js.map +1 -1
  10. package/dist/cjs/client/v2/algod/algod.js +2 -2
  11. package/dist/cjs/client/v2/algod/algod.js.map +1 -1
  12. package/dist/cjs/client/v2/algod/block.js +1 -1
  13. package/dist/cjs/client/v2/algod/block.js.map +1 -1
  14. package/dist/cjs/client/v2/algod/getApplicationBoxByName.js +1 -1
  15. package/dist/cjs/client/v2/algod/getApplicationBoxByName.js.map +1 -1
  16. package/dist/cjs/client/v2/algod/getApplicationBoxes.js +1 -1
  17. package/dist/cjs/client/v2/algod/getApplicationBoxes.js.map +1 -1
  18. package/dist/cjs/client/v2/algod/getApplicationByID.js +1 -1
  19. package/dist/cjs/client/v2/algod/getApplicationByID.js.map +1 -1
  20. package/dist/cjs/client/v2/algod/getAssetByID.js +1 -1
  21. package/dist/cjs/client/v2/algod/getAssetByID.js.map +1 -1
  22. package/dist/cjs/client/v2/algod/getBlockHash.js +1 -1
  23. package/dist/cjs/client/v2/algod/getBlockHash.js.map +1 -1
  24. package/dist/cjs/client/v2/algod/getBlockTxids.js +1 -3
  25. package/dist/cjs/client/v2/algod/getBlockTxids.js.map +1 -1
  26. package/dist/cjs/client/v2/algod/getLedgerStateDelta.js +1 -1
  27. package/dist/cjs/client/v2/algod/getLedgerStateDelta.js.map +1 -1
  28. package/dist/cjs/client/v2/algod/getTransactionGroupLedgerStateDeltasForRound.js +1 -1
  29. package/dist/cjs/client/v2/algod/getTransactionGroupLedgerStateDeltasForRound.js.map +1 -1
  30. package/dist/cjs/client/v2/algod/getTransactionProof.js +1 -1
  31. package/dist/cjs/client/v2/algod/getTransactionProof.js.map +1 -1
  32. package/dist/cjs/client/v2/algod/lightBlockHeaderProof.js +1 -1
  33. package/dist/cjs/client/v2/algod/lightBlockHeaderProof.js.map +1 -1
  34. package/dist/cjs/client/v2/algod/setBlockOffsetTimestamp.js +1 -1
  35. package/dist/cjs/client/v2/algod/setBlockOffsetTimestamp.js.map +1 -1
  36. package/dist/cjs/client/v2/algod/setSyncRound.js +1 -1
  37. package/dist/cjs/client/v2/algod/setSyncRound.js.map +1 -1
  38. package/dist/cjs/client/v2/algod/stateproof.js +1 -1
  39. package/dist/cjs/client/v2/algod/stateproof.js.map +1 -1
  40. package/dist/cjs/client/v2/algod/statusAfterBlock.js +1 -3
  41. package/dist/cjs/client/v2/algod/statusAfterBlock.js.map +1 -1
  42. package/dist/cjs/client/v2/indexer/indexer.js.map +1 -1
  43. package/dist/cjs/client/v2/indexer/lookupAccountAppLocalStates.js.map +1 -1
  44. package/dist/cjs/client/v2/indexer/lookupAccountAssets.js.map +1 -1
  45. package/dist/cjs/client/v2/indexer/lookupAccountByID.js.map +1 -1
  46. package/dist/cjs/client/v2/indexer/lookupAccountCreatedApplications.js.map +1 -1
  47. package/dist/cjs/client/v2/indexer/lookupAccountCreatedAssets.js.map +1 -1
  48. package/dist/cjs/client/v2/indexer/lookupAccountTransactions.js.map +1 -1
  49. package/dist/cjs/client/v2/indexer/lookupApplicationBoxByIDandName.js +1 -1
  50. package/dist/cjs/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +1 -1
  51. package/dist/cjs/client/v2/indexer/lookupApplicationLogs.js +1 -1
  52. package/dist/cjs/client/v2/indexer/lookupApplicationLogs.js.map +1 -1
  53. package/dist/cjs/client/v2/indexer/lookupApplications.js +1 -1
  54. package/dist/cjs/client/v2/indexer/lookupApplications.js.map +1 -1
  55. package/dist/cjs/client/v2/indexer/lookupAssetBalances.js +1 -1
  56. package/dist/cjs/client/v2/indexer/lookupAssetBalances.js.map +1 -1
  57. package/dist/cjs/client/v2/indexer/lookupAssetByID.js +1 -1
  58. package/dist/cjs/client/v2/indexer/lookupAssetByID.js.map +1 -1
  59. package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js +1 -1
  60. package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js.map +1 -1
  61. package/dist/cjs/client/v2/indexer/lookupBlock.js +1 -1
  62. package/dist/cjs/client/v2/indexer/lookupBlock.js.map +1 -1
  63. package/dist/cjs/client/v2/indexer/searchAccounts.js.map +1 -1
  64. package/dist/cjs/client/v2/indexer/searchForApplicationBoxes.js +1 -1
  65. package/dist/cjs/client/v2/indexer/searchForApplicationBoxes.js.map +1 -1
  66. package/dist/cjs/client/v2/indexer/searchForApplications.js.map +1 -1
  67. package/dist/cjs/client/v2/indexer/searchForAssets.js.map +1 -1
  68. package/dist/cjs/client/v2/indexer/searchForTransactions.js.map +1 -1
  69. package/dist/cjs/composer.js +1 -1
  70. package/dist/cjs/composer.js.map +1 -1
  71. package/dist/cjs/wait.js +4 -3
  72. package/dist/cjs/wait.js.map +1 -1
  73. package/dist/esm/client/urlTokenBaseHTTPClient.js +1 -1
  74. package/dist/esm/client/urlTokenBaseHTTPClient.js.map +1 -1
  75. package/dist/esm/client/v2/algod/accountApplicationInformation.js +1 -1
  76. package/dist/esm/client/v2/algod/accountApplicationInformation.js.map +1 -1
  77. package/dist/esm/client/v2/algod/accountAssetInformation.js +1 -1
  78. package/dist/esm/client/v2/algod/accountAssetInformation.js.map +1 -1
  79. package/dist/esm/client/v2/algod/algod.js +2 -2
  80. package/dist/esm/client/v2/algod/algod.js.map +1 -1
  81. package/dist/esm/client/v2/algod/block.js +1 -1
  82. package/dist/esm/client/v2/algod/block.js.map +1 -1
  83. package/dist/esm/client/v2/algod/getApplicationBoxByName.js +1 -1
  84. package/dist/esm/client/v2/algod/getApplicationBoxByName.js.map +1 -1
  85. package/dist/esm/client/v2/algod/getApplicationBoxes.js +1 -1
  86. package/dist/esm/client/v2/algod/getApplicationBoxes.js.map +1 -1
  87. package/dist/esm/client/v2/algod/getApplicationByID.js +1 -1
  88. package/dist/esm/client/v2/algod/getApplicationByID.js.map +1 -1
  89. package/dist/esm/client/v2/algod/getAssetByID.js +1 -1
  90. package/dist/esm/client/v2/algod/getAssetByID.js.map +1 -1
  91. package/dist/esm/client/v2/algod/getBlockHash.js +1 -1
  92. package/dist/esm/client/v2/algod/getBlockHash.js.map +1 -1
  93. package/dist/esm/client/v2/algod/getBlockTxids.js +1 -3
  94. package/dist/esm/client/v2/algod/getBlockTxids.js.map +1 -1
  95. package/dist/esm/client/v2/algod/getLedgerStateDelta.js +1 -1
  96. package/dist/esm/client/v2/algod/getLedgerStateDelta.js.map +1 -1
  97. package/dist/esm/client/v2/algod/getTransactionGroupLedgerStateDeltasForRound.js +1 -1
  98. package/dist/esm/client/v2/algod/getTransactionGroupLedgerStateDeltasForRound.js.map +1 -1
  99. package/dist/esm/client/v2/algod/getTransactionProof.js +1 -1
  100. package/dist/esm/client/v2/algod/getTransactionProof.js.map +1 -1
  101. package/dist/esm/client/v2/algod/lightBlockHeaderProof.js +1 -1
  102. package/dist/esm/client/v2/algod/lightBlockHeaderProof.js.map +1 -1
  103. package/dist/esm/client/v2/algod/setBlockOffsetTimestamp.js +1 -1
  104. package/dist/esm/client/v2/algod/setBlockOffsetTimestamp.js.map +1 -1
  105. package/dist/esm/client/v2/algod/setSyncRound.js +1 -1
  106. package/dist/esm/client/v2/algod/setSyncRound.js.map +1 -1
  107. package/dist/esm/client/v2/algod/stateproof.js +1 -1
  108. package/dist/esm/client/v2/algod/stateproof.js.map +1 -1
  109. package/dist/esm/client/v2/algod/statusAfterBlock.js +1 -3
  110. package/dist/esm/client/v2/algod/statusAfterBlock.js.map +1 -1
  111. package/dist/esm/client/v2/indexer/indexer.js.map +1 -1
  112. package/dist/esm/client/v2/indexer/lookupAccountAppLocalStates.js.map +1 -1
  113. package/dist/esm/client/v2/indexer/lookupAccountAssets.js.map +1 -1
  114. package/dist/esm/client/v2/indexer/lookupAccountByID.js.map +1 -1
  115. package/dist/esm/client/v2/indexer/lookupAccountCreatedApplications.js.map +1 -1
  116. package/dist/esm/client/v2/indexer/lookupAccountCreatedAssets.js.map +1 -1
  117. package/dist/esm/client/v2/indexer/lookupAccountTransactions.js.map +1 -1
  118. package/dist/esm/client/v2/indexer/lookupApplicationBoxByIDandName.js +1 -1
  119. package/dist/esm/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +1 -1
  120. package/dist/esm/client/v2/indexer/lookupApplicationLogs.js +1 -1
  121. package/dist/esm/client/v2/indexer/lookupApplicationLogs.js.map +1 -1
  122. package/dist/esm/client/v2/indexer/lookupApplications.js +1 -1
  123. package/dist/esm/client/v2/indexer/lookupApplications.js.map +1 -1
  124. package/dist/esm/client/v2/indexer/lookupAssetBalances.js +1 -1
  125. package/dist/esm/client/v2/indexer/lookupAssetBalances.js.map +1 -1
  126. package/dist/esm/client/v2/indexer/lookupAssetByID.js +1 -1
  127. package/dist/esm/client/v2/indexer/lookupAssetByID.js.map +1 -1
  128. package/dist/esm/client/v2/indexer/lookupAssetTransactions.js +1 -1
  129. package/dist/esm/client/v2/indexer/lookupAssetTransactions.js.map +1 -1
  130. package/dist/esm/client/v2/indexer/lookupBlock.js +1 -1
  131. package/dist/esm/client/v2/indexer/lookupBlock.js.map +1 -1
  132. package/dist/esm/client/v2/indexer/searchAccounts.js.map +1 -1
  133. package/dist/esm/client/v2/indexer/searchForApplicationBoxes.js +1 -1
  134. package/dist/esm/client/v2/indexer/searchForApplicationBoxes.js.map +1 -1
  135. package/dist/esm/client/v2/indexer/searchForApplications.js.map +1 -1
  136. package/dist/esm/client/v2/indexer/searchForAssets.js.map +1 -1
  137. package/dist/esm/client/v2/indexer/searchForTransactions.js.map +1 -1
  138. package/dist/esm/composer.js +1 -1
  139. package/dist/esm/composer.js.map +1 -1
  140. package/dist/esm/wait.js +4 -3
  141. package/dist/esm/wait.js.map +1 -1
  142. package/dist/types/client/v2/algod/accountApplicationInformation.d.ts +2 -2
  143. package/dist/types/client/v2/algod/accountAssetInformation.d.ts +2 -2
  144. package/dist/types/client/v2/algod/algod.d.ts +17 -17
  145. package/dist/types/client/v2/algod/block.d.ts +1 -1
  146. package/dist/types/client/v2/algod/getApplicationBoxByName.d.ts +1 -1
  147. package/dist/types/client/v2/algod/getApplicationBoxes.d.ts +1 -1
  148. package/dist/types/client/v2/algod/getBlockHash.d.ts +2 -2
  149. package/dist/types/client/v2/algod/getBlockTxids.d.ts +2 -2
  150. package/dist/types/client/v2/algod/getLedgerStateDelta.d.ts +1 -1
  151. package/dist/types/client/v2/algod/getTransactionGroupLedgerStateDeltasForRound.d.ts +1 -1
  152. package/dist/types/client/v2/algod/getTransactionProof.d.ts +2 -2
  153. package/dist/types/client/v2/algod/lightBlockHeaderProof.d.ts +1 -1
  154. package/dist/types/client/v2/algod/setBlockOffsetTimestamp.d.ts +1 -1
  155. package/dist/types/client/v2/algod/setSyncRound.d.ts +1 -1
  156. package/dist/types/client/v2/algod/stateproof.d.ts +1 -1
  157. package/dist/types/client/v2/algod/statusAfterBlock.d.ts +1 -1
  158. package/dist/types/client/v2/indexer/indexer.d.ts +8 -8
  159. package/dist/types/client/v2/indexer/lookupAccountAppLocalStates.d.ts +2 -2
  160. package/dist/types/client/v2/indexer/lookupAccountAssets.d.ts +2 -2
  161. package/dist/types/client/v2/indexer/lookupAccountByID.d.ts +1 -1
  162. package/dist/types/client/v2/indexer/lookupAccountCreatedApplications.d.ts +2 -2
  163. package/dist/types/client/v2/indexer/lookupAccountCreatedAssets.d.ts +2 -2
  164. package/dist/types/client/v2/indexer/lookupAccountTransactions.d.ts +6 -6
  165. package/dist/types/client/v2/indexer/lookupApplicationBoxByIDandName.d.ts +1 -1
  166. package/dist/types/client/v2/indexer/lookupApplicationLogs.d.ts +3 -3
  167. package/dist/types/client/v2/indexer/lookupApplications.d.ts +1 -1
  168. package/dist/types/client/v2/indexer/lookupAssetBalances.d.ts +3 -3
  169. package/dist/types/client/v2/indexer/lookupAssetByID.d.ts +1 -1
  170. package/dist/types/client/v2/indexer/lookupAssetTransactions.d.ts +6 -6
  171. package/dist/types/client/v2/indexer/lookupBlock.d.ts +1 -1
  172. package/dist/types/client/v2/indexer/searchAccounts.d.ts +5 -5
  173. package/dist/types/client/v2/indexer/searchForApplicationBoxes.d.ts +1 -1
  174. package/dist/types/client/v2/indexer/searchForApplications.d.ts +1 -1
  175. package/dist/types/client/v2/indexer/searchForAssets.d.ts +1 -1
  176. package/dist/types/client/v2/indexer/searchForTransactions.d.ts +7 -7
  177. package/dist/types/composer.d.ts +1 -1
  178. package/package.json +1 -1
  179. package/src/client/urlTokenBaseHTTPClient.ts +1 -1
  180. package/src/client/v2/algod/accountApplicationInformation.ts +3 -1
  181. package/src/client/v2/algod/accountAssetInformation.ts +3 -1
  182. package/src/client/v2/algod/algod.ts +20 -17
  183. package/src/client/v2/algod/block.ts +3 -3
  184. package/src/client/v2/algod/getApplicationBoxByName.ts +4 -5
  185. package/src/client/v2/algod/getApplicationBoxes.ts +4 -4
  186. package/src/client/v2/algod/getApplicationByID.ts +4 -4
  187. package/src/client/v2/algod/getAssetByID.ts +4 -4
  188. package/src/client/v2/algod/getBlockHash.ts +3 -3
  189. package/src/client/v2/algod/getBlockTxids.ts +3 -5
  190. package/src/client/v2/algod/getLedgerStateDelta.ts +4 -4
  191. package/src/client/v2/algod/getTransactionGroupLedgerStateDeltasForRound.ts +4 -4
  192. package/src/client/v2/algod/getTransactionProof.ts +4 -1
  193. package/src/client/v2/algod/lightBlockHeaderProof.ts +4 -4
  194. package/src/client/v2/algod/setBlockOffsetTimestamp.ts +4 -4
  195. package/src/client/v2/algod/setSyncRound.ts +4 -4
  196. package/src/client/v2/algod/stateproof.ts +4 -4
  197. package/src/client/v2/algod/statusAfterBlock.ts +4 -5
  198. package/src/client/v2/indexer/indexer.ts +8 -8
  199. package/src/client/v2/indexer/lookupAccountAppLocalStates.ts +2 -2
  200. package/src/client/v2/indexer/lookupAccountAssets.ts +2 -2
  201. package/src/client/v2/indexer/lookupAccountByID.ts +1 -1
  202. package/src/client/v2/indexer/lookupAccountCreatedApplications.ts +2 -2
  203. package/src/client/v2/indexer/lookupAccountCreatedAssets.ts +2 -2
  204. package/src/client/v2/indexer/lookupAccountTransactions.ts +6 -6
  205. package/src/client/v2/indexer/lookupApplicationBoxByIDandName.ts +4 -5
  206. package/src/client/v2/indexer/lookupApplicationLogs.ts +6 -6
  207. package/src/client/v2/indexer/lookupApplications.ts +4 -4
  208. package/src/client/v2/indexer/lookupAssetBalances.ts +6 -6
  209. package/src/client/v2/indexer/lookupAssetByID.ts +4 -4
  210. package/src/client/v2/indexer/lookupAssetTransactions.ts +9 -9
  211. package/src/client/v2/indexer/lookupBlock.ts +4 -4
  212. package/src/client/v2/indexer/searchAccounts.ts +5 -5
  213. package/src/client/v2/indexer/searchForApplicationBoxes.ts +4 -4
  214. package/src/client/v2/indexer/searchForApplications.ts +1 -1
  215. package/src/client/v2/indexer/searchForAssets.ts +1 -1
  216. package/src/client/v2/indexer/searchForTransactions.ts +7 -7
  217. package/src/composer.ts +2 -2
  218. package/src/wait.ts +4 -3
@@ -78,7 +78,7 @@ export declare class AlgodClient extends ServiceClient {
78
78
  *
79
79
  * #### Example
80
80
  * ```typescript
81
- * const health = await algodClient.healthCheck().do();
81
+ * await algodClient.healthCheck().do();
82
82
  * ```
83
83
  *
84
84
  * [Response data schema details](https://developer.algorand.org/docs/rest-apis/algod/#get-health)
@@ -102,7 +102,7 @@ export declare class AlgodClient extends ServiceClient {
102
102
  *
103
103
  * #### Example
104
104
  * ```typescript
105
- * const { txId } = await algodClient.sendRawTransaction(signedTxns).do();
105
+ * const { txid } = await algodClient.sendRawTransaction(signedTxns).do();
106
106
  * const result = await waitForConfirmation(algodClient, txid, 3);
107
107
  * ```
108
108
  *
@@ -143,7 +143,7 @@ export declare class AlgodClient extends ServiceClient {
143
143
  * @param index - The asset ID to look up.
144
144
  * @category GET
145
145
  */
146
- accountAssetInformation(account: string | Address, index: number): AccountAssetInformation;
146
+ accountAssetInformation(account: string | Address, index: number | bigint): AccountAssetInformation;
147
147
  /**
148
148
  * Returns the given account's application information for a specific application.
149
149
  *
@@ -159,7 +159,7 @@ export declare class AlgodClient extends ServiceClient {
159
159
  * @param index - The application ID to look up.
160
160
  * @category GET
161
161
  */
162
- accountApplicationInformation(account: string | Address, index: number): AccountApplicationInformation;
162
+ accountApplicationInformation(account: string | Address, index: number | bigint): AccountApplicationInformation;
163
163
  /**
164
164
  * Gets the block info for the given round.
165
165
  *
@@ -173,7 +173,7 @@ export declare class AlgodClient extends ServiceClient {
173
173
  * @param roundNumber - The round number of the block to get.
174
174
  * @category GET
175
175
  */
176
- block(roundNumber: number): Block;
176
+ block(roundNumber: number | bigint): Block;
177
177
  /**
178
178
  * Get the block hash for the block on the given round.
179
179
  *
@@ -187,7 +187,7 @@ export declare class AlgodClient extends ServiceClient {
187
187
  * @param roundNumber - The round number of the block to get.
188
188
  * @category GET
189
189
  */
190
- getBlockHash(roundNumber: number): GetBlockHash;
190
+ getBlockHash(roundNumber: number | bigint): GetBlockHash;
191
191
  /**
192
192
  * Get the top level transaction IDs for the block on the given round.
193
193
  *
@@ -201,7 +201,7 @@ export declare class AlgodClient extends ServiceClient {
201
201
  * @param roundNumber - The round number of the block to get.
202
202
  * @category GET
203
203
  */
204
- getBlockTxids(roundNumber: number): GetBlockTxids;
204
+ getBlockTxids(roundNumber: number | bigint): GetBlockTxids;
205
205
  /**
206
206
  * Returns the transaction information for a specific pending transaction.
207
207
  *
@@ -298,7 +298,7 @@ export declare class AlgodClient extends ServiceClient {
298
298
  * @param round - The number of the round to wait for.
299
299
  * @category GET
300
300
  */
301
- statusAfterBlock(round: number): StatusAfterBlock;
301
+ statusAfterBlock(round: number | bigint): StatusAfterBlock;
302
302
  /**
303
303
  * Returns the common needed parameters for a new transaction.
304
304
  *
@@ -423,7 +423,7 @@ export declare class AlgodClient extends ServiceClient {
423
423
  * @param index - The application ID to look up.
424
424
  * @category GET
425
425
  */
426
- getApplicationBoxByName(index: number, boxName: Uint8Array): GetApplicationBoxByName;
426
+ getApplicationBoxByName(index: number | bigint, boxName: Uint8Array): GetApplicationBoxByName;
427
427
  /**
428
428
  * Given an application ID, return all the box names associated with the app.
429
429
  *
@@ -438,7 +438,7 @@ export declare class AlgodClient extends ServiceClient {
438
438
  * @param index - The application ID to look up.
439
439
  * @category GET
440
440
  */
441
- getApplicationBoxes(index: number): GetApplicationBoxes;
441
+ getApplicationBoxes(index: number | bigint): GetApplicationBoxes;
442
442
  /**
443
443
  * Returns the entire genesis file.
444
444
  *
@@ -466,7 +466,7 @@ export declare class AlgodClient extends ServiceClient {
466
466
  * @param txID - The transaction ID for which to generate a proof.
467
467
  * @category GET
468
468
  */
469
- getTransactionProof(round: number, txID: string): GetTransactionProof;
469
+ getTransactionProof(round: number | bigint, txID: string): GetTransactionProof;
470
470
  /**
471
471
  * Gets a proof for a given light block header inside a state proof commitment.
472
472
  *
@@ -479,7 +479,7 @@ export declare class AlgodClient extends ServiceClient {
479
479
  * [Response data schema details](https://developer.algorand.org/docs/rest-apis/algod/v2#get-v2blocksroundlightheaderproof)
480
480
  * @param round
481
481
  */
482
- getLightBlockHeaderProof(round: number): LightBlockHeaderProof;
482
+ getLightBlockHeaderProof(round: number | bigint): LightBlockHeaderProof;
483
483
  /**
484
484
  * Gets a state proof that covers a given round.
485
485
  *
@@ -492,7 +492,7 @@ export declare class AlgodClient extends ServiceClient {
492
492
  * [Response data schema details](https://developer.algorand.org/docs/rest-apis/algod/v2#get-v2stateproofsround)
493
493
  * @param round
494
494
  */
495
- getStateProof(round: number): StateProof;
495
+ getStateProof(round: number | bigint): StateProof;
496
496
  /**
497
497
  * Simulate a list of a signed transaction objects being sent to the network.
498
498
  *
@@ -558,7 +558,7 @@ export declare class AlgodClient extends ServiceClient {
558
558
  * @param offset
559
559
  * @category POST
560
560
  */
561
- setBlockOffsetTimestamp(offset: number): SetBlockOffsetTimestamp;
561
+ setBlockOffsetTimestamp(offset: number | bigint): SetBlockOffsetTimestamp;
562
562
  /**
563
563
  * Get the offset (in seconds) applied to the block timestamp when creating new blocks in devmode.
564
564
  *
@@ -584,7 +584,7 @@ export declare class AlgodClient extends ServiceClient {
584
584
  * @param round
585
585
  * @category POST
586
586
  */
587
- setSyncRound(round: number): SetSyncRound;
587
+ setSyncRound(round: number | bigint): SetSyncRound;
588
588
  /**
589
589
  * Un-Set the sync round on the ledger (algod must have EnableFollowMode: true), removing the restriction on catchup.
590
590
  *
@@ -648,7 +648,7 @@ export declare class AlgodClient extends ServiceClient {
648
648
  * @param round the round number to be searched for
649
649
  * @category GET
650
650
  */
651
- getLedgerStateDelta(round: number): GetLedgerStateDelta;
651
+ getLedgerStateDelta(round: number | bigint): GetLedgerStateDelta;
652
652
  /**
653
653
  * GetTransactionGroupLedgerStateDeltasForRound returns all ledger deltas for txn groups in the provided round
654
654
  *
@@ -662,5 +662,5 @@ export declare class AlgodClient extends ServiceClient {
662
662
  * @param round the round number to be searched for
663
663
  * @category GET
664
664
  */
665
- getTransactionGroupLedgerStateDeltasForRound(round: number): GetTransactionGroupLedgerStateDeltasForRound;
665
+ getTransactionGroupLedgerStateDeltasForRound(round: number | bigint): GetTransactionGroupLedgerStateDeltasForRound;
666
666
  }
@@ -6,7 +6,7 @@ import { BlockResponse } from './models/types.js';
6
6
  */
7
7
  export default class Block extends JSONRequest<BlockResponse> {
8
8
  private round;
9
- constructor(c: HTTPClient, roundNumber: number);
9
+ constructor(c: HTTPClient, roundNumber: number | bigint);
10
10
  path(): string;
11
11
  prepare(response: HTTPClientResponse): BlockResponse;
12
12
  }
@@ -18,7 +18,7 @@ import { Box } from './models/types.js';
18
18
  */
19
19
  export default class GetApplicationBoxByName extends JSONRequest<Box> {
20
20
  private index;
21
- constructor(c: HTTPClient, index: number, name: Uint8Array);
21
+ constructor(c: HTTPClient, index: number | bigint, name: Uint8Array);
22
22
  /**
23
23
  * @returns `/v2/applications/${index}/box`
24
24
  */
@@ -17,7 +17,7 @@ import { BoxesResponse } from './models/types.js';
17
17
  */
18
18
  export default class GetApplicationBoxes extends JSONRequest<BoxesResponse> {
19
19
  private index;
20
- constructor(c: HTTPClient, index: number);
20
+ constructor(c: HTTPClient, index: number | bigint);
21
21
  /**
22
22
  * @returns `/v2/applications/${index}/boxes`
23
23
  */
@@ -2,8 +2,8 @@ import JSONRequest from '../jsonrequest.js';
2
2
  import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { BlockHashResponse } from './models/types.js';
4
4
  export default class GetBlockHash extends JSONRequest<BlockHashResponse> {
5
- round: number | bigint;
6
- constructor(c: HTTPClient, roundNumber: number);
5
+ private round;
6
+ constructor(c: HTTPClient, roundNumber: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): BlockHashResponse;
9
9
  }
@@ -2,8 +2,8 @@ import JSONRequest from '../jsonrequest.js';
2
2
  import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { BlockTxidsResponse } from './models/types.js';
4
4
  export default class GetBlockTxids extends JSONRequest<BlockTxidsResponse> {
5
- round: number;
6
- constructor(c: HTTPClient, roundNumber: number);
5
+ private round;
6
+ constructor(c: HTTPClient, roundNumber: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): BlockTxidsResponse;
9
9
  }
@@ -3,7 +3,7 @@ import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { LedgerStateDelta } from '../../../types/statedelta.js';
4
4
  export default class GetLedgerStateDelta extends JSONRequest<LedgerStateDelta> {
5
5
  private round;
6
- constructor(c: HTTPClient, round: number);
6
+ constructor(c: HTTPClient, round: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): LedgerStateDelta;
9
9
  }
@@ -3,7 +3,7 @@ import { TransactionGroupLedgerStateDeltasForRoundResponse } from './models/type
3
3
  import { HTTPClient, HTTPClientResponse } from '../../client.js';
4
4
  export default class GetTransactionGroupLedgerStateDeltasForRound extends JSONRequest<TransactionGroupLedgerStateDeltasForRoundResponse> {
5
5
  private round;
6
- constructor(c: HTTPClient, round: number);
6
+ constructor(c: HTTPClient, round: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): TransactionGroupLedgerStateDeltasForRoundResponse;
9
9
  }
@@ -2,9 +2,9 @@ import JSONRequest from '../jsonrequest.js';
2
2
  import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { TransactionProofResponse } from './models/types.js';
4
4
  export default class GetTransactionProof extends JSONRequest<TransactionProofResponse> {
5
- private round;
6
5
  private txID;
7
- constructor(c: HTTPClient, round: number, txID: string);
6
+ private round;
7
+ constructor(c: HTTPClient, round: number | bigint, txID: string);
8
8
  path(): string;
9
9
  /**
10
10
  * Exclude assets and application data from results
@@ -3,7 +3,7 @@ import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { LightBlockHeaderProof as LBHP } from './models/types.js';
4
4
  export default class LightBlockHeaderProof extends JSONRequest<LBHP> {
5
5
  private round;
6
- constructor(c: HTTPClient, round: number);
6
+ constructor(c: HTTPClient, round: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): LBHP;
9
9
  }
@@ -2,7 +2,7 @@ import JSONRequest from '../jsonrequest.js';
2
2
  import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  export default class SetBlockOffsetTimestamp extends JSONRequest<void> {
4
4
  private offset;
5
- constructor(c: HTTPClient, offset: number);
5
+ constructor(c: HTTPClient, offset: number | bigint);
6
6
  path(): string;
7
7
  protected executeRequest(headers?: Record<string, string>, customOptions?: Record<string, unknown>): Promise<HTTPClientResponse>;
8
8
  prepare(_response: HTTPClientResponse): void;
@@ -2,7 +2,7 @@ import JSONRequest from '../jsonrequest.js';
2
2
  import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  export default class SetSyncRound extends JSONRequest<void> {
4
4
  private round;
5
- constructor(c: HTTPClient, round: number);
5
+ constructor(c: HTTPClient, round: number | bigint);
6
6
  path(): string;
7
7
  protected executeRequest(headers?: Record<string, string>, customOptions?: Record<string, unknown>): Promise<HTTPClientResponse>;
8
8
  prepare(_response: HTTPClientResponse): void;
@@ -3,7 +3,7 @@ import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { StateProof as SP } from './models/types.js';
4
4
  export default class StateProof extends JSONRequest<SP> {
5
5
  private round;
6
- constructor(c: HTTPClient, round: number);
6
+ constructor(c: HTTPClient, round: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): SP;
9
9
  }
@@ -3,7 +3,7 @@ import { HTTPClient, HTTPClientResponse } from '../../client.js';
3
3
  import { NodeStatusResponse } from './models/types.js';
4
4
  export default class StatusAfterBlock extends JSONRequest<NodeStatusResponse> {
5
5
  private round;
6
- constructor(c: HTTPClient, round: number);
6
+ constructor(c: HTTPClient, round: number | bigint);
7
7
  path(): string;
8
8
  prepare(response: HTTPClientResponse): NodeStatusResponse;
9
9
  }
@@ -85,7 +85,7 @@ export declare class IndexerClient extends ServiceClient {
85
85
  * @param index - The asset ID to look up.
86
86
  * @category GET
87
87
  */
88
- lookupAssetBalances(index: number): LookupAssetBalances;
88
+ lookupAssetBalances(index: number | bigint): LookupAssetBalances;
89
89
  /**
90
90
  * Returns transactions relating to the given asset.
91
91
  *
@@ -99,7 +99,7 @@ export declare class IndexerClient extends ServiceClient {
99
99
  * @param index - The asset ID to look up.
100
100
  * @category GET
101
101
  */
102
- lookupAssetTransactions(index: number): LookupAssetTransactions;
102
+ lookupAssetTransactions(index: number | bigint): LookupAssetTransactions;
103
103
  /**
104
104
  * Returns transactions relating to the given account.
105
105
  *
@@ -127,7 +127,7 @@ export declare class IndexerClient extends ServiceClient {
127
127
  * @param round - The number of the round to look up.
128
128
  * @category GET
129
129
  */
130
- lookupBlock(round: number): LookupBlock;
130
+ lookupBlock(round: number | bigint): LookupBlock;
131
131
  /**
132
132
  * Returns information about the given transaction.
133
133
  *
@@ -225,7 +225,7 @@ export declare class IndexerClient extends ServiceClient {
225
225
  * @param index - The ID of the asset ot look up.
226
226
  * @category GET
227
227
  */
228
- lookupAssetByID(index: number): LookupAssetByID;
228
+ lookupAssetByID(index: number | bigint): LookupAssetByID;
229
229
  /**
230
230
  * Returns information about the passed application.
231
231
  *
@@ -239,7 +239,7 @@ export declare class IndexerClient extends ServiceClient {
239
239
  * @param index - The ID of the application to look up.
240
240
  * @category GET
241
241
  */
242
- lookupApplications(index: number): LookupApplications;
242
+ lookupApplications(index: number | bigint): LookupApplications;
243
243
  /**
244
244
  * Returns log messages generated by the passed in application.
245
245
  *
@@ -253,7 +253,7 @@ export declare class IndexerClient extends ServiceClient {
253
253
  * @param appID - The ID of the application which generated the logs.
254
254
  * @category GET
255
255
  */
256
- lookupApplicationLogs(appID: number): LookupApplicationLogs;
256
+ lookupApplicationLogs(appID: number | bigint): LookupApplicationLogs;
257
257
  /**
258
258
  * Returns information about indexed accounts.
259
259
  *
@@ -328,7 +328,7 @@ export declare class IndexerClient extends ServiceClient {
328
328
  * @param appID - The ID of the application with boxes.
329
329
  * @category GET
330
330
  */
331
- searchForApplicationBoxes(appID: number): SearchForApplicationBoxes;
331
+ searchForApplicationBoxes(appID: number | bigint): SearchForApplicationBoxes;
332
332
  /**
333
333
  * Returns information about the application box given its name.
334
334
  *
@@ -345,5 +345,5 @@ export declare class IndexerClient extends ServiceClient {
345
345
  * @param appID - The ID of the application with boxes.
346
346
  * @category GET
347
347
  */
348
- lookupApplicationBoxByIDandName(appID: number, boxName: Uint8Array): LookupApplicationBoxByIDandName;
348
+ lookupApplicationBoxByIDandName(appID: number | bigint, boxName: Uint8Array): LookupApplicationBoxByIDandName;
349
349
  }
@@ -54,7 +54,7 @@ export default class LookupAccountAppLocalStates extends JSONRequest<Application
54
54
  * @param round
55
55
  * @category query
56
56
  */
57
- round(round: number): this;
57
+ round(round: number | bigint): this;
58
58
  /**
59
59
  * Specify the next page of results.
60
60
  *
@@ -107,6 +107,6 @@ export default class LookupAccountAppLocalStates extends JSONRequest<Application
107
107
  * @param index - the applicationID
108
108
  * @category query
109
109
  */
110
- applicationID(index: number): this;
110
+ applicationID(index: number | bigint): this;
111
111
  prepare(response: HTTPClientResponse): ApplicationLocalStatesResponse;
112
112
  }
@@ -54,7 +54,7 @@ export default class LookupAccountAssets extends JSONRequest<AssetHoldingsRespon
54
54
  * @param round
55
55
  * @category query
56
56
  */
57
- round(round: number): this;
57
+ round(round: number | bigint): this;
58
58
  /**
59
59
  * Specify the next page of results.
60
60
  *
@@ -108,6 +108,6 @@ export default class LookupAccountAssets extends JSONRequest<AssetHoldingsRespon
108
108
  * @param index - the assetID
109
109
  * @category query
110
110
  */
111
- assetId(index: number): this;
111
+ assetId(index: number | bigint): this;
112
112
  prepare(response: HTTPClientResponse): AssetHoldingsResponse;
113
113
  }
@@ -36,7 +36,7 @@ export default class LookupAccountByID extends JSONRequest<AccountResponse> {
36
36
  * ```
37
37
  * @param round
38
38
  */
39
- round(round: number): this;
39
+ round(round: number | bigint): this;
40
40
  /**
41
41
  * Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
42
42
  *
@@ -54,7 +54,7 @@ export default class LookupAccountCreatedApplications extends JSONRequest<Applic
54
54
  * @param round
55
55
  * @category query
56
56
  */
57
- round(round: number): this;
57
+ round(round: number | bigint): this;
58
58
  /**
59
59
  * Specify the next page of results.
60
60
  *
@@ -108,6 +108,6 @@ export default class LookupAccountCreatedApplications extends JSONRequest<Applic
108
108
  * @param index - the applicationID
109
109
  * @category query
110
110
  */
111
- applicationID(index: number): this;
111
+ applicationID(index: number | bigint): this;
112
112
  prepare(response: HTTPClientResponse): ApplicationsResponse;
113
113
  }
@@ -54,7 +54,7 @@ export default class LookupAccountCreatedAssets extends JSONRequest<AssetsRespon
54
54
  * @param round
55
55
  * @category query
56
56
  */
57
- round(round: number): this;
57
+ round(round: number | bigint): this;
58
58
  /**
59
59
  * Specify the next page of results.
60
60
  *
@@ -109,6 +109,6 @@ export default class LookupAccountCreatedAssets extends JSONRequest<AssetsRespon
109
109
  * @param index - the assetID
110
110
  * @category query
111
111
  */
112
- assetID(index: number): this;
112
+ assetID(index: number | bigint): this;
113
113
  prepare(response: HTTPClientResponse): AssetsResponse;
114
114
  }
@@ -112,7 +112,7 @@ export default class LookupAccountTransactions extends JSONRequest<TransactionsR
112
112
  * @param round
113
113
  * @category query
114
114
  */
115
- round(round: number): this;
115
+ round(round: number | bigint): this;
116
116
  /**
117
117
  * Include results at or after the specified min-round.
118
118
  *
@@ -129,7 +129,7 @@ export default class LookupAccountTransactions extends JSONRequest<TransactionsR
129
129
  * @param round
130
130
  * @category query
131
131
  */
132
- minRound(round: number): this;
132
+ minRound(round: number | bigint): this;
133
133
  /**
134
134
  * Include results at or before the specified max-round.
135
135
  *
@@ -146,7 +146,7 @@ export default class LookupAccountTransactions extends JSONRequest<TransactionsR
146
146
  * @param round
147
147
  * @category query
148
148
  */
149
- maxRound(round: number): this;
149
+ maxRound(round: number | bigint): this;
150
150
  /**
151
151
  * Asset ID to filter with.
152
152
  *
@@ -163,7 +163,7 @@ export default class LookupAccountTransactions extends JSONRequest<TransactionsR
163
163
  * @param id
164
164
  * @category query
165
165
  */
166
- assetID(id: number): this;
166
+ assetID(id: number | bigint): this;
167
167
  /**
168
168
  * Maximum number of results to return.
169
169
  *
@@ -243,7 +243,7 @@ export default class LookupAccountTransactions extends JSONRequest<TransactionsR
243
243
  * @param greater
244
244
  * @category query
245
245
  */
246
- currencyGreaterThan(greater: number): this;
246
+ currencyGreaterThan(greater: number | bigint): this;
247
247
  /**
248
248
  * Filtered results should have an amount less than this value, as int, representing microAlgos, unless an asset-id is provided, in which case units are in the asset's units.
249
249
  *
@@ -272,7 +272,7 @@ export default class LookupAccountTransactions extends JSONRequest<TransactionsR
272
272
  * @param lesser
273
273
  * @category query
274
274
  */
275
- currencyLessThan(lesser: number): this;
275
+ currencyLessThan(lesser: number | bigint): this;
276
276
  /**
277
277
  * The next page of results. Use the next token provided by the previous results.
278
278
  *
@@ -19,7 +19,7 @@ export default class LookupApplicationBoxByIDandName extends JSONRequest<Box> {
19
19
  * @oaram index - application index.
20
20
  * @category GET
21
21
  */
22
- constructor(c: HTTPClient, index: number, boxName: Uint8Array);
22
+ constructor(c: HTTPClient, index: number | bigint, boxName: Uint8Array);
23
23
  /**
24
24
  * @returns `/v2/applications/${index}/box`
25
25
  */
@@ -16,7 +16,7 @@ export default class LookupApplicationLogs extends JSONRequest<ApplicationLogsRe
16
16
  * @param appID - The ID of the application which generated the logs.
17
17
  * @category GET
18
18
  */
19
- constructor(c: HTTPClient, appID: number);
19
+ constructor(c: HTTPClient, appID: number | bigint);
20
20
  /**
21
21
  * @returns `/v2/applications/${appID}/logs`
22
22
  */
@@ -51,7 +51,7 @@ export default class LookupApplicationLogs extends JSONRequest<ApplicationLogsRe
51
51
  * @param round
52
52
  * @category query
53
53
  */
54
- minRound(round: number): this;
54
+ minRound(round: number | bigint): this;
55
55
  /**
56
56
  * Include results at or before the specified max-round.
57
57
  *
@@ -67,7 +67,7 @@ export default class LookupApplicationLogs extends JSONRequest<ApplicationLogsRe
67
67
  * @param round
68
68
  * @category query
69
69
  */
70
- maxRound(round: number): this;
70
+ maxRound(round: number | bigint): this;
71
71
  /**
72
72
  * The next page of results.
73
73
  *
@@ -16,7 +16,7 @@ export default class LookupApplications extends JSONRequest<ApplicationResponse>
16
16
  * @param index - The ID of the application to look up.
17
17
  * @category GET
18
18
  */
19
- constructor(c: HTTPClient, index: number);
19
+ constructor(c: HTTPClient, index: number | bigint);
20
20
  /**
21
21
  * @returns `/v2/applications/${index}`
22
22
  */
@@ -15,7 +15,7 @@ export default class LookupAssetBalances extends JSONRequest<AssetBalancesRespon
15
15
  * [Response data schema details](https://developer.algorand.org/docs/rest-apis/indexer/#get-v2assetsasset-idbalances)
16
16
  * @param index - The asset ID to look up.
17
17
  */
18
- constructor(c: HTTPClient, index: number);
18
+ constructor(c: HTTPClient, index: number | bigint);
19
19
  /**
20
20
  * @returns `/v2/assets/${index}/balances`
21
21
  */
@@ -52,7 +52,7 @@ export default class LookupAssetBalances extends JSONRequest<AssetBalancesRespon
52
52
  * @param greater
53
53
  * @category query
54
54
  */
55
- currencyGreaterThan(greater: number): this;
55
+ currencyGreaterThan(greater: number | bigint): this;
56
56
  /**
57
57
  * Filtered results should have an asset balance less than this value.
58
58
  *
@@ -68,7 +68,7 @@ export default class LookupAssetBalances extends JSONRequest<AssetBalancesRespon
68
68
  * @param lesser
69
69
  * @category query
70
70
  */
71
- currencyLessThan(lesser: number): this;
71
+ currencyLessThan(lesser: number | bigint): this;
72
72
  /**
73
73
  * Specify the next page of results.
74
74
  *
@@ -15,7 +15,7 @@ export default class LookupAssetByID extends JSONRequest<AssetResponse> {
15
15
  * [Response data schema details](https://developer.algorand.org/docs/rest-apis/indexer/#get-v2assetsasset-id)
16
16
  * @param index - The asset ID to look up.
17
17
  */
18
- constructor(c: HTTPClient, index: number);
18
+ constructor(c: HTTPClient, index: number | bigint);
19
19
  /**
20
20
  * @returns `/v2/assets/${index}`
21
21
  */
@@ -16,7 +16,7 @@ export default class LookupAssetTransactions extends JSONRequest<TransactionsRes
16
16
  * [Response data schema details](https://developer.algorand.org/docs/rest-apis/indexer/#get-v2assetsasset-idtransactions)
17
17
  * @param index - The asset ID to look up.
18
18
  */
19
- constructor(c: HTTPClient, index: number);
19
+ constructor(c: HTTPClient, index: number | bigint);
20
20
  /**
21
21
  * @returns `/v2/assets/${index}/transactions`
22
22
  */
@@ -106,7 +106,7 @@ export default class LookupAssetTransactions extends JSONRequest<TransactionsRes
106
106
  * @param round
107
107
  * @category query
108
108
  */
109
- round(round: number): this;
109
+ round(round: number | bigint): this;
110
110
  /**
111
111
  * Include results at or after the specified min-round.
112
112
  *
@@ -123,7 +123,7 @@ export default class LookupAssetTransactions extends JSONRequest<TransactionsRes
123
123
  * @param round
124
124
  * @category query
125
125
  */
126
- minRound(round: number): this;
126
+ minRound(round: number | bigint): this;
127
127
  /**
128
128
  * Include results at or before the specified max-round.
129
129
  *
@@ -140,7 +140,7 @@ export default class LookupAssetTransactions extends JSONRequest<TransactionsRes
140
140
  * @param round
141
141
  * @category query
142
142
  */
143
- maxRound(round: number): this;
143
+ maxRound(round: number | bigint): this;
144
144
  /**
145
145
  * Maximum number of results to return.
146
146
  *
@@ -208,7 +208,7 @@ export default class LookupAssetTransactions extends JSONRequest<TransactionsRes
208
208
  * @param greater
209
209
  * @category query
210
210
  */
211
- currencyGreaterThan(greater: number): this;
211
+ currencyGreaterThan(greater: number | bigint): this;
212
212
  /**
213
213
  * Filtered results should have an amount less than this value, as int, representing asset units.
214
214
  *
@@ -225,7 +225,7 @@ export default class LookupAssetTransactions extends JSONRequest<TransactionsRes
225
225
  * @param lesser
226
226
  * @category query
227
227
  */
228
- currencyLessThan(lesser: number): this;
228
+ currencyLessThan(lesser: number | bigint): this;
229
229
  /**
230
230
  * Combined with address, defines what address to filter on, as string.
231
231
  *
@@ -16,7 +16,7 @@ export default class LookupBlock extends JSONRequest<Block> {
16
16
  * @param round - The number of the round to look up.
17
17
  * @category GET
18
18
  */
19
- constructor(c: HTTPClient, round: number);
19
+ constructor(c: HTTPClient, round: number | bigint);
20
20
  /**
21
21
  * @returns `/v2/blocks/${round}`
22
22
  */