algosdk 1.23.2 → 1.24.1

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 (909) 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/abi/abi_type.js +693 -0
  5. package/dist/cjs/abi/abi_type.js.map +1 -0
  6. package/dist/cjs/{src/abi → abi}/contract.js +0 -0
  7. package/dist/cjs/abi/contract.js.map +1 -0
  8. package/dist/cjs/{src/abi → abi}/index.js +0 -0
  9. package/dist/cjs/abi/index.js.map +1 -0
  10. package/dist/cjs/{src/abi → abi}/interface.js +0 -0
  11. package/dist/cjs/abi/interface.js.map +1 -0
  12. package/dist/cjs/{src/abi → abi}/method.js +0 -0
  13. package/dist/cjs/abi/method.js.map +1 -0
  14. package/dist/cjs/{src/abi → abi}/reference.js +0 -0
  15. package/dist/cjs/abi/reference.js.map +1 -0
  16. package/dist/cjs/{src/abi → abi}/transaction.js +0 -0
  17. package/dist/cjs/abi/transaction.js.map +1 -0
  18. package/dist/cjs/{src/account.js → account.js} +0 -0
  19. package/dist/cjs/account.js.map +1 -0
  20. package/dist/cjs/{src/bid.js → bid.js} +0 -0
  21. package/dist/cjs/bid.js.map +1 -0
  22. package/dist/cjs/{src/boxStorage.js → boxStorage.js} +0 -0
  23. package/dist/cjs/boxStorage.js.map +1 -0
  24. package/dist/cjs/{src/client → client}/algod.js +0 -0
  25. package/dist/cjs/client/algod.js.map +1 -0
  26. package/dist/cjs/{src/client → client}/baseHTTPClient.js +0 -0
  27. package/dist/cjs/client/baseHTTPClient.js.map +1 -0
  28. package/dist/cjs/{src/client → client}/client.js +0 -0
  29. package/dist/cjs/client/client.js.map +1 -0
  30. package/dist/cjs/{src/client → client}/kmd.js +0 -0
  31. package/dist/cjs/client/kmd.js.map +1 -0
  32. package/dist/cjs/{src/client → client}/urlTokenBaseHTTPClient.js +0 -0
  33. package/dist/cjs/client/urlTokenBaseHTTPClient.js.map +1 -0
  34. package/dist/cjs/{src/client → client}/v2/algod/accountApplicationInformation.js +0 -0
  35. package/dist/cjs/client/v2/algod/accountApplicationInformation.js.map +1 -0
  36. package/dist/cjs/{src/client → client}/v2/algod/accountAssetInformation.js +0 -0
  37. package/dist/cjs/client/v2/algod/accountAssetInformation.js.map +1 -0
  38. package/dist/cjs/{src/client → client}/v2/algod/accountInformation.js +0 -0
  39. package/dist/cjs/client/v2/algod/accountInformation.js.map +1 -0
  40. package/dist/cjs/{src/client → client}/v2/algod/algod.js +0 -0
  41. package/dist/cjs/client/v2/algod/algod.js.map +1 -0
  42. package/dist/cjs/{src/client → client}/v2/algod/block.js +0 -0
  43. package/dist/cjs/client/v2/algod/block.js.map +1 -0
  44. package/dist/cjs/{src/client → client}/v2/algod/compile.js +0 -0
  45. package/dist/cjs/client/v2/algod/compile.js.map +1 -0
  46. package/dist/cjs/{src/client → client}/v2/algod/dryrun.js +0 -0
  47. package/dist/cjs/client/v2/algod/dryrun.js.map +1 -0
  48. package/dist/cjs/{src/client → client}/v2/algod/genesis.js +0 -0
  49. package/dist/cjs/client/v2/algod/genesis.js.map +1 -0
  50. package/dist/cjs/{src/client → client}/v2/algod/getApplicationBoxByName.js +0 -0
  51. package/dist/cjs/client/v2/algod/getApplicationBoxByName.js.map +1 -0
  52. package/dist/cjs/{src/client → client}/v2/algod/getApplicationBoxes.js +0 -0
  53. package/dist/cjs/client/v2/algod/getApplicationBoxes.js.map +1 -0
  54. package/dist/cjs/{src/client → client}/v2/algod/getApplicationByID.js +0 -0
  55. package/dist/cjs/client/v2/algod/getApplicationByID.js.map +1 -0
  56. package/dist/cjs/{src/client → client}/v2/algod/getAssetByID.js +0 -0
  57. package/dist/cjs/client/v2/algod/getAssetByID.js.map +1 -0
  58. package/dist/cjs/{src/client → client}/v2/algod/getBlockHash.js +0 -0
  59. package/dist/cjs/client/v2/algod/getBlockHash.js.map +1 -0
  60. package/dist/cjs/{src/client → client}/v2/algod/getTransactionProof.js +0 -0
  61. package/dist/cjs/client/v2/algod/getTransactionProof.js.map +1 -0
  62. package/dist/cjs/{src/client → client}/v2/algod/healthCheck.js +0 -0
  63. package/dist/cjs/client/v2/algod/healthCheck.js.map +1 -0
  64. package/dist/cjs/{src/client → client}/v2/algod/lightBlockHeaderProof.js +0 -0
  65. package/dist/cjs/client/v2/algod/lightBlockHeaderProof.js.map +1 -0
  66. package/dist/cjs/client/v2/algod/models/types.js +2047 -0
  67. package/dist/cjs/client/v2/algod/models/types.js.map +1 -0
  68. package/dist/cjs/{src/client → client}/v2/algod/pendingTransactionInformation.js +0 -0
  69. package/dist/cjs/client/v2/algod/pendingTransactionInformation.js.map +1 -0
  70. package/dist/cjs/{src/client → client}/v2/algod/pendingTransactions.js +0 -0
  71. package/dist/cjs/client/v2/algod/pendingTransactions.js.map +1 -0
  72. package/dist/cjs/{src/client → client}/v2/algod/pendingTransactionsByAddress.js +0 -0
  73. package/dist/cjs/client/v2/algod/pendingTransactionsByAddress.js.map +1 -0
  74. package/dist/cjs/{src/client → client}/v2/algod/sendRawTransaction.js +0 -0
  75. package/dist/cjs/client/v2/algod/sendRawTransaction.js.map +1 -0
  76. package/dist/cjs/{src/client → client}/v2/algod/stateproof.js +0 -0
  77. package/dist/cjs/client/v2/algod/stateproof.js.map +1 -0
  78. package/dist/cjs/{src/client → client}/v2/algod/status.js +0 -0
  79. package/dist/cjs/client/v2/algod/status.js.map +1 -0
  80. package/dist/cjs/{src/client → client}/v2/algod/statusAfterBlock.js +0 -0
  81. package/dist/cjs/client/v2/algod/statusAfterBlock.js.map +1 -0
  82. package/dist/cjs/{src/client → client}/v2/algod/suggestedParams.js +0 -0
  83. package/dist/cjs/client/v2/algod/suggestedParams.js.map +1 -0
  84. package/dist/cjs/{src/client → client}/v2/algod/supply.js +0 -0
  85. package/dist/cjs/client/v2/algod/supply.js.map +1 -0
  86. package/dist/cjs/{src/client → client}/v2/algod/versions.js +0 -0
  87. package/dist/cjs/client/v2/algod/versions.js.map +1 -0
  88. package/dist/cjs/{src/client → client}/v2/basemodel.js +0 -0
  89. package/dist/cjs/client/v2/basemodel.js.map +1 -0
  90. package/dist/cjs/{src/client → client}/v2/indexer/indexer.js +0 -0
  91. package/dist/cjs/client/v2/indexer/indexer.js.map +1 -0
  92. package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountAppLocalStates.js +0 -0
  93. package/dist/cjs/client/v2/indexer/lookupAccountAppLocalStates.js.map +1 -0
  94. package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountAssets.js +0 -0
  95. package/dist/cjs/client/v2/indexer/lookupAccountAssets.js.map +1 -0
  96. package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountByID.js +0 -0
  97. package/dist/cjs/client/v2/indexer/lookupAccountByID.js.map +1 -0
  98. package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountCreatedApplications.js +0 -0
  99. package/dist/cjs/client/v2/indexer/lookupAccountCreatedApplications.js.map +1 -0
  100. package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountCreatedAssets.js +0 -0
  101. package/dist/cjs/client/v2/indexer/lookupAccountCreatedAssets.js.map +1 -0
  102. package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountTransactions.js +0 -0
  103. package/dist/cjs/client/v2/indexer/lookupAccountTransactions.js.map +1 -0
  104. package/dist/cjs/{src/client → client}/v2/indexer/lookupApplicationBoxByIDandName.js +0 -0
  105. package/dist/cjs/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +1 -0
  106. package/dist/cjs/{src/client → client}/v2/indexer/lookupApplicationLogs.js +0 -0
  107. package/dist/cjs/client/v2/indexer/lookupApplicationLogs.js.map +1 -0
  108. package/dist/cjs/{src/client → client}/v2/indexer/lookupApplications.js +0 -0
  109. package/dist/cjs/client/v2/indexer/lookupApplications.js.map +1 -0
  110. package/dist/cjs/{src/client → client}/v2/indexer/lookupAssetBalances.js +0 -0
  111. package/dist/cjs/client/v2/indexer/lookupAssetBalances.js.map +1 -0
  112. package/dist/cjs/{src/client → client}/v2/indexer/lookupAssetByID.js +0 -0
  113. package/dist/cjs/client/v2/indexer/lookupAssetByID.js.map +1 -0
  114. package/dist/cjs/{src/client → client}/v2/indexer/lookupAssetTransactions.js +0 -0
  115. package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js.map +1 -0
  116. package/dist/cjs/{src/client → client}/v2/indexer/lookupBlock.js +0 -0
  117. package/dist/cjs/client/v2/indexer/lookupBlock.js.map +1 -0
  118. package/dist/cjs/{src/client → client}/v2/indexer/lookupTransactionByID.js +0 -0
  119. package/dist/cjs/client/v2/indexer/lookupTransactionByID.js.map +1 -0
  120. package/dist/cjs/{src/client → client}/v2/indexer/makeHealthCheck.js +0 -0
  121. package/dist/cjs/client/v2/indexer/makeHealthCheck.js.map +1 -0
  122. package/dist/cjs/{src/client → client}/v2/indexer/models/types.js +0 -0
  123. package/dist/cjs/client/v2/indexer/models/types.js.map +1 -0
  124. package/dist/cjs/{src/client → client}/v2/indexer/searchAccounts.js +0 -0
  125. package/dist/cjs/client/v2/indexer/searchAccounts.js.map +1 -0
  126. package/dist/cjs/{src/client → client}/v2/indexer/searchForApplicationBoxes.js +0 -0
  127. package/dist/cjs/client/v2/indexer/searchForApplicationBoxes.js.map +1 -0
  128. package/dist/cjs/{src/client → client}/v2/indexer/searchForApplications.js +0 -0
  129. package/dist/cjs/client/v2/indexer/searchForApplications.js.map +1 -0
  130. package/dist/cjs/{src/client → client}/v2/indexer/searchForAssets.js +0 -0
  131. package/dist/cjs/client/v2/indexer/searchForAssets.js.map +1 -0
  132. package/dist/cjs/{src/client → client}/v2/indexer/searchForTransactions.js +0 -0
  133. package/dist/cjs/client/v2/indexer/searchForTransactions.js.map +1 -0
  134. package/dist/cjs/{src/client → client}/v2/jsonrequest.js +0 -0
  135. package/dist/cjs/client/v2/jsonrequest.js.map +1 -0
  136. package/dist/cjs/{src/client → client}/v2/serviceClient.js +0 -0
  137. package/dist/cjs/client/v2/serviceClient.js.map +1 -0
  138. package/dist/cjs/{src/composer.js → composer.js} +0 -0
  139. package/dist/cjs/composer.js.map +1 -0
  140. package/dist/cjs/{src/convert.js → convert.js} +0 -0
  141. package/dist/cjs/convert.js.map +1 -0
  142. package/dist/cjs/{src/dryrun.js → dryrun.js} +0 -0
  143. package/dist/cjs/dryrun.js.map +1 -0
  144. package/dist/cjs/{src/encoding → encoding}/address.js +0 -0
  145. package/dist/cjs/encoding/address.js.map +1 -0
  146. package/dist/cjs/{src/encoding → encoding}/bigint.js +0 -0
  147. package/dist/cjs/encoding/bigint.js.map +1 -0
  148. package/dist/cjs/{src/encoding → encoding}/encoding.js +0 -0
  149. package/dist/cjs/encoding/encoding.js.map +1 -0
  150. package/dist/cjs/{src/encoding → encoding}/uint64.js +0 -0
  151. package/dist/cjs/encoding/uint64.js.map +1 -0
  152. package/dist/cjs/{src/group.js → group.js} +0 -0
  153. package/dist/cjs/group.js.map +1 -0
  154. package/dist/cjs/index.js +2 -2
  155. package/dist/cjs/index.js.map +1 -1
  156. package/dist/cjs/{src/logic → logic}/langspec.json +0 -0
  157. package/dist/cjs/{src/logic → logic}/logic.js +0 -0
  158. package/dist/cjs/logic/logic.js.map +1 -0
  159. package/dist/cjs/{src/logic → logic}/sourcemap.js +0 -0
  160. package/dist/cjs/logic/sourcemap.js.map +1 -0
  161. package/dist/cjs/{src/logicTemplates → logicTemplates}/dynamicfee.js +0 -0
  162. package/dist/cjs/logicTemplates/dynamicfee.js.map +1 -0
  163. package/dist/cjs/{src/logicTemplates → logicTemplates}/htlc.js +0 -0
  164. package/dist/cjs/logicTemplates/htlc.js.map +1 -0
  165. package/dist/cjs/{src/logicTemplates → logicTemplates}/index.js +0 -0
  166. package/dist/cjs/logicTemplates/index.js.map +1 -0
  167. package/dist/cjs/{src/logicTemplates → logicTemplates}/limitorder.js +0 -0
  168. package/dist/cjs/logicTemplates/limitorder.js.map +1 -0
  169. package/dist/cjs/{src/logicTemplates → logicTemplates}/periodicpayment.js +0 -0
  170. package/dist/cjs/logicTemplates/periodicpayment.js.map +1 -0
  171. package/dist/cjs/{src/logicTemplates → logicTemplates}/split.js +0 -0
  172. package/dist/cjs/logicTemplates/split.js.map +1 -0
  173. package/dist/cjs/{src/logicTemplates → logicTemplates}/templates.js +0 -0
  174. package/dist/cjs/logicTemplates/templates.js.map +1 -0
  175. package/dist/cjs/{src/logicsig.js → logicsig.js} +0 -0
  176. package/dist/cjs/logicsig.js.map +1 -0
  177. package/dist/cjs/{src/main.js → main.js} +0 -0
  178. package/dist/cjs/main.js.map +1 -0
  179. package/dist/cjs/{src/makeTxn.js → makeTxn.js} +0 -0
  180. package/dist/cjs/makeTxn.js.map +1 -0
  181. package/dist/cjs/{src/mnemonic → mnemonic}/mnemonic.js +0 -0
  182. package/dist/cjs/mnemonic/mnemonic.js.map +1 -0
  183. package/dist/cjs/{src/mnemonic → mnemonic}/wordlists/english.js +0 -0
  184. package/dist/cjs/mnemonic/wordlists/english.js.map +1 -0
  185. package/dist/cjs/multisig.js +398 -0
  186. package/dist/cjs/multisig.js.map +1 -0
  187. package/dist/cjs/{src/nacl → nacl}/naclWrappers.js +0 -0
  188. package/dist/cjs/nacl/naclWrappers.js.map +1 -0
  189. package/dist/cjs/{src/signer.js → signer.js} +0 -0
  190. package/dist/cjs/signer.js.map +1 -0
  191. package/dist/cjs/{src/transaction.js → transaction.js} +0 -0
  192. package/dist/cjs/transaction.js.map +1 -0
  193. package/dist/cjs/{src/types → types}/account.js +0 -0
  194. package/dist/cjs/types/account.js.map +1 -0
  195. package/dist/cjs/{src/types → types}/address.js +0 -0
  196. package/dist/cjs/types/address.js.map +1 -0
  197. package/dist/cjs/{src/types → types}/blockHeader.js +0 -0
  198. package/dist/cjs/types/blockHeader.js.map +1 -0
  199. package/dist/cjs/{src/types → types}/index.js +0 -0
  200. package/dist/cjs/types/index.js.map +1 -0
  201. package/dist/cjs/{src/types → types}/intDecoding.js +0 -0
  202. package/dist/cjs/types/intDecoding.js.map +1 -0
  203. package/dist/cjs/{src/types → types}/multisig.js +0 -0
  204. package/dist/cjs/types/multisig.js.map +1 -0
  205. package/dist/cjs/{src/types → types}/transactions/application.js +0 -0
  206. package/dist/cjs/types/transactions/application.js.map +1 -0
  207. package/dist/cjs/{src/types → types}/transactions/asset.js +0 -0
  208. package/dist/cjs/types/transactions/asset.js.map +1 -0
  209. package/dist/cjs/{src/types → types}/transactions/base.js +0 -0
  210. package/dist/cjs/types/transactions/base.js.map +1 -0
  211. package/dist/cjs/{src/types → types}/transactions/builder.js +0 -0
  212. package/dist/cjs/types/transactions/builder.js.map +1 -0
  213. package/dist/cjs/{src/types → types}/transactions/encoded.js +0 -0
  214. package/dist/cjs/types/transactions/encoded.js.map +1 -0
  215. package/dist/cjs/{src/types → types}/transactions/index.js +0 -0
  216. package/dist/cjs/types/transactions/index.js.map +1 -0
  217. package/dist/cjs/{src/types → types}/transactions/keyreg.js +0 -0
  218. package/dist/cjs/types/transactions/keyreg.js.map +1 -0
  219. package/dist/cjs/{src/types → types}/transactions/payment.js +0 -0
  220. package/dist/cjs/types/transactions/payment.js.map +1 -0
  221. package/dist/cjs/{src/types → types}/transactions/stateproof.js +0 -0
  222. package/dist/cjs/types/transactions/stateproof.js.map +1 -0
  223. package/dist/cjs/{src/types → types}/utils.js +0 -0
  224. package/dist/cjs/types/utils.js.map +1 -0
  225. package/dist/cjs/{src/utils → utils}/utils.js +0 -0
  226. package/dist/cjs/utils/utils.js.map +1 -0
  227. package/dist/cjs/{src/wait.js → wait.js} +0 -0
  228. package/dist/cjs/wait.js.map +1 -0
  229. package/dist/esm/abi/abi_type.js +680 -0
  230. package/dist/esm/abi/abi_type.js.map +1 -0
  231. package/dist/esm/{src/abi → abi}/contract.js +0 -0
  232. package/dist/esm/abi/contract.js.map +1 -0
  233. package/dist/esm/{src/abi → abi}/index.js +0 -0
  234. package/dist/esm/abi/index.js.map +1 -0
  235. package/dist/esm/{src/abi → abi}/interface.js +0 -0
  236. package/dist/esm/abi/interface.js.map +1 -0
  237. package/dist/esm/{src/abi → abi}/method.js +0 -0
  238. package/dist/esm/abi/method.js.map +1 -0
  239. package/dist/esm/{src/abi → abi}/reference.js +0 -0
  240. package/dist/esm/abi/reference.js.map +1 -0
  241. package/dist/esm/{src/abi → abi}/transaction.js +0 -0
  242. package/dist/esm/abi/transaction.js.map +1 -0
  243. package/dist/esm/{src/account.js → account.js} +0 -0
  244. package/dist/esm/account.js.map +1 -0
  245. package/dist/esm/{src/bid.js → bid.js} +0 -0
  246. package/dist/esm/bid.js.map +1 -0
  247. package/dist/esm/{src/boxStorage.js → boxStorage.js} +0 -0
  248. package/dist/esm/boxStorage.js.map +1 -0
  249. package/dist/esm/{src/client → client}/algod.js +0 -0
  250. package/dist/esm/client/algod.js.map +1 -0
  251. package/dist/esm/{src/client → client}/baseHTTPClient.js +0 -0
  252. package/dist/esm/client/baseHTTPClient.js.map +1 -0
  253. package/dist/esm/{src/client → client}/client.js +0 -0
  254. package/dist/esm/client/client.js.map +1 -0
  255. package/dist/esm/{src/client → client}/kmd.js +0 -0
  256. package/dist/esm/client/kmd.js.map +1 -0
  257. package/dist/esm/{src/client → client}/urlTokenBaseHTTPClient.js +0 -0
  258. package/dist/esm/client/urlTokenBaseHTTPClient.js.map +1 -0
  259. package/dist/esm/{src/client → client}/v2/algod/accountApplicationInformation.js +0 -0
  260. package/dist/esm/client/v2/algod/accountApplicationInformation.js.map +1 -0
  261. package/dist/esm/{src/client → client}/v2/algod/accountAssetInformation.js +0 -0
  262. package/dist/esm/client/v2/algod/accountAssetInformation.js.map +1 -0
  263. package/dist/esm/{src/client → client}/v2/algod/accountInformation.js +0 -0
  264. package/dist/esm/client/v2/algod/accountInformation.js.map +1 -0
  265. package/dist/esm/{src/client → client}/v2/algod/algod.js +0 -0
  266. package/dist/esm/client/v2/algod/algod.js.map +1 -0
  267. package/dist/esm/{src/client → client}/v2/algod/block.js +0 -0
  268. package/dist/esm/client/v2/algod/block.js.map +1 -0
  269. package/dist/esm/{src/client → client}/v2/algod/compile.js +0 -0
  270. package/dist/esm/client/v2/algod/compile.js.map +1 -0
  271. package/dist/esm/{src/client → client}/v2/algod/dryrun.js +0 -0
  272. package/dist/esm/client/v2/algod/dryrun.js.map +1 -0
  273. package/dist/esm/{src/client → client}/v2/algod/genesis.js +0 -0
  274. package/dist/esm/client/v2/algod/genesis.js.map +1 -0
  275. package/dist/esm/{src/client → client}/v2/algod/getApplicationBoxByName.js +0 -0
  276. package/dist/esm/client/v2/algod/getApplicationBoxByName.js.map +1 -0
  277. package/dist/esm/{src/client → client}/v2/algod/getApplicationBoxes.js +0 -0
  278. package/dist/esm/client/v2/algod/getApplicationBoxes.js.map +1 -0
  279. package/dist/esm/{src/client → client}/v2/algod/getApplicationByID.js +0 -0
  280. package/dist/esm/client/v2/algod/getApplicationByID.js.map +1 -0
  281. package/dist/esm/{src/client → client}/v2/algod/getAssetByID.js +0 -0
  282. package/dist/esm/client/v2/algod/getAssetByID.js.map +1 -0
  283. package/dist/esm/{src/client → client}/v2/algod/getBlockHash.js +0 -0
  284. package/dist/esm/client/v2/algod/getBlockHash.js.map +1 -0
  285. package/dist/esm/{src/client → client}/v2/algod/getTransactionProof.js +0 -0
  286. package/dist/esm/client/v2/algod/getTransactionProof.js.map +1 -0
  287. package/dist/esm/{src/client → client}/v2/algod/healthCheck.js +0 -0
  288. package/dist/esm/client/v2/algod/healthCheck.js.map +1 -0
  289. package/dist/esm/{src/client → client}/v2/algod/lightBlockHeaderProof.js +0 -0
  290. package/dist/esm/client/v2/algod/lightBlockHeaderProof.js.map +1 -0
  291. package/dist/esm/client/v2/algod/models/types.js +1998 -0
  292. package/dist/esm/client/v2/algod/models/types.js.map +1 -0
  293. package/dist/esm/{src/client → client}/v2/algod/pendingTransactionInformation.js +0 -0
  294. package/dist/esm/client/v2/algod/pendingTransactionInformation.js.map +1 -0
  295. package/dist/esm/{src/client → client}/v2/algod/pendingTransactions.js +0 -0
  296. package/dist/esm/client/v2/algod/pendingTransactions.js.map +1 -0
  297. package/dist/esm/{src/client → client}/v2/algod/pendingTransactionsByAddress.js +0 -0
  298. package/dist/esm/client/v2/algod/pendingTransactionsByAddress.js.map +1 -0
  299. package/dist/esm/{src/client → client}/v2/algod/sendRawTransaction.js +0 -0
  300. package/dist/esm/client/v2/algod/sendRawTransaction.js.map +1 -0
  301. package/dist/esm/{src/client → client}/v2/algod/stateproof.js +0 -0
  302. package/dist/esm/client/v2/algod/stateproof.js.map +1 -0
  303. package/dist/esm/{src/client → client}/v2/algod/status.js +0 -0
  304. package/dist/esm/client/v2/algod/status.js.map +1 -0
  305. package/dist/esm/{src/client → client}/v2/algod/statusAfterBlock.js +0 -0
  306. package/dist/esm/client/v2/algod/statusAfterBlock.js.map +1 -0
  307. package/dist/esm/{src/client → client}/v2/algod/suggestedParams.js +0 -0
  308. package/dist/esm/client/v2/algod/suggestedParams.js.map +1 -0
  309. package/dist/esm/{src/client → client}/v2/algod/supply.js +0 -0
  310. package/dist/esm/client/v2/algod/supply.js.map +1 -0
  311. package/dist/esm/{src/client → client}/v2/algod/versions.js +0 -0
  312. package/dist/esm/client/v2/algod/versions.js.map +1 -0
  313. package/dist/esm/{src/client → client}/v2/basemodel.js +0 -0
  314. package/dist/esm/client/v2/basemodel.js.map +1 -0
  315. package/dist/esm/{src/client → client}/v2/indexer/indexer.js +0 -0
  316. package/dist/esm/client/v2/indexer/indexer.js.map +1 -0
  317. package/dist/esm/{src/client → client}/v2/indexer/lookupAccountAppLocalStates.js +0 -0
  318. package/dist/esm/client/v2/indexer/lookupAccountAppLocalStates.js.map +1 -0
  319. package/dist/esm/{src/client → client}/v2/indexer/lookupAccountAssets.js +0 -0
  320. package/dist/esm/client/v2/indexer/lookupAccountAssets.js.map +1 -0
  321. package/dist/esm/{src/client → client}/v2/indexer/lookupAccountByID.js +0 -0
  322. package/dist/esm/client/v2/indexer/lookupAccountByID.js.map +1 -0
  323. package/dist/esm/{src/client → client}/v2/indexer/lookupAccountCreatedApplications.js +0 -0
  324. package/dist/esm/client/v2/indexer/lookupAccountCreatedApplications.js.map +1 -0
  325. package/dist/esm/{src/client → client}/v2/indexer/lookupAccountCreatedAssets.js +0 -0
  326. package/dist/esm/client/v2/indexer/lookupAccountCreatedAssets.js.map +1 -0
  327. package/dist/esm/{src/client → client}/v2/indexer/lookupAccountTransactions.js +0 -0
  328. package/dist/esm/client/v2/indexer/lookupAccountTransactions.js.map +1 -0
  329. package/dist/esm/{src/client → client}/v2/indexer/lookupApplicationBoxByIDandName.js +0 -0
  330. package/dist/esm/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +1 -0
  331. package/dist/esm/{src/client → client}/v2/indexer/lookupApplicationLogs.js +0 -0
  332. package/dist/esm/client/v2/indexer/lookupApplicationLogs.js.map +1 -0
  333. package/dist/esm/{src/client → client}/v2/indexer/lookupApplications.js +0 -0
  334. package/dist/esm/client/v2/indexer/lookupApplications.js.map +1 -0
  335. package/dist/esm/{src/client → client}/v2/indexer/lookupAssetBalances.js +0 -0
  336. package/dist/esm/client/v2/indexer/lookupAssetBalances.js.map +1 -0
  337. package/dist/esm/{src/client → client}/v2/indexer/lookupAssetByID.js +0 -0
  338. package/dist/esm/client/v2/indexer/lookupAssetByID.js.map +1 -0
  339. package/dist/esm/{src/client → client}/v2/indexer/lookupAssetTransactions.js +0 -0
  340. package/dist/esm/client/v2/indexer/lookupAssetTransactions.js.map +1 -0
  341. package/dist/esm/{src/client → client}/v2/indexer/lookupBlock.js +0 -0
  342. package/dist/esm/client/v2/indexer/lookupBlock.js.map +1 -0
  343. package/dist/esm/{src/client → client}/v2/indexer/lookupTransactionByID.js +0 -0
  344. package/dist/esm/client/v2/indexer/lookupTransactionByID.js.map +1 -0
  345. package/dist/esm/{src/client → client}/v2/indexer/makeHealthCheck.js +0 -0
  346. package/dist/esm/client/v2/indexer/makeHealthCheck.js.map +1 -0
  347. package/dist/esm/{src/client → client}/v2/indexer/models/types.js +0 -0
  348. package/dist/esm/client/v2/indexer/models/types.js.map +1 -0
  349. package/dist/esm/{src/client → client}/v2/indexer/searchAccounts.js +0 -0
  350. package/dist/esm/client/v2/indexer/searchAccounts.js.map +1 -0
  351. package/dist/esm/{src/client → client}/v2/indexer/searchForApplicationBoxes.js +0 -0
  352. package/dist/esm/client/v2/indexer/searchForApplicationBoxes.js.map +1 -0
  353. package/dist/esm/{src/client → client}/v2/indexer/searchForApplications.js +0 -0
  354. package/dist/esm/client/v2/indexer/searchForApplications.js.map +1 -0
  355. package/dist/esm/{src/client → client}/v2/indexer/searchForAssets.js +0 -0
  356. package/dist/esm/client/v2/indexer/searchForAssets.js.map +1 -0
  357. package/dist/esm/{src/client → client}/v2/indexer/searchForTransactions.js +0 -0
  358. package/dist/esm/client/v2/indexer/searchForTransactions.js.map +1 -0
  359. package/dist/esm/{src/client → client}/v2/jsonrequest.js +0 -0
  360. package/dist/esm/client/v2/jsonrequest.js.map +1 -0
  361. package/dist/esm/{src/client → client}/v2/serviceClient.js +0 -0
  362. package/dist/esm/client/v2/serviceClient.js.map +1 -0
  363. package/dist/esm/{src/composer.js → composer.js} +0 -0
  364. package/dist/esm/composer.js.map +1 -0
  365. package/dist/esm/{src/convert.js → convert.js} +0 -0
  366. package/dist/esm/convert.js.map +1 -0
  367. package/dist/esm/{src/dryrun.js → dryrun.js} +0 -0
  368. package/dist/esm/dryrun.js.map +1 -0
  369. package/dist/esm/{src/encoding → encoding}/address.js +0 -0
  370. package/dist/esm/encoding/address.js.map +1 -0
  371. package/dist/esm/{src/encoding → encoding}/bigint.js +0 -0
  372. package/dist/esm/encoding/bigint.js.map +1 -0
  373. package/dist/esm/{src/encoding → encoding}/encoding.js +0 -0
  374. package/dist/esm/encoding/encoding.js.map +1 -0
  375. package/dist/esm/{src/encoding → encoding}/uint64.js +0 -0
  376. package/dist/esm/encoding/uint64.js.map +1 -0
  377. package/dist/esm/{src/group.js → group.js} +0 -0
  378. package/dist/esm/group.js.map +1 -0
  379. package/dist/esm/index.js +2 -2
  380. package/dist/esm/index.js.map +1 -1
  381. package/dist/esm/{src/logic → logic}/langspec.json +0 -0
  382. package/dist/esm/{src/logic → logic}/logic.js +0 -0
  383. package/dist/esm/logic/logic.js.map +1 -0
  384. package/dist/esm/{src/logic → logic}/sourcemap.js +0 -0
  385. package/dist/esm/logic/sourcemap.js.map +1 -0
  386. package/dist/esm/{src/logicTemplates → logicTemplates}/dynamicfee.js +0 -0
  387. package/dist/esm/logicTemplates/dynamicfee.js.map +1 -0
  388. package/dist/esm/{src/logicTemplates → logicTemplates}/htlc.js +0 -0
  389. package/dist/esm/logicTemplates/htlc.js.map +1 -0
  390. package/dist/esm/{src/logicTemplates → logicTemplates}/index.js +0 -0
  391. package/dist/esm/logicTemplates/index.js.map +1 -0
  392. package/dist/esm/{src/logicTemplates → logicTemplates}/limitorder.js +0 -0
  393. package/dist/esm/logicTemplates/limitorder.js.map +1 -0
  394. package/dist/esm/{src/logicTemplates → logicTemplates}/periodicpayment.js +0 -0
  395. package/dist/esm/logicTemplates/periodicpayment.js.map +1 -0
  396. package/dist/esm/{src/logicTemplates → logicTemplates}/split.js +0 -0
  397. package/dist/esm/logicTemplates/split.js.map +1 -0
  398. package/dist/esm/{src/logicTemplates → logicTemplates}/templates.js +0 -0
  399. package/dist/esm/logicTemplates/templates.js.map +1 -0
  400. package/dist/esm/{src/logicsig.js → logicsig.js} +0 -0
  401. package/dist/esm/logicsig.js.map +1 -0
  402. package/dist/esm/{src/main.js → main.js} +0 -0
  403. package/dist/esm/main.js.map +1 -0
  404. package/dist/esm/{src/makeTxn.js → makeTxn.js} +0 -0
  405. package/dist/esm/makeTxn.js.map +1 -0
  406. package/dist/esm/{src/mnemonic → mnemonic}/mnemonic.js +0 -0
  407. package/dist/esm/mnemonic/mnemonic.js.map +1 -0
  408. package/dist/esm/{src/mnemonic → mnemonic}/wordlists/english.js +0 -0
  409. package/dist/esm/mnemonic/wordlists/english.js.map +1 -0
  410. package/dist/esm/multisig.js +364 -0
  411. package/dist/esm/multisig.js.map +1 -0
  412. package/dist/esm/{src/nacl → nacl}/naclWrappers.js +0 -0
  413. package/dist/esm/nacl/naclWrappers.js.map +1 -0
  414. package/dist/esm/{src/signer.js → signer.js} +0 -0
  415. package/dist/esm/signer.js.map +1 -0
  416. package/dist/esm/{src/transaction.js → transaction.js} +0 -0
  417. package/dist/esm/transaction.js.map +1 -0
  418. package/dist/esm/{src/types → types}/account.js +0 -0
  419. package/dist/esm/types/account.js.map +1 -0
  420. package/dist/esm/{src/types → types}/address.js +0 -0
  421. package/dist/esm/types/address.js.map +1 -0
  422. package/dist/esm/{src/types → types}/blockHeader.js +0 -0
  423. package/dist/esm/types/blockHeader.js.map +1 -0
  424. package/dist/esm/{src/types → types}/index.js +0 -0
  425. package/dist/esm/types/index.js.map +1 -0
  426. package/dist/esm/{src/types → types}/intDecoding.js +0 -0
  427. package/dist/esm/types/intDecoding.js.map +1 -0
  428. package/dist/esm/{src/types → types}/multisig.js +0 -0
  429. package/dist/esm/types/multisig.js.map +1 -0
  430. package/dist/esm/{src/types → types}/transactions/application.js +0 -0
  431. package/dist/esm/types/transactions/application.js.map +1 -0
  432. package/dist/esm/{src/types → types}/transactions/asset.js +0 -0
  433. package/dist/esm/types/transactions/asset.js.map +1 -0
  434. package/dist/esm/{src/types → types}/transactions/base.js +0 -0
  435. package/dist/esm/types/transactions/base.js.map +1 -0
  436. package/dist/esm/{src/types → types}/transactions/builder.js +0 -0
  437. package/dist/esm/types/transactions/builder.js.map +1 -0
  438. package/dist/esm/{src/types → types}/transactions/encoded.js +0 -0
  439. package/dist/esm/types/transactions/encoded.js.map +1 -0
  440. package/dist/esm/{src/types → types}/transactions/index.js +0 -0
  441. package/dist/esm/types/transactions/index.js.map +1 -0
  442. package/dist/esm/{src/types → types}/transactions/keyreg.js +0 -0
  443. package/dist/esm/types/transactions/keyreg.js.map +1 -0
  444. package/dist/esm/{src/types → types}/transactions/payment.js +0 -0
  445. package/dist/esm/types/transactions/payment.js.map +1 -0
  446. package/dist/esm/{src/types → types}/transactions/stateproof.js +0 -0
  447. package/dist/esm/types/transactions/stateproof.js.map +1 -0
  448. package/dist/esm/{src/types → types}/utils.js +0 -0
  449. package/dist/esm/types/utils.js.map +1 -0
  450. package/dist/esm/{src/utils → utils}/utils.js +0 -0
  451. package/dist/esm/utils/utils.js.map +1 -0
  452. package/dist/esm/{src/wait.js → wait.js} +0 -0
  453. package/dist/esm/wait.js.map +1 -0
  454. package/dist/types/{src/abi → abi}/abi_type.d.ts +0 -0
  455. package/dist/types/{src/abi → abi}/contract.d.ts +0 -0
  456. package/dist/types/{src/abi → abi}/index.d.ts +0 -0
  457. package/dist/types/{src/abi → abi}/interface.d.ts +0 -0
  458. package/dist/types/{src/abi → abi}/method.d.ts +0 -0
  459. package/dist/types/{src/abi → abi}/reference.d.ts +0 -0
  460. package/dist/types/{src/abi → abi}/transaction.d.ts +0 -0
  461. package/dist/types/{src/account.d.ts → account.d.ts} +0 -0
  462. package/dist/types/{src/bid.d.ts → bid.d.ts} +0 -0
  463. package/dist/types/{src/boxStorage.d.ts → boxStorage.d.ts} +0 -0
  464. package/dist/types/{src/client → client}/algod.d.ts +0 -0
  465. package/dist/types/{src/client → client}/baseHTTPClient.d.ts +0 -0
  466. package/dist/types/{src/client → client}/client.d.ts +0 -0
  467. package/dist/types/{src/client → client}/kmd.d.ts +0 -0
  468. package/dist/types/{src/client → client}/urlTokenBaseHTTPClient.d.ts +0 -0
  469. package/dist/types/{src/client → client}/v2/algod/accountApplicationInformation.d.ts +0 -0
  470. package/dist/types/{src/client → client}/v2/algod/accountAssetInformation.d.ts +0 -0
  471. package/dist/types/{src/client → client}/v2/algod/accountInformation.d.ts +0 -0
  472. package/dist/types/{src/client → client}/v2/algod/algod.d.ts +0 -0
  473. package/dist/types/{src/client → client}/v2/algod/block.d.ts +0 -0
  474. package/dist/types/{src/client → client}/v2/algod/compile.d.ts +0 -0
  475. package/dist/types/{src/client → client}/v2/algod/dryrun.d.ts +0 -0
  476. package/dist/types/{src/client → client}/v2/algod/genesis.d.ts +0 -0
  477. package/dist/types/{src/client → client}/v2/algod/getApplicationBoxByName.d.ts +0 -0
  478. package/dist/types/{src/client → client}/v2/algod/getApplicationBoxes.d.ts +0 -0
  479. package/dist/types/{src/client → client}/v2/algod/getApplicationByID.d.ts +0 -0
  480. package/dist/types/{src/client → client}/v2/algod/getAssetByID.d.ts +0 -0
  481. package/dist/types/{src/client → client}/v2/algod/getBlockHash.d.ts +0 -0
  482. package/dist/types/{src/client → client}/v2/algod/getTransactionProof.d.ts +0 -0
  483. package/dist/types/{src/client → client}/v2/algod/healthCheck.d.ts +0 -0
  484. package/dist/types/{src/client → client}/v2/algod/lightBlockHeaderProof.d.ts +0 -0
  485. package/dist/types/client/v2/algod/models/types.d.ts +1634 -0
  486. package/dist/types/{src/client → client}/v2/algod/pendingTransactionInformation.d.ts +0 -0
  487. package/dist/types/{src/client → client}/v2/algod/pendingTransactions.d.ts +0 -0
  488. package/dist/types/{src/client → client}/v2/algod/pendingTransactionsByAddress.d.ts +0 -0
  489. package/dist/types/{src/client → client}/v2/algod/sendRawTransaction.d.ts +0 -0
  490. package/dist/types/{src/client → client}/v2/algod/stateproof.d.ts +0 -0
  491. package/dist/types/{src/client → client}/v2/algod/status.d.ts +0 -0
  492. package/dist/types/{src/client → client}/v2/algod/statusAfterBlock.d.ts +0 -0
  493. package/dist/types/{src/client → client}/v2/algod/suggestedParams.d.ts +0 -0
  494. package/dist/types/{src/client → client}/v2/algod/supply.d.ts +0 -0
  495. package/dist/types/{src/client → client}/v2/algod/versions.d.ts +0 -0
  496. package/dist/types/{src/client → client}/v2/basemodel.d.ts +0 -0
  497. package/dist/types/{src/client → client}/v2/indexer/indexer.d.ts +0 -0
  498. package/dist/types/{src/client → client}/v2/indexer/lookupAccountAppLocalStates.d.ts +0 -0
  499. package/dist/types/{src/client → client}/v2/indexer/lookupAccountAssets.d.ts +0 -0
  500. package/dist/types/{src/client → client}/v2/indexer/lookupAccountByID.d.ts +0 -0
  501. package/dist/types/{src/client → client}/v2/indexer/lookupAccountCreatedApplications.d.ts +0 -0
  502. package/dist/types/{src/client → client}/v2/indexer/lookupAccountCreatedAssets.d.ts +0 -0
  503. package/dist/types/{src/client → client}/v2/indexer/lookupAccountTransactions.d.ts +0 -0
  504. package/dist/types/{src/client → client}/v2/indexer/lookupApplicationBoxByIDandName.d.ts +0 -0
  505. package/dist/types/{src/client → client}/v2/indexer/lookupApplicationLogs.d.ts +0 -0
  506. package/dist/types/{src/client → client}/v2/indexer/lookupApplications.d.ts +0 -0
  507. package/dist/types/{src/client → client}/v2/indexer/lookupAssetBalances.d.ts +0 -0
  508. package/dist/types/{src/client → client}/v2/indexer/lookupAssetByID.d.ts +0 -0
  509. package/dist/types/{src/client → client}/v2/indexer/lookupAssetTransactions.d.ts +0 -0
  510. package/dist/types/{src/client → client}/v2/indexer/lookupBlock.d.ts +0 -0
  511. package/dist/types/{src/client → client}/v2/indexer/lookupTransactionByID.d.ts +0 -0
  512. package/dist/types/{src/client → client}/v2/indexer/makeHealthCheck.d.ts +0 -0
  513. package/dist/types/{src/client → client}/v2/indexer/models/types.d.ts +0 -0
  514. package/dist/types/{src/client → client}/v2/indexer/searchAccounts.d.ts +0 -0
  515. package/dist/types/{src/client → client}/v2/indexer/searchForApplicationBoxes.d.ts +0 -0
  516. package/dist/types/{src/client → client}/v2/indexer/searchForApplications.d.ts +0 -0
  517. package/dist/types/{src/client → client}/v2/indexer/searchForAssets.d.ts +0 -0
  518. package/dist/types/{src/client → client}/v2/indexer/searchForTransactions.d.ts +0 -0
  519. package/dist/types/{src/client → client}/v2/jsonrequest.d.ts +0 -0
  520. package/dist/types/{src/client → client}/v2/serviceClient.d.ts +0 -0
  521. package/dist/types/{src/composer.d.ts → composer.d.ts} +0 -0
  522. package/dist/types/{src/convert.d.ts → convert.d.ts} +0 -0
  523. package/dist/types/{src/dryrun.d.ts → dryrun.d.ts} +0 -0
  524. package/dist/types/{src/encoding → encoding}/address.d.ts +0 -0
  525. package/dist/types/{src/encoding → encoding}/bigint.d.ts +0 -0
  526. package/dist/types/{src/encoding → encoding}/encoding.d.ts +0 -0
  527. package/dist/types/{src/encoding → encoding}/uint64.d.ts +0 -0
  528. package/dist/types/{src/group.d.ts → group.d.ts} +0 -0
  529. package/dist/types/index.d.ts +2 -2
  530. package/dist/types/{src/logic → logic}/logic.d.ts +0 -0
  531. package/dist/types/{src/logic → logic}/sourcemap.d.ts +0 -0
  532. package/dist/types/{src/logicTemplates → logicTemplates}/dynamicfee.d.ts +0 -0
  533. package/dist/types/{src/logicTemplates → logicTemplates}/htlc.d.ts +0 -0
  534. package/dist/types/{src/logicTemplates → logicTemplates}/index.d.ts +0 -0
  535. package/dist/types/{src/logicTemplates → logicTemplates}/limitorder.d.ts +0 -0
  536. package/dist/types/{src/logicTemplates → logicTemplates}/periodicpayment.d.ts +0 -0
  537. package/dist/types/{src/logicTemplates → logicTemplates}/split.d.ts +0 -0
  538. package/dist/types/{src/logicTemplates → logicTemplates}/templates.d.ts +0 -0
  539. package/dist/types/{src/logicsig.d.ts → logicsig.d.ts} +0 -0
  540. package/dist/types/{src/main.d.ts → main.d.ts} +0 -0
  541. package/dist/types/{src/makeTxn.d.ts → makeTxn.d.ts} +0 -0
  542. package/dist/types/{src/mnemonic → mnemonic}/mnemonic.d.ts +0 -0
  543. package/dist/types/{src/mnemonic → mnemonic}/wordlists/english.d.ts +0 -0
  544. package/dist/types/multisig.d.ts +125 -0
  545. package/dist/types/{src/nacl → nacl}/naclWrappers.d.ts +0 -0
  546. package/dist/types/{src/signer.d.ts → signer.d.ts} +0 -0
  547. package/dist/types/{src/transaction.d.ts → transaction.d.ts} +0 -0
  548. package/dist/types/{src/types → types}/account.d.ts +0 -0
  549. package/dist/types/{src/types → types}/address.d.ts +0 -0
  550. package/dist/types/{src/types → types}/blockHeader.d.ts +0 -0
  551. package/dist/types/{src/types → types}/index.d.ts +0 -0
  552. package/dist/types/{src/types → types}/intDecoding.d.ts +0 -0
  553. package/dist/types/{src/types → types}/multisig.d.ts +0 -0
  554. package/dist/types/{src/types → types}/transactions/application.d.ts +0 -0
  555. package/dist/types/{src/types → types}/transactions/asset.d.ts +0 -0
  556. package/dist/types/{src/types → types}/transactions/base.d.ts +0 -0
  557. package/dist/types/{src/types → types}/transactions/builder.d.ts +0 -0
  558. package/dist/types/{src/types → types}/transactions/encoded.d.ts +0 -0
  559. package/dist/types/{src/types → types}/transactions/index.d.ts +0 -0
  560. package/dist/types/{src/types → types}/transactions/keyreg.d.ts +0 -0
  561. package/dist/types/{src/types → types}/transactions/payment.d.ts +0 -0
  562. package/dist/types/{src/types → types}/transactions/stateproof.d.ts +0 -0
  563. package/dist/types/{src/types → types}/utils.d.ts +0 -0
  564. package/dist/types/{src/utils → utils}/utils.d.ts +0 -0
  565. package/dist/types/{src/wait.d.ts → wait.d.ts} +0 -0
  566. package/package.json +10 -6
  567. package/src/abi/abi_type.ts +846 -0
  568. package/src/abi/contract.ts +51 -0
  569. package/src/abi/index.ts +6 -0
  570. package/src/abi/interface.ts +35 -0
  571. package/src/abi/method.ts +186 -0
  572. package/src/abi/reference.ts +24 -0
  573. package/src/abi/transaction.ts +61 -0
  574. package/src/account.ts +12 -0
  575. package/src/bid.ts +95 -0
  576. package/src/boxStorage.ts +42 -0
  577. package/src/client/algod.js +365 -0
  578. package/src/client/baseHTTPClient.ts +58 -0
  579. package/src/client/client.ts +306 -0
  580. package/src/client/kmd.ts +423 -0
  581. package/src/client/urlTokenBaseHTTPClient.ts +217 -0
  582. package/src/client/v2/algod/accountApplicationInformation.ts +20 -0
  583. package/src/client/v2/algod/accountAssetInformation.ts +20 -0
  584. package/src/client/v2/algod/accountInformation.ts +37 -0
  585. package/src/client/v2/algod/algod.ts +561 -0
  586. package/src/client/v2/algod/block.ts +30 -0
  587. package/src/client/v2/algod/compile.ts +50 -0
  588. package/src/client/v2/algod/dryrun.ts +33 -0
  589. package/src/client/v2/algod/genesis.ts +8 -0
  590. package/src/client/v2/algod/getApplicationBoxByName.ts +49 -0
  591. package/src/client/v2/algod/getApplicationBoxes.ts +61 -0
  592. package/src/client/v2/algod/getApplicationByID.ts +14 -0
  593. package/src/client/v2/algod/getAssetByID.ts +14 -0
  594. package/src/client/v2/algod/getBlockHash.ts +18 -0
  595. package/src/client/v2/algod/getTransactionProof.ts +43 -0
  596. package/src/client/v2/algod/healthCheck.ts +19 -0
  597. package/src/client/v2/algod/lightBlockHeaderProof.ts +15 -0
  598. package/src/client/v2/algod/models/types.ts +3662 -0
  599. package/src/client/v2/algod/pendingTransactionInformation.ts +32 -0
  600. package/src/client/v2/algod/pendingTransactions.ts +32 -0
  601. package/src/client/v2/algod/pendingTransactionsByAddress.ts +32 -0
  602. package/src/client/v2/algod/sendRawTransaction.ts +59 -0
  603. package/src/client/v2/algod/stateproof.ts +15 -0
  604. package/src/client/v2/algod/status.ts +8 -0
  605. package/src/client/v2/algod/statusAfterBlock.ts +15 -0
  606. package/src/client/v2/algod/suggestedParams.ts +24 -0
  607. package/src/client/v2/algod/supply.ts +8 -0
  608. package/src/client/v2/algod/versions.ts +11 -0
  609. package/src/client/v2/basemodel.ts +79 -0
  610. package/src/client/v2/indexer/indexer.ts +432 -0
  611. package/src/client/v2/indexer/lookupAccountAppLocalStates.ts +140 -0
  612. package/src/client/v2/indexer/lookupAccountAssets.ts +141 -0
  613. package/src/client/v2/indexer/lookupAccountByID.ts +109 -0
  614. package/src/client/v2/indexer/lookupAccountCreatedApplications.ts +141 -0
  615. package/src/client/v2/indexer/lookupAccountCreatedAssets.ts +142 -0
  616. package/src/client/v2/indexer/lookupAccountTransactions.ts +393 -0
  617. package/src/client/v2/indexer/lookupApplicationBoxByIDandName.ts +50 -0
  618. package/src/client/v2/indexer/lookupApplicationLogs.ts +156 -0
  619. package/src/client/v2/indexer/lookupApplications.ts +59 -0
  620. package/src/client/v2/indexer/lookupAssetBalances.ts +146 -0
  621. package/src/client/v2/indexer/lookupAssetByID.ts +58 -0
  622. package/src/client/v2/indexer/lookupAssetTransactions.ts +406 -0
  623. package/src/client/v2/indexer/lookupBlock.ts +39 -0
  624. package/src/client/v2/indexer/lookupTransactionByID.ts +30 -0
  625. package/src/client/v2/indexer/makeHealthCheck.ts +23 -0
  626. package/src/client/v2/indexer/models/types.ts +5667 -0
  627. package/src/client/v2/indexer/searchAccounts.ts +268 -0
  628. package/src/client/v2/indexer/searchForApplicationBoxes.ts +101 -0
  629. package/src/client/v2/indexer/searchForApplications.ts +134 -0
  630. package/src/client/v2/indexer/searchForAssets.ts +175 -0
  631. package/src/client/v2/indexer/searchForTransactions.ts +435 -0
  632. package/src/client/v2/jsonrequest.ts +103 -0
  633. package/src/client/v2/serviceClient.ts +86 -0
  634. package/src/composer.ts +688 -0
  635. package/src/convert.ts +25 -0
  636. package/src/dryrun.ts +468 -0
  637. package/src/encoding/address.ts +191 -0
  638. package/src/encoding/bigint.ts +33 -0
  639. package/src/encoding/encoding.ts +56 -0
  640. package/src/encoding/uint64.ts +84 -0
  641. package/src/group.ts +97 -0
  642. package/src/index.ts +4 -0
  643. package/src/logic/langspec.json +2014 -0
  644. package/src/logic/logic.ts +316 -0
  645. package/src/logic/sourcemap.ts +67 -0
  646. package/src/logicTemplates/dynamicfee.js +219 -0
  647. package/src/logicTemplates/htlc.js +165 -0
  648. package/src/logicTemplates/index.js +20 -0
  649. package/src/logicTemplates/limitorder.js +227 -0
  650. package/src/logicTemplates/periodicpayment.js +208 -0
  651. package/src/logicTemplates/split.js +208 -0
  652. package/src/logicTemplates/templates.js +78 -0
  653. package/src/logicsig.ts +523 -0
  654. package/src/main.ts +185 -0
  655. package/src/makeTxn.ts +1871 -0
  656. package/src/mnemonic/mnemonic.ts +181 -0
  657. package/src/mnemonic/wordlists/english.ts +2052 -0
  658. package/src/multisig.ts +495 -0
  659. package/src/nacl/naclWrappers.ts +49 -0
  660. package/src/signer.ts +105 -0
  661. package/src/transaction.ts +1363 -0
  662. package/src/types/account.ts +16 -0
  663. package/src/types/address.ts +7 -0
  664. package/src/types/blockHeader.ts +81 -0
  665. package/src/types/index.ts +3 -0
  666. package/src/types/intDecoding.ts +29 -0
  667. package/src/types/multisig.ts +22 -0
  668. package/src/types/transactions/application.ts +111 -0
  669. package/src/types/transactions/asset.ts +108 -0
  670. package/src/types/transactions/base.ts +428 -0
  671. package/src/types/transactions/builder.ts +69 -0
  672. package/src/types/transactions/encoded.ts +423 -0
  673. package/src/types/transactions/index.ts +72 -0
  674. package/src/types/transactions/keyreg.ts +23 -0
  675. package/src/types/transactions/payment.ts +14 -0
  676. package/src/types/transactions/stateproof.ts +17 -0
  677. package/src/types/utils.ts +63 -0
  678. package/src/utils/utils.ts +121 -0
  679. package/src/wait.ts +58 -0
  680. package/dist/cjs/src/abi/abi_type.js +0 -693
  681. package/dist/cjs/src/abi/abi_type.js.map +0 -1
  682. package/dist/cjs/src/abi/contract.js.map +0 -1
  683. package/dist/cjs/src/abi/index.js.map +0 -1
  684. package/dist/cjs/src/abi/interface.js.map +0 -1
  685. package/dist/cjs/src/abi/method.js.map +0 -1
  686. package/dist/cjs/src/abi/reference.js.map +0 -1
  687. package/dist/cjs/src/abi/transaction.js.map +0 -1
  688. package/dist/cjs/src/account.js.map +0 -1
  689. package/dist/cjs/src/bid.js.map +0 -1
  690. package/dist/cjs/src/boxStorage.js.map +0 -1
  691. package/dist/cjs/src/client/algod.js.map +0 -1
  692. package/dist/cjs/src/client/baseHTTPClient.js.map +0 -1
  693. package/dist/cjs/src/client/client.js.map +0 -1
  694. package/dist/cjs/src/client/kmd.js.map +0 -1
  695. package/dist/cjs/src/client/urlTokenBaseHTTPClient.js.map +0 -1
  696. package/dist/cjs/src/client/v2/algod/accountApplicationInformation.js.map +0 -1
  697. package/dist/cjs/src/client/v2/algod/accountAssetInformation.js.map +0 -1
  698. package/dist/cjs/src/client/v2/algod/accountInformation.js.map +0 -1
  699. package/dist/cjs/src/client/v2/algod/algod.js.map +0 -1
  700. package/dist/cjs/src/client/v2/algod/block.js.map +0 -1
  701. package/dist/cjs/src/client/v2/algod/compile.js.map +0 -1
  702. package/dist/cjs/src/client/v2/algod/dryrun.js.map +0 -1
  703. package/dist/cjs/src/client/v2/algod/genesis.js.map +0 -1
  704. package/dist/cjs/src/client/v2/algod/getApplicationBoxByName.js.map +0 -1
  705. package/dist/cjs/src/client/v2/algod/getApplicationBoxes.js.map +0 -1
  706. package/dist/cjs/src/client/v2/algod/getApplicationByID.js.map +0 -1
  707. package/dist/cjs/src/client/v2/algod/getAssetByID.js.map +0 -1
  708. package/dist/cjs/src/client/v2/algod/getBlockHash.js.map +0 -1
  709. package/dist/cjs/src/client/v2/algod/getTransactionProof.js.map +0 -1
  710. package/dist/cjs/src/client/v2/algod/healthCheck.js.map +0 -1
  711. package/dist/cjs/src/client/v2/algod/lightBlockHeaderProof.js.map +0 -1
  712. package/dist/cjs/src/client/v2/algod/models/types.js +0 -2033
  713. package/dist/cjs/src/client/v2/algod/models/types.js.map +0 -1
  714. package/dist/cjs/src/client/v2/algod/pendingTransactionInformation.js.map +0 -1
  715. package/dist/cjs/src/client/v2/algod/pendingTransactions.js.map +0 -1
  716. package/dist/cjs/src/client/v2/algod/pendingTransactionsByAddress.js.map +0 -1
  717. package/dist/cjs/src/client/v2/algod/sendRawTransaction.js.map +0 -1
  718. package/dist/cjs/src/client/v2/algod/stateproof.js.map +0 -1
  719. package/dist/cjs/src/client/v2/algod/status.js.map +0 -1
  720. package/dist/cjs/src/client/v2/algod/statusAfterBlock.js.map +0 -1
  721. package/dist/cjs/src/client/v2/algod/suggestedParams.js.map +0 -1
  722. package/dist/cjs/src/client/v2/algod/supply.js.map +0 -1
  723. package/dist/cjs/src/client/v2/algod/versions.js.map +0 -1
  724. package/dist/cjs/src/client/v2/basemodel.js.map +0 -1
  725. package/dist/cjs/src/client/v2/indexer/indexer.js.map +0 -1
  726. package/dist/cjs/src/client/v2/indexer/lookupAccountAppLocalStates.js.map +0 -1
  727. package/dist/cjs/src/client/v2/indexer/lookupAccountAssets.js.map +0 -1
  728. package/dist/cjs/src/client/v2/indexer/lookupAccountByID.js.map +0 -1
  729. package/dist/cjs/src/client/v2/indexer/lookupAccountCreatedApplications.js.map +0 -1
  730. package/dist/cjs/src/client/v2/indexer/lookupAccountCreatedAssets.js.map +0 -1
  731. package/dist/cjs/src/client/v2/indexer/lookupAccountTransactions.js.map +0 -1
  732. package/dist/cjs/src/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +0 -1
  733. package/dist/cjs/src/client/v2/indexer/lookupApplicationLogs.js.map +0 -1
  734. package/dist/cjs/src/client/v2/indexer/lookupApplications.js.map +0 -1
  735. package/dist/cjs/src/client/v2/indexer/lookupAssetBalances.js.map +0 -1
  736. package/dist/cjs/src/client/v2/indexer/lookupAssetByID.js.map +0 -1
  737. package/dist/cjs/src/client/v2/indexer/lookupAssetTransactions.js.map +0 -1
  738. package/dist/cjs/src/client/v2/indexer/lookupBlock.js.map +0 -1
  739. package/dist/cjs/src/client/v2/indexer/lookupTransactionByID.js.map +0 -1
  740. package/dist/cjs/src/client/v2/indexer/makeHealthCheck.js.map +0 -1
  741. package/dist/cjs/src/client/v2/indexer/models/types.js.map +0 -1
  742. package/dist/cjs/src/client/v2/indexer/searchAccounts.js.map +0 -1
  743. package/dist/cjs/src/client/v2/indexer/searchForApplicationBoxes.js.map +0 -1
  744. package/dist/cjs/src/client/v2/indexer/searchForApplications.js.map +0 -1
  745. package/dist/cjs/src/client/v2/indexer/searchForAssets.js.map +0 -1
  746. package/dist/cjs/src/client/v2/indexer/searchForTransactions.js.map +0 -1
  747. package/dist/cjs/src/client/v2/jsonrequest.js.map +0 -1
  748. package/dist/cjs/src/client/v2/serviceClient.js.map +0 -1
  749. package/dist/cjs/src/composer.js.map +0 -1
  750. package/dist/cjs/src/convert.js.map +0 -1
  751. package/dist/cjs/src/dryrun.js.map +0 -1
  752. package/dist/cjs/src/encoding/address.js.map +0 -1
  753. package/dist/cjs/src/encoding/bigint.js.map +0 -1
  754. package/dist/cjs/src/encoding/encoding.js.map +0 -1
  755. package/dist/cjs/src/encoding/uint64.js.map +0 -1
  756. package/dist/cjs/src/group.js.map +0 -1
  757. package/dist/cjs/src/logic/logic.js.map +0 -1
  758. package/dist/cjs/src/logic/sourcemap.js.map +0 -1
  759. package/dist/cjs/src/logicTemplates/dynamicfee.js.map +0 -1
  760. package/dist/cjs/src/logicTemplates/htlc.js.map +0 -1
  761. package/dist/cjs/src/logicTemplates/index.js.map +0 -1
  762. package/dist/cjs/src/logicTemplates/limitorder.js.map +0 -1
  763. package/dist/cjs/src/logicTemplates/periodicpayment.js.map +0 -1
  764. package/dist/cjs/src/logicTemplates/split.js.map +0 -1
  765. package/dist/cjs/src/logicTemplates/templates.js.map +0 -1
  766. package/dist/cjs/src/logicsig.js.map +0 -1
  767. package/dist/cjs/src/main.js.map +0 -1
  768. package/dist/cjs/src/makeTxn.js.map +0 -1
  769. package/dist/cjs/src/mnemonic/mnemonic.js.map +0 -1
  770. package/dist/cjs/src/mnemonic/wordlists/english.js.map +0 -1
  771. package/dist/cjs/src/multisig.js +0 -398
  772. package/dist/cjs/src/multisig.js.map +0 -1
  773. package/dist/cjs/src/nacl/naclWrappers.js.map +0 -1
  774. package/dist/cjs/src/signer.js.map +0 -1
  775. package/dist/cjs/src/transaction.js.map +0 -1
  776. package/dist/cjs/src/types/account.js.map +0 -1
  777. package/dist/cjs/src/types/address.js.map +0 -1
  778. package/dist/cjs/src/types/blockHeader.js.map +0 -1
  779. package/dist/cjs/src/types/index.js.map +0 -1
  780. package/dist/cjs/src/types/intDecoding.js.map +0 -1
  781. package/dist/cjs/src/types/multisig.js.map +0 -1
  782. package/dist/cjs/src/types/transactions/application.js.map +0 -1
  783. package/dist/cjs/src/types/transactions/asset.js.map +0 -1
  784. package/dist/cjs/src/types/transactions/base.js.map +0 -1
  785. package/dist/cjs/src/types/transactions/builder.js.map +0 -1
  786. package/dist/cjs/src/types/transactions/encoded.js.map +0 -1
  787. package/dist/cjs/src/types/transactions/index.js.map +0 -1
  788. package/dist/cjs/src/types/transactions/keyreg.js.map +0 -1
  789. package/dist/cjs/src/types/transactions/payment.js.map +0 -1
  790. package/dist/cjs/src/types/transactions/stateproof.js.map +0 -1
  791. package/dist/cjs/src/types/utils.js.map +0 -1
  792. package/dist/cjs/src/utils/utils.js.map +0 -1
  793. package/dist/cjs/src/wait.js.map +0 -1
  794. package/dist/esm/src/abi/abi_type.js +0 -680
  795. package/dist/esm/src/abi/abi_type.js.map +0 -1
  796. package/dist/esm/src/abi/contract.js.map +0 -1
  797. package/dist/esm/src/abi/index.js.map +0 -1
  798. package/dist/esm/src/abi/interface.js.map +0 -1
  799. package/dist/esm/src/abi/method.js.map +0 -1
  800. package/dist/esm/src/abi/reference.js.map +0 -1
  801. package/dist/esm/src/abi/transaction.js.map +0 -1
  802. package/dist/esm/src/account.js.map +0 -1
  803. package/dist/esm/src/bid.js.map +0 -1
  804. package/dist/esm/src/boxStorage.js.map +0 -1
  805. package/dist/esm/src/client/algod.js.map +0 -1
  806. package/dist/esm/src/client/baseHTTPClient.js.map +0 -1
  807. package/dist/esm/src/client/client.js.map +0 -1
  808. package/dist/esm/src/client/kmd.js.map +0 -1
  809. package/dist/esm/src/client/urlTokenBaseHTTPClient.js.map +0 -1
  810. package/dist/esm/src/client/v2/algod/accountApplicationInformation.js.map +0 -1
  811. package/dist/esm/src/client/v2/algod/accountAssetInformation.js.map +0 -1
  812. package/dist/esm/src/client/v2/algod/accountInformation.js.map +0 -1
  813. package/dist/esm/src/client/v2/algod/algod.js.map +0 -1
  814. package/dist/esm/src/client/v2/algod/block.js.map +0 -1
  815. package/dist/esm/src/client/v2/algod/compile.js.map +0 -1
  816. package/dist/esm/src/client/v2/algod/dryrun.js.map +0 -1
  817. package/dist/esm/src/client/v2/algod/genesis.js.map +0 -1
  818. package/dist/esm/src/client/v2/algod/getApplicationBoxByName.js.map +0 -1
  819. package/dist/esm/src/client/v2/algod/getApplicationBoxes.js.map +0 -1
  820. package/dist/esm/src/client/v2/algod/getApplicationByID.js.map +0 -1
  821. package/dist/esm/src/client/v2/algod/getAssetByID.js.map +0 -1
  822. package/dist/esm/src/client/v2/algod/getBlockHash.js.map +0 -1
  823. package/dist/esm/src/client/v2/algod/getTransactionProof.js.map +0 -1
  824. package/dist/esm/src/client/v2/algod/healthCheck.js.map +0 -1
  825. package/dist/esm/src/client/v2/algod/lightBlockHeaderProof.js.map +0 -1
  826. package/dist/esm/src/client/v2/algod/models/types.js +0 -1984
  827. package/dist/esm/src/client/v2/algod/models/types.js.map +0 -1
  828. package/dist/esm/src/client/v2/algod/pendingTransactionInformation.js.map +0 -1
  829. package/dist/esm/src/client/v2/algod/pendingTransactions.js.map +0 -1
  830. package/dist/esm/src/client/v2/algod/pendingTransactionsByAddress.js.map +0 -1
  831. package/dist/esm/src/client/v2/algod/sendRawTransaction.js.map +0 -1
  832. package/dist/esm/src/client/v2/algod/stateproof.js.map +0 -1
  833. package/dist/esm/src/client/v2/algod/status.js.map +0 -1
  834. package/dist/esm/src/client/v2/algod/statusAfterBlock.js.map +0 -1
  835. package/dist/esm/src/client/v2/algod/suggestedParams.js.map +0 -1
  836. package/dist/esm/src/client/v2/algod/supply.js.map +0 -1
  837. package/dist/esm/src/client/v2/algod/versions.js.map +0 -1
  838. package/dist/esm/src/client/v2/basemodel.js.map +0 -1
  839. package/dist/esm/src/client/v2/indexer/indexer.js.map +0 -1
  840. package/dist/esm/src/client/v2/indexer/lookupAccountAppLocalStates.js.map +0 -1
  841. package/dist/esm/src/client/v2/indexer/lookupAccountAssets.js.map +0 -1
  842. package/dist/esm/src/client/v2/indexer/lookupAccountByID.js.map +0 -1
  843. package/dist/esm/src/client/v2/indexer/lookupAccountCreatedApplications.js.map +0 -1
  844. package/dist/esm/src/client/v2/indexer/lookupAccountCreatedAssets.js.map +0 -1
  845. package/dist/esm/src/client/v2/indexer/lookupAccountTransactions.js.map +0 -1
  846. package/dist/esm/src/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +0 -1
  847. package/dist/esm/src/client/v2/indexer/lookupApplicationLogs.js.map +0 -1
  848. package/dist/esm/src/client/v2/indexer/lookupApplications.js.map +0 -1
  849. package/dist/esm/src/client/v2/indexer/lookupAssetBalances.js.map +0 -1
  850. package/dist/esm/src/client/v2/indexer/lookupAssetByID.js.map +0 -1
  851. package/dist/esm/src/client/v2/indexer/lookupAssetTransactions.js.map +0 -1
  852. package/dist/esm/src/client/v2/indexer/lookupBlock.js.map +0 -1
  853. package/dist/esm/src/client/v2/indexer/lookupTransactionByID.js.map +0 -1
  854. package/dist/esm/src/client/v2/indexer/makeHealthCheck.js.map +0 -1
  855. package/dist/esm/src/client/v2/indexer/models/types.js.map +0 -1
  856. package/dist/esm/src/client/v2/indexer/searchAccounts.js.map +0 -1
  857. package/dist/esm/src/client/v2/indexer/searchForApplicationBoxes.js.map +0 -1
  858. package/dist/esm/src/client/v2/indexer/searchForApplications.js.map +0 -1
  859. package/dist/esm/src/client/v2/indexer/searchForAssets.js.map +0 -1
  860. package/dist/esm/src/client/v2/indexer/searchForTransactions.js.map +0 -1
  861. package/dist/esm/src/client/v2/jsonrequest.js.map +0 -1
  862. package/dist/esm/src/client/v2/serviceClient.js.map +0 -1
  863. package/dist/esm/src/composer.js.map +0 -1
  864. package/dist/esm/src/convert.js.map +0 -1
  865. package/dist/esm/src/dryrun.js.map +0 -1
  866. package/dist/esm/src/encoding/address.js.map +0 -1
  867. package/dist/esm/src/encoding/bigint.js.map +0 -1
  868. package/dist/esm/src/encoding/encoding.js.map +0 -1
  869. package/dist/esm/src/encoding/uint64.js.map +0 -1
  870. package/dist/esm/src/group.js.map +0 -1
  871. package/dist/esm/src/logic/logic.js.map +0 -1
  872. package/dist/esm/src/logic/sourcemap.js.map +0 -1
  873. package/dist/esm/src/logicTemplates/dynamicfee.js.map +0 -1
  874. package/dist/esm/src/logicTemplates/htlc.js.map +0 -1
  875. package/dist/esm/src/logicTemplates/index.js.map +0 -1
  876. package/dist/esm/src/logicTemplates/limitorder.js.map +0 -1
  877. package/dist/esm/src/logicTemplates/periodicpayment.js.map +0 -1
  878. package/dist/esm/src/logicTemplates/split.js.map +0 -1
  879. package/dist/esm/src/logicTemplates/templates.js.map +0 -1
  880. package/dist/esm/src/logicsig.js.map +0 -1
  881. package/dist/esm/src/main.js.map +0 -1
  882. package/dist/esm/src/makeTxn.js.map +0 -1
  883. package/dist/esm/src/mnemonic/mnemonic.js.map +0 -1
  884. package/dist/esm/src/mnemonic/wordlists/english.js.map +0 -1
  885. package/dist/esm/src/multisig.js +0 -364
  886. package/dist/esm/src/multisig.js.map +0 -1
  887. package/dist/esm/src/nacl/naclWrappers.js.map +0 -1
  888. package/dist/esm/src/signer.js.map +0 -1
  889. package/dist/esm/src/transaction.js.map +0 -1
  890. package/dist/esm/src/types/account.js.map +0 -1
  891. package/dist/esm/src/types/address.js.map +0 -1
  892. package/dist/esm/src/types/blockHeader.js.map +0 -1
  893. package/dist/esm/src/types/index.js.map +0 -1
  894. package/dist/esm/src/types/intDecoding.js.map +0 -1
  895. package/dist/esm/src/types/multisig.js.map +0 -1
  896. package/dist/esm/src/types/transactions/application.js.map +0 -1
  897. package/dist/esm/src/types/transactions/asset.js.map +0 -1
  898. package/dist/esm/src/types/transactions/base.js.map +0 -1
  899. package/dist/esm/src/types/transactions/builder.js.map +0 -1
  900. package/dist/esm/src/types/transactions/encoded.js.map +0 -1
  901. package/dist/esm/src/types/transactions/index.js.map +0 -1
  902. package/dist/esm/src/types/transactions/keyreg.js.map +0 -1
  903. package/dist/esm/src/types/transactions/payment.js.map +0 -1
  904. package/dist/esm/src/types/transactions/stateproof.js.map +0 -1
  905. package/dist/esm/src/types/utils.js.map +0 -1
  906. package/dist/esm/src/utils/utils.js.map +0 -1
  907. package/dist/esm/src/wait.js.map +0 -1
  908. package/dist/types/src/client/v2/algod/models/types.d.ts +0 -1612
  909. package/dist/types/src/multisig.d.ts +0 -125
@@ -1,1612 +0,0 @@
1
- /**
2
- * NOTICE: This file was generated. Editing this file manually is not recommended.
3
- */
4
- import BaseModel from '../../basemodel';
5
- import { EncodedSignedTransaction } from '../../../../types/transactions/encoded';
6
- import BlockHeader from '../../../../types/blockHeader';
7
- /**
8
- * Account information at a given round.
9
- * Definition:
10
- * data/basics/userBalance.go : AccountData
11
- */
12
- export declare class Account extends BaseModel {
13
- /**
14
- * the account public key
15
- */
16
- address: string;
17
- /**
18
- * (algo) total number of MicroAlgos in the account
19
- */
20
- amount: number | bigint;
21
- /**
22
- * specifies the amount of MicroAlgos in the account, without the pending rewards.
23
- */
24
- amountWithoutPendingRewards: number | bigint;
25
- /**
26
- * MicroAlgo balance required by the account.
27
- * The requirement grows based on asset and application usage.
28
- */
29
- minBalance: number | bigint;
30
- /**
31
- * amount of MicroAlgos of pending rewards in this account.
32
- */
33
- pendingRewards: number | bigint;
34
- /**
35
- * (ern) total rewards of MicroAlgos the account has received, including pending
36
- * rewards.
37
- */
38
- rewards: number | bigint;
39
- /**
40
- * The round for which this information is relevant.
41
- */
42
- round: number | bigint;
43
- /**
44
- * (onl) delegation status of the account's MicroAlgos
45
- * * Offline - indicates that the associated account is delegated.
46
- * * Online - indicates that the associated account used as part of the delegation
47
- * pool.
48
- * * NotParticipating - indicates that the associated account is neither a
49
- * delegator nor a delegate.
50
- */
51
- status: string;
52
- /**
53
- * The count of all applications that have been opted in, equivalent to the count
54
- * of application local data (AppLocalState objects) stored in this account.
55
- */
56
- totalAppsOptedIn: number | bigint;
57
- /**
58
- * The count of all assets that have been opted in, equivalent to the count of
59
- * AssetHolding objects held by this account.
60
- */
61
- totalAssetsOptedIn: number | bigint;
62
- /**
63
- * The count of all apps (AppParams objects) created by this account.
64
- */
65
- totalCreatedApps: number | bigint;
66
- /**
67
- * The count of all assets (AssetParams objects) created by this account.
68
- */
69
- totalCreatedAssets: number | bigint;
70
- /**
71
- * (appl) applications local data stored in this account.
72
- * Note the raw object uses `map[int] -> AppLocalState` for this type.
73
- */
74
- appsLocalState?: ApplicationLocalState[];
75
- /**
76
- * (teap) the sum of all extra application program pages for this account.
77
- */
78
- appsTotalExtraPages?: number | bigint;
79
- /**
80
- * (tsch) stores the sum of all of the local schemas and global schemas in this
81
- * account.
82
- * Note: the raw account uses `StateSchema` for this type.
83
- */
84
- appsTotalSchema?: ApplicationStateSchema;
85
- /**
86
- * (asset) assets held by this account.
87
- * Note the raw object uses `map[int] -> AssetHolding` for this type.
88
- */
89
- assets?: AssetHolding[];
90
- /**
91
- * (spend) the address against which signing should be checked. If empty, the
92
- * address of the current account is used. This field can be updated in any
93
- * transaction by setting the RekeyTo field.
94
- */
95
- authAddr?: string;
96
- /**
97
- * (appp) parameters of applications created by this account including app global
98
- * data.
99
- * Note: the raw account uses `map[int] -> AppParams` for this type.
100
- */
101
- createdApps?: Application[];
102
- /**
103
- * (apar) parameters of assets created by this account.
104
- * Note: the raw account uses `map[int] -> Asset` for this type.
105
- */
106
- createdAssets?: Asset[];
107
- /**
108
- * AccountParticipation describes the parameters used by this account in consensus
109
- * protocol.
110
- */
111
- participation?: AccountParticipation;
112
- /**
113
- * (ebase) used as part of the rewards computation. Only applicable to accounts
114
- * which are participating.
115
- */
116
- rewardBase?: number | bigint;
117
- /**
118
- * Indicates what type of signature is used by this account, must be one of:
119
- * * sig
120
- * * msig
121
- * * lsig
122
- */
123
- sigType?: string;
124
- /**
125
- * (tbxb) The total number of bytes used by this account's app's box keys and
126
- * values.
127
- */
128
- totalBoxBytes?: number | bigint;
129
- /**
130
- * (tbx) The number of existing boxes created by this account's app.
131
- */
132
- totalBoxes?: number | bigint;
133
- /**
134
- * Creates a new `Account` object.
135
- * @param address - the account public key
136
- * @param amount - (algo) total number of MicroAlgos in the account
137
- * @param amountWithoutPendingRewards - specifies the amount of MicroAlgos in the account, without the pending rewards.
138
- * @param minBalance - MicroAlgo balance required by the account.
139
- * The requirement grows based on asset and application usage.
140
- * @param pendingRewards - amount of MicroAlgos of pending rewards in this account.
141
- * @param rewards - (ern) total rewards of MicroAlgos the account has received, including pending
142
- * rewards.
143
- * @param round - The round for which this information is relevant.
144
- * @param status - (onl) delegation status of the account's MicroAlgos
145
- * * Offline - indicates that the associated account is delegated.
146
- * * Online - indicates that the associated account used as part of the delegation
147
- * pool.
148
- * * NotParticipating - indicates that the associated account is neither a
149
- * delegator nor a delegate.
150
- * @param totalAppsOptedIn - The count of all applications that have been opted in, equivalent to the count
151
- * of application local data (AppLocalState objects) stored in this account.
152
- * @param totalAssetsOptedIn - The count of all assets that have been opted in, equivalent to the count of
153
- * AssetHolding objects held by this account.
154
- * @param totalCreatedApps - The count of all apps (AppParams objects) created by this account.
155
- * @param totalCreatedAssets - The count of all assets (AssetParams objects) created by this account.
156
- * @param appsLocalState - (appl) applications local data stored in this account.
157
- * Note the raw object uses `map[int] -> AppLocalState` for this type.
158
- * @param appsTotalExtraPages - (teap) the sum of all extra application program pages for this account.
159
- * @param appsTotalSchema - (tsch) stores the sum of all of the local schemas and global schemas in this
160
- * account.
161
- * Note: the raw account uses `StateSchema` for this type.
162
- * @param assets - (asset) assets held by this account.
163
- * Note the raw object uses `map[int] -> AssetHolding` for this type.
164
- * @param authAddr - (spend) the address against which signing should be checked. If empty, the
165
- * address of the current account is used. This field can be updated in any
166
- * transaction by setting the RekeyTo field.
167
- * @param createdApps - (appp) parameters of applications created by this account including app global
168
- * data.
169
- * Note: the raw account uses `map[int] -> AppParams` for this type.
170
- * @param createdAssets - (apar) parameters of assets created by this account.
171
- * Note: the raw account uses `map[int] -> Asset` for this type.
172
- * @param participation - AccountParticipation describes the parameters used by this account in consensus
173
- * protocol.
174
- * @param rewardBase - (ebase) used as part of the rewards computation. Only applicable to accounts
175
- * which are participating.
176
- * @param sigType - Indicates what type of signature is used by this account, must be one of:
177
- * * sig
178
- * * msig
179
- * * lsig
180
- * @param totalBoxBytes - (tbxb) The total number of bytes used by this account's app's box keys and
181
- * values.
182
- * @param totalBoxes - (tbx) The number of existing boxes created by this account's app.
183
- */
184
- constructor({ address, amount, amountWithoutPendingRewards, minBalance, pendingRewards, rewards, round, status, totalAppsOptedIn, totalAssetsOptedIn, totalCreatedApps, totalCreatedAssets, appsLocalState, appsTotalExtraPages, appsTotalSchema, assets, authAddr, createdApps, createdAssets, participation, rewardBase, sigType, totalBoxBytes, totalBoxes, }: {
185
- address: string;
186
- amount: number | bigint;
187
- amountWithoutPendingRewards: number | bigint;
188
- minBalance: number | bigint;
189
- pendingRewards: number | bigint;
190
- rewards: number | bigint;
191
- round: number | bigint;
192
- status: string;
193
- totalAppsOptedIn: number | bigint;
194
- totalAssetsOptedIn: number | bigint;
195
- totalCreatedApps: number | bigint;
196
- totalCreatedAssets: number | bigint;
197
- appsLocalState?: ApplicationLocalState[];
198
- appsTotalExtraPages?: number | bigint;
199
- appsTotalSchema?: ApplicationStateSchema;
200
- assets?: AssetHolding[];
201
- authAddr?: string;
202
- createdApps?: Application[];
203
- createdAssets?: Asset[];
204
- participation?: AccountParticipation;
205
- rewardBase?: number | bigint;
206
- sigType?: string;
207
- totalBoxBytes?: number | bigint;
208
- totalBoxes?: number | bigint;
209
- });
210
- static from_obj_for_encoding(data: Record<string, any>): Account;
211
- }
212
- /**
213
- * AccountApplicationResponse describes the account's application local state and
214
- * global state (AppLocalState and AppParams, if either exists) for a specific
215
- * application ID. Global state will only be returned if the provided address is
216
- * the application's creator.
217
- */
218
- export declare class AccountApplicationResponse extends BaseModel {
219
- /**
220
- * The round for which this information is relevant.
221
- */
222
- round: number | bigint;
223
- /**
224
- * (appl) the application local data stored in this account.
225
- * The raw account uses `AppLocalState` for this type.
226
- */
227
- appLocalState?: ApplicationLocalState;
228
- /**
229
- * (appp) parameters of the application created by this account including app
230
- * global data.
231
- * The raw account uses `AppParams` for this type.
232
- */
233
- createdApp?: ApplicationParams;
234
- /**
235
- * Creates a new `AccountApplicationResponse` object.
236
- * @param round - The round for which this information is relevant.
237
- * @param appLocalState - (appl) the application local data stored in this account.
238
- * The raw account uses `AppLocalState` for this type.
239
- * @param createdApp - (appp) parameters of the application created by this account including app
240
- * global data.
241
- * The raw account uses `AppParams` for this type.
242
- */
243
- constructor(round: number | bigint, appLocalState?: ApplicationLocalState, createdApp?: ApplicationParams);
244
- static from_obj_for_encoding(data: Record<string, any>): AccountApplicationResponse;
245
- }
246
- /**
247
- * AccountAssetResponse describes the account's asset holding and asset parameters
248
- * (if either exist) for a specific asset ID. Asset parameters will only be
249
- * returned if the provided address is the asset's creator.
250
- */
251
- export declare class AccountAssetResponse extends BaseModel {
252
- /**
253
- * The round for which this information is relevant.
254
- */
255
- round: number | bigint;
256
- /**
257
- * (asset) Details about the asset held by this account.
258
- * The raw account uses `AssetHolding` for this type.
259
- */
260
- assetHolding?: AssetHolding;
261
- /**
262
- * (apar) parameters of the asset created by this account.
263
- * The raw account uses `AssetParams` for this type.
264
- */
265
- createdAsset?: AssetParams;
266
- /**
267
- * Creates a new `AccountAssetResponse` object.
268
- * @param round - The round for which this information is relevant.
269
- * @param assetHolding - (asset) Details about the asset held by this account.
270
- * The raw account uses `AssetHolding` for this type.
271
- * @param createdAsset - (apar) parameters of the asset created by this account.
272
- * The raw account uses `AssetParams` for this type.
273
- */
274
- constructor(round: number | bigint, assetHolding?: AssetHolding, createdAsset?: AssetParams);
275
- static from_obj_for_encoding(data: Record<string, any>): AccountAssetResponse;
276
- }
277
- /**
278
- * AccountParticipation describes the parameters used by this account in consensus
279
- * protocol.
280
- */
281
- export declare class AccountParticipation extends BaseModel {
282
- /**
283
- * (sel) Selection public key (if any) currently registered for this round.
284
- */
285
- selectionParticipationKey: Uint8Array;
286
- /**
287
- * (voteFst) First round for which this participation is valid.
288
- */
289
- voteFirstValid: number | bigint;
290
- /**
291
- * (voteKD) Number of subkeys in each batch of participation keys.
292
- */
293
- voteKeyDilution: number | bigint;
294
- /**
295
- * (voteLst) Last round for which this participation is valid.
296
- */
297
- voteLastValid: number | bigint;
298
- /**
299
- * (vote) root participation public key (if any) currently registered for this
300
- * round.
301
- */
302
- voteParticipationKey: Uint8Array;
303
- /**
304
- * (stprf) Root of the state proof key (if any)
305
- */
306
- stateProofKey?: Uint8Array;
307
- /**
308
- * Creates a new `AccountParticipation` object.
309
- * @param selectionParticipationKey - (sel) Selection public key (if any) currently registered for this round.
310
- * @param voteFirstValid - (voteFst) First round for which this participation is valid.
311
- * @param voteKeyDilution - (voteKD) Number of subkeys in each batch of participation keys.
312
- * @param voteLastValid - (voteLst) Last round for which this participation is valid.
313
- * @param voteParticipationKey - (vote) root participation public key (if any) currently registered for this
314
- * round.
315
- * @param stateProofKey - (stprf) Root of the state proof key (if any)
316
- */
317
- constructor({ selectionParticipationKey, voteFirstValid, voteKeyDilution, voteLastValid, voteParticipationKey, stateProofKey, }: {
318
- selectionParticipationKey: string | Uint8Array;
319
- voteFirstValid: number | bigint;
320
- voteKeyDilution: number | bigint;
321
- voteLastValid: number | bigint;
322
- voteParticipationKey: string | Uint8Array;
323
- stateProofKey?: string | Uint8Array;
324
- });
325
- static from_obj_for_encoding(data: Record<string, any>): AccountParticipation;
326
- }
327
- /**
328
- * Application state delta.
329
- */
330
- export declare class AccountStateDelta extends BaseModel {
331
- address: string;
332
- /**
333
- * Application state delta.
334
- */
335
- delta: EvalDeltaKeyValue[];
336
- /**
337
- * Creates a new `AccountStateDelta` object.
338
- * @param address -
339
- * @param delta - Application state delta.
340
- */
341
- constructor(address: string, delta: EvalDeltaKeyValue[]);
342
- static from_obj_for_encoding(data: Record<string, any>): AccountStateDelta;
343
- }
344
- /**
345
- * Application index and its parameters
346
- */
347
- export declare class Application extends BaseModel {
348
- /**
349
- * (appidx) application index.
350
- */
351
- id: number | bigint;
352
- /**
353
- * (appparams) application parameters.
354
- */
355
- params: ApplicationParams;
356
- /**
357
- * Creates a new `Application` object.
358
- * @param id - (appidx) application index.
359
- * @param params - (appparams) application parameters.
360
- */
361
- constructor(id: number | bigint, params: ApplicationParams);
362
- static from_obj_for_encoding(data: Record<string, any>): Application;
363
- }
364
- /**
365
- * Stores local state associated with an application.
366
- */
367
- export declare class ApplicationLocalState extends BaseModel {
368
- /**
369
- * The application which this local state is for.
370
- */
371
- id: number | bigint;
372
- /**
373
- * (hsch) schema.
374
- */
375
- schema: ApplicationStateSchema;
376
- /**
377
- * (tkv) storage.
378
- */
379
- keyValue?: TealKeyValue[];
380
- /**
381
- * Creates a new `ApplicationLocalState` object.
382
- * @param id - The application which this local state is for.
383
- * @param schema - (hsch) schema.
384
- * @param keyValue - (tkv) storage.
385
- */
386
- constructor(id: number | bigint, schema: ApplicationStateSchema, keyValue?: TealKeyValue[]);
387
- static from_obj_for_encoding(data: Record<string, any>): ApplicationLocalState;
388
- }
389
- /**
390
- * Stores the global information associated with an application.
391
- */
392
- export declare class ApplicationParams extends BaseModel {
393
- /**
394
- * (approv) approval program.
395
- */
396
- approvalProgram: Uint8Array;
397
- /**
398
- * (clearp) approval program.
399
- */
400
- clearStateProgram: Uint8Array;
401
- /**
402
- * The address that created this application. This is the address where the
403
- * parameters and global state for this application can be found.
404
- */
405
- creator: string;
406
- /**
407
- * (epp) the amount of extra program pages available to this app.
408
- */
409
- extraProgramPages?: number | bigint;
410
- /**
411
- * [\gs) global schema
412
- */
413
- globalState?: TealKeyValue[];
414
- /**
415
- * [\gsch) global schema
416
- */
417
- globalStateSchema?: ApplicationStateSchema;
418
- /**
419
- * [\lsch) local schema
420
- */
421
- localStateSchema?: ApplicationStateSchema;
422
- /**
423
- * Creates a new `ApplicationParams` object.
424
- * @param approvalProgram - (approv) approval program.
425
- * @param clearStateProgram - (clearp) approval program.
426
- * @param creator - The address that created this application. This is the address where the
427
- * parameters and global state for this application can be found.
428
- * @param extraProgramPages - (epp) the amount of extra program pages available to this app.
429
- * @param globalState - [\gs) global schema
430
- * @param globalStateSchema - [\gsch) global schema
431
- * @param localStateSchema - [\lsch) local schema
432
- */
433
- constructor({ approvalProgram, clearStateProgram, creator, extraProgramPages, globalState, globalStateSchema, localStateSchema, }: {
434
- approvalProgram: string | Uint8Array;
435
- clearStateProgram: string | Uint8Array;
436
- creator: string;
437
- extraProgramPages?: number | bigint;
438
- globalState?: TealKeyValue[];
439
- globalStateSchema?: ApplicationStateSchema;
440
- localStateSchema?: ApplicationStateSchema;
441
- });
442
- static from_obj_for_encoding(data: Record<string, any>): ApplicationParams;
443
- }
444
- /**
445
- * Specifies maximums on the number of each type that may be stored.
446
- */
447
- export declare class ApplicationStateSchema extends BaseModel {
448
- /**
449
- * (nui) num of uints.
450
- */
451
- numUint: number | bigint;
452
- /**
453
- * (nbs) num of byte slices.
454
- */
455
- numByteSlice: number | bigint;
456
- /**
457
- * Creates a new `ApplicationStateSchema` object.
458
- * @param numUint - (nui) num of uints.
459
- * @param numByteSlice - (nbs) num of byte slices.
460
- */
461
- constructor(numUint: number | bigint, numByteSlice: number | bigint);
462
- static from_obj_for_encoding(data: Record<string, any>): ApplicationStateSchema;
463
- }
464
- /**
465
- * Specifies both the unique identifier and the parameters for an asset
466
- */
467
- export declare class Asset extends BaseModel {
468
- /**
469
- * unique asset identifier
470
- */
471
- index: number | bigint;
472
- /**
473
- * AssetParams specifies the parameters for an asset.
474
- * (apar) when part of an AssetConfig transaction.
475
- * Definition:
476
- * data/transactions/asset.go : AssetParams
477
- */
478
- params: AssetParams;
479
- /**
480
- * Creates a new `Asset` object.
481
- * @param index - unique asset identifier
482
- * @param params - AssetParams specifies the parameters for an asset.
483
- * (apar) when part of an AssetConfig transaction.
484
- * Definition:
485
- * data/transactions/asset.go : AssetParams
486
- */
487
- constructor(index: number | bigint, params: AssetParams);
488
- static from_obj_for_encoding(data: Record<string, any>): Asset;
489
- }
490
- /**
491
- * Describes an asset held by an account.
492
- * Definition:
493
- * data/basics/userBalance.go : AssetHolding
494
- */
495
- export declare class AssetHolding extends BaseModel {
496
- /**
497
- * (a) number of units held.
498
- */
499
- amount: number | bigint;
500
- /**
501
- * Asset ID of the holding.
502
- */
503
- assetId: number | bigint;
504
- /**
505
- * (f) whether or not the holding is frozen.
506
- */
507
- isFrozen: boolean;
508
- /**
509
- * Creates a new `AssetHolding` object.
510
- * @param amount - (a) number of units held.
511
- * @param assetId - Asset ID of the holding.
512
- * @param isFrozen - (f) whether or not the holding is frozen.
513
- */
514
- constructor(amount: number | bigint, assetId: number | bigint, isFrozen: boolean);
515
- static from_obj_for_encoding(data: Record<string, any>): AssetHolding;
516
- }
517
- /**
518
- * AssetParams specifies the parameters for an asset.
519
- * (apar) when part of an AssetConfig transaction.
520
- * Definition:
521
- * data/transactions/asset.go : AssetParams
522
- */
523
- export declare class AssetParams extends BaseModel {
524
- /**
525
- * The address that created this asset. This is the address where the parameters
526
- * for this asset can be found, and also the address where unwanted asset units can
527
- * be sent in the worst case.
528
- */
529
- creator: string;
530
- /**
531
- * (dc) The number of digits to use after the decimal point when displaying this
532
- * asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in
533
- * tenths. If 2, the base unit of the asset is in hundredths, and so on. This value
534
- * must be between 0 and 19 (inclusive).
535
- */
536
- decimals: number | bigint;
537
- /**
538
- * (t) The total number of units of this asset.
539
- */
540
- total: number | bigint;
541
- /**
542
- * (c) Address of account used to clawback holdings of this asset. If empty,
543
- * clawback is not permitted.
544
- */
545
- clawback?: string;
546
- /**
547
- * (df) Whether holdings of this asset are frozen by default.
548
- */
549
- defaultFrozen?: boolean;
550
- /**
551
- * (f) Address of account used to freeze holdings of this asset. If empty, freezing
552
- * is not permitted.
553
- */
554
- freeze?: string;
555
- /**
556
- * (m) Address of account used to manage the keys of this asset and to destroy it.
557
- */
558
- manager?: string;
559
- /**
560
- * (am) A commitment to some unspecified asset metadata. The format of this
561
- * metadata is up to the application.
562
- */
563
- metadataHash?: Uint8Array;
564
- /**
565
- * (an) Name of this asset, as supplied by the creator. Included only when the
566
- * asset name is composed of printable utf-8 characters.
567
- */
568
- name?: string;
569
- /**
570
- * Base64 encoded name of this asset, as supplied by the creator.
571
- */
572
- nameB64?: Uint8Array;
573
- /**
574
- * (r) Address of account holding reserve (non-minted) units of this asset.
575
- */
576
- reserve?: string;
577
- /**
578
- * (un) Name of a unit of this asset, as supplied by the creator. Included only
579
- * when the name of a unit of this asset is composed of printable utf-8 characters.
580
- */
581
- unitName?: string;
582
- /**
583
- * Base64 encoded name of a unit of this asset, as supplied by the creator.
584
- */
585
- unitNameB64?: Uint8Array;
586
- /**
587
- * (au) URL where more information about the asset can be retrieved. Included only
588
- * when the URL is composed of printable utf-8 characters.
589
- */
590
- url?: string;
591
- /**
592
- * Base64 encoded URL where more information about the asset can be retrieved.
593
- */
594
- urlB64?: Uint8Array;
595
- /**
596
- * Creates a new `AssetParams` object.
597
- * @param creator - The address that created this asset. This is the address where the parameters
598
- * for this asset can be found, and also the address where unwanted asset units can
599
- * be sent in the worst case.
600
- * @param decimals - (dc) The number of digits to use after the decimal point when displaying this
601
- * asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in
602
- * tenths. If 2, the base unit of the asset is in hundredths, and so on. This value
603
- * must be between 0 and 19 (inclusive).
604
- * @param total - (t) The total number of units of this asset.
605
- * @param clawback - (c) Address of account used to clawback holdings of this asset. If empty,
606
- * clawback is not permitted.
607
- * @param defaultFrozen - (df) Whether holdings of this asset are frozen by default.
608
- * @param freeze - (f) Address of account used to freeze holdings of this asset. If empty, freezing
609
- * is not permitted.
610
- * @param manager - (m) Address of account used to manage the keys of this asset and to destroy it.
611
- * @param metadataHash - (am) A commitment to some unspecified asset metadata. The format of this
612
- * metadata is up to the application.
613
- * @param name - (an) Name of this asset, as supplied by the creator. Included only when the
614
- * asset name is composed of printable utf-8 characters.
615
- * @param nameB64 - Base64 encoded name of this asset, as supplied by the creator.
616
- * @param reserve - (r) Address of account holding reserve (non-minted) units of this asset.
617
- * @param unitName - (un) Name of a unit of this asset, as supplied by the creator. Included only
618
- * when the name of a unit of this asset is composed of printable utf-8 characters.
619
- * @param unitNameB64 - Base64 encoded name of a unit of this asset, as supplied by the creator.
620
- * @param url - (au) URL where more information about the asset can be retrieved. Included only
621
- * when the URL is composed of printable utf-8 characters.
622
- * @param urlB64 - Base64 encoded URL where more information about the asset can be retrieved.
623
- */
624
- constructor({ creator, decimals, total, clawback, defaultFrozen, freeze, manager, metadataHash, name, nameB64, reserve, unitName, unitNameB64, url, urlB64, }: {
625
- creator: string;
626
- decimals: number | bigint;
627
- total: number | bigint;
628
- clawback?: string;
629
- defaultFrozen?: boolean;
630
- freeze?: string;
631
- manager?: string;
632
- metadataHash?: string | Uint8Array;
633
- name?: string;
634
- nameB64?: string | Uint8Array;
635
- reserve?: string;
636
- unitName?: string;
637
- unitNameB64?: string | Uint8Array;
638
- url?: string;
639
- urlB64?: string | Uint8Array;
640
- });
641
- static from_obj_for_encoding(data: Record<string, any>): AssetParams;
642
- }
643
- /**
644
- * Hash of a block header.
645
- */
646
- export declare class BlockHashResponse extends BaseModel {
647
- /**
648
- * Block header hash.
649
- */
650
- blockhash: string;
651
- /**
652
- * Creates a new `BlockHashResponse` object.
653
- * @param blockhash - Block header hash.
654
- */
655
- constructor(blockhash: string);
656
- static from_obj_for_encoding(data: Record<string, any>): BlockHashResponse;
657
- }
658
- /**
659
- * Encoded block object.
660
- */
661
- export declare class BlockResponse extends BaseModel {
662
- /**
663
- * Block header data.
664
- */
665
- block: BlockHeader;
666
- /**
667
- * Optional certificate object. This is only included when the format is set to
668
- * message pack.
669
- */
670
- cert?: Record<string, any>;
671
- /**
672
- * Creates a new `BlockResponse` object.
673
- * @param block - Block header data.
674
- * @param cert - Optional certificate object. This is only included when the format is set to
675
- * message pack.
676
- */
677
- constructor(block: BlockHeader, cert?: Record<string, any>);
678
- static from_obj_for_encoding(data: Record<string, any>): BlockResponse;
679
- }
680
- /**
681
- * Box name and its content.
682
- */
683
- export declare class Box extends BaseModel {
684
- /**
685
- * (name) box name, base64 encoded
686
- */
687
- name: Uint8Array;
688
- /**
689
- * (value) box value, base64 encoded.
690
- */
691
- value: Uint8Array;
692
- /**
693
- * Creates a new `Box` object.
694
- * @param name - (name) box name, base64 encoded
695
- * @param value - (value) box value, base64 encoded.
696
- */
697
- constructor(name: string | Uint8Array, value: string | Uint8Array);
698
- static from_obj_for_encoding(data: Record<string, any>): Box;
699
- }
700
- /**
701
- * Box descriptor describes a Box.
702
- */
703
- export declare class BoxDescriptor extends BaseModel {
704
- /**
705
- * Base64 encoded box name
706
- */
707
- name: Uint8Array;
708
- /**
709
- * Creates a new `BoxDescriptor` object.
710
- * @param name - Base64 encoded box name
711
- */
712
- constructor(name: string | Uint8Array);
713
- static from_obj_for_encoding(data: Record<string, any>): BoxDescriptor;
714
- }
715
- /**
716
- * Box names of an application
717
- */
718
- export declare class BoxesResponse extends BaseModel {
719
- boxes: BoxDescriptor[];
720
- /**
721
- * Creates a new `BoxesResponse` object.
722
- * @param boxes -
723
- */
724
- constructor(boxes: BoxDescriptor[]);
725
- static from_obj_for_encoding(data: Record<string, any>): BoxesResponse;
726
- }
727
- export declare class BuildVersion extends BaseModel {
728
- branch: string;
729
- buildNumber: number | bigint;
730
- channel: string;
731
- commitHash: string;
732
- major: number | bigint;
733
- minor: number | bigint;
734
- /**
735
- * Creates a new `BuildVersion` object.
736
- * @param branch -
737
- * @param buildNumber -
738
- * @param channel -
739
- * @param commitHash -
740
- * @param major -
741
- * @param minor -
742
- */
743
- constructor({ branch, buildNumber, channel, commitHash, major, minor, }: {
744
- branch: string;
745
- buildNumber: number | bigint;
746
- channel: string;
747
- commitHash: string;
748
- major: number | bigint;
749
- minor: number | bigint;
750
- });
751
- static from_obj_for_encoding(data: Record<string, any>): BuildVersion;
752
- }
753
- /**
754
- *
755
- */
756
- export declare class CatchpointAbortResponse extends BaseModel {
757
- /**
758
- * Catchup abort response string
759
- */
760
- catchupMessage: string;
761
- /**
762
- * Creates a new `CatchpointAbortResponse` object.
763
- * @param catchupMessage - Catchup abort response string
764
- */
765
- constructor(catchupMessage: string);
766
- static from_obj_for_encoding(data: Record<string, any>): CatchpointAbortResponse;
767
- }
768
- /**
769
- *
770
- */
771
- export declare class CatchpointStartResponse extends BaseModel {
772
- /**
773
- * Catchup start response string
774
- */
775
- catchupMessage: string;
776
- /**
777
- * Creates a new `CatchpointStartResponse` object.
778
- * @param catchupMessage - Catchup start response string
779
- */
780
- constructor(catchupMessage: string);
781
- static from_obj_for_encoding(data: Record<string, any>): CatchpointStartResponse;
782
- }
783
- /**
784
- * Teal compile Result
785
- */
786
- export declare class CompileResponse extends BaseModel {
787
- /**
788
- * base32 SHA512_256 of program bytes (Address style)
789
- */
790
- hash: string;
791
- /**
792
- * base64 encoded program bytes
793
- */
794
- result: string;
795
- /**
796
- * JSON of the source map
797
- */
798
- sourcemap?: Record<string, any>;
799
- /**
800
- * Creates a new `CompileResponse` object.
801
- * @param hash - base32 SHA512_256 of program bytes (Address style)
802
- * @param result - base64 encoded program bytes
803
- * @param sourcemap - JSON of the source map
804
- */
805
- constructor(hash: string, result: string, sourcemap?: Record<string, any>);
806
- static from_obj_for_encoding(data: Record<string, any>): CompileResponse;
807
- }
808
- /**
809
- * Teal disassembly Result
810
- */
811
- export declare class DisassembleResponse extends BaseModel {
812
- /**
813
- * disassembled Teal code
814
- */
815
- result: string;
816
- /**
817
- * Creates a new `DisassembleResponse` object.
818
- * @param result - disassembled Teal code
819
- */
820
- constructor(result: string);
821
- static from_obj_for_encoding(data: Record<string, any>): DisassembleResponse;
822
- }
823
- /**
824
- * Request data type for dryrun endpoint. Given the Transactions and simulated
825
- * ledger state upload, run TEAL scripts and return debugging information.
826
- */
827
- export declare class DryrunRequest extends BaseModel {
828
- accounts: Account[];
829
- apps: Application[];
830
- /**
831
- * LatestTimestamp is available to some TEAL scripts. Defaults to the latest
832
- * confirmed timestamp this algod is attached to.
833
- */
834
- latestTimestamp: number | bigint;
835
- /**
836
- * ProtocolVersion specifies a specific version string to operate under, otherwise
837
- * whatever the current protocol of the network this algod is running in.
838
- */
839
- protocolVersion: string;
840
- /**
841
- * Round is available to some TEAL scripts. Defaults to the current round on the
842
- * network this algod is attached to.
843
- */
844
- round: number | bigint;
845
- sources: DryrunSource[];
846
- txns: EncodedSignedTransaction[];
847
- /**
848
- * Creates a new `DryrunRequest` object.
849
- * @param accounts -
850
- * @param apps -
851
- * @param latestTimestamp - LatestTimestamp is available to some TEAL scripts. Defaults to the latest
852
- * confirmed timestamp this algod is attached to.
853
- * @param protocolVersion - ProtocolVersion specifies a specific version string to operate under, otherwise
854
- * whatever the current protocol of the network this algod is running in.
855
- * @param round - Round is available to some TEAL scripts. Defaults to the current round on the
856
- * network this algod is attached to.
857
- * @param sources -
858
- * @param txns -
859
- */
860
- constructor({ accounts, apps, latestTimestamp, protocolVersion, round, sources, txns, }: {
861
- accounts: Account[];
862
- apps: Application[];
863
- latestTimestamp: number | bigint;
864
- protocolVersion: string;
865
- round: number | bigint;
866
- sources: DryrunSource[];
867
- txns: EncodedSignedTransaction[];
868
- });
869
- static from_obj_for_encoding(data: Record<string, any>): DryrunRequest;
870
- }
871
- /**
872
- * DryrunResponse contains per-txn debug information from a dryrun.
873
- */
874
- export declare class DryrunResponse extends BaseModel {
875
- error: string;
876
- /**
877
- * Protocol version is the protocol version Dryrun was operated under.
878
- */
879
- protocolVersion: string;
880
- txns: DryrunTxnResult[];
881
- /**
882
- * Creates a new `DryrunResponse` object.
883
- * @param error -
884
- * @param protocolVersion - Protocol version is the protocol version Dryrun was operated under.
885
- * @param txns -
886
- */
887
- constructor(error: string, protocolVersion: string, txns: DryrunTxnResult[]);
888
- static from_obj_for_encoding(data: Record<string, any>): DryrunResponse;
889
- }
890
- /**
891
- * DryrunSource is TEAL source text that gets uploaded, compiled, and inserted into
892
- * transactions or application state.
893
- */
894
- export declare class DryrunSource extends BaseModel {
895
- /**
896
- * FieldName is what kind of sources this is. If lsig then it goes into the
897
- * transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the
898
- * Approval Program or Clear State Program of application[this.AppIndex].
899
- */
900
- fieldName: string;
901
- source: string;
902
- txnIndex: number | bigint;
903
- appIndex: number | bigint;
904
- /**
905
- * Creates a new `DryrunSource` object.
906
- * @param fieldName - FieldName is what kind of sources this is. If lsig then it goes into the
907
- * transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the
908
- * Approval Program or Clear State Program of application[this.AppIndex].
909
- * @param source -
910
- * @param txnIndex -
911
- * @param appIndex -
912
- */
913
- constructor(fieldName: string, source: string, txnIndex: number | bigint, appIndex: number | bigint);
914
- static from_obj_for_encoding(data: Record<string, any>): DryrunSource;
915
- }
916
- /**
917
- * Stores the TEAL eval step data
918
- */
919
- export declare class DryrunState extends BaseModel {
920
- /**
921
- * Line number
922
- */
923
- line: number | bigint;
924
- /**
925
- * Program counter
926
- */
927
- pc: number | bigint;
928
- stack: TealValue[];
929
- /**
930
- * Evaluation error if any
931
- */
932
- error?: string;
933
- scratch?: TealValue[];
934
- /**
935
- * Creates a new `DryrunState` object.
936
- * @param line - Line number
937
- * @param pc - Program counter
938
- * @param stack -
939
- * @param error - Evaluation error if any
940
- * @param scratch -
941
- */
942
- constructor({ line, pc, stack, error, scratch, }: {
943
- line: number | bigint;
944
- pc: number | bigint;
945
- stack: TealValue[];
946
- error?: string;
947
- scratch?: TealValue[];
948
- });
949
- static from_obj_for_encoding(data: Record<string, any>): DryrunState;
950
- }
951
- /**
952
- * DryrunTxnResult contains any LogicSig or ApplicationCall program debug
953
- * information and state updates from a dryrun.
954
- */
955
- export declare class DryrunTxnResult extends BaseModel {
956
- /**
957
- * Disassembled program line by line.
958
- */
959
- disassembly: string[];
960
- appCallMessages?: string[];
961
- appCallTrace?: DryrunState[];
962
- /**
963
- * Budget added during execution of app call transaction.
964
- */
965
- budgetAdded?: number | bigint;
966
- /**
967
- * Budget consumed during execution of app call transaction.
968
- */
969
- budgetConsumed?: number | bigint;
970
- /**
971
- * Net cost of app execution. Field is DEPRECATED and is subject for removal.
972
- * Instead, use `budget-added` and `budget-consumed.
973
- */
974
- cost?: number | bigint;
975
- /**
976
- * Application state delta.
977
- */
978
- globalDelta?: EvalDeltaKeyValue[];
979
- localDeltas?: AccountStateDelta[];
980
- /**
981
- * Disassembled lsig program line by line.
982
- */
983
- logicSigDisassembly?: string[];
984
- logicSigMessages?: string[];
985
- logicSigTrace?: DryrunState[];
986
- logs?: Uint8Array[];
987
- /**
988
- * Creates a new `DryrunTxnResult` object.
989
- * @param disassembly - Disassembled program line by line.
990
- * @param appCallMessages -
991
- * @param appCallTrace -
992
- * @param budgetAdded - Budget added during execution of app call transaction.
993
- * @param budgetConsumed - Budget consumed during execution of app call transaction.
994
- * @param cost - Net cost of app execution. Field is DEPRECATED and is subject for removal.
995
- * Instead, use `budget-added` and `budget-consumed.
996
- * @param globalDelta - Application state delta.
997
- * @param localDeltas -
998
- * @param logicSigDisassembly - Disassembled lsig program line by line.
999
- * @param logicSigMessages -
1000
- * @param logicSigTrace -
1001
- * @param logs -
1002
- */
1003
- constructor({ disassembly, appCallMessages, appCallTrace, budgetAdded, budgetConsumed, cost, globalDelta, localDeltas, logicSigDisassembly, logicSigMessages, logicSigTrace, logs, }: {
1004
- disassembly: string[];
1005
- appCallMessages?: string[];
1006
- appCallTrace?: DryrunState[];
1007
- budgetAdded?: number | bigint;
1008
- budgetConsumed?: number | bigint;
1009
- cost?: number | bigint;
1010
- globalDelta?: EvalDeltaKeyValue[];
1011
- localDeltas?: AccountStateDelta[];
1012
- logicSigDisassembly?: string[];
1013
- logicSigMessages?: string[];
1014
- logicSigTrace?: DryrunState[];
1015
- logs?: Uint8Array[];
1016
- });
1017
- static from_obj_for_encoding(data: Record<string, any>): DryrunTxnResult;
1018
- }
1019
- /**
1020
- * An error response with optional data field.
1021
- */
1022
- export declare class ErrorResponse extends BaseModel {
1023
- message: string;
1024
- data?: Record<string, any>;
1025
- /**
1026
- * Creates a new `ErrorResponse` object.
1027
- * @param message -
1028
- * @param data -
1029
- */
1030
- constructor(message: string, data?: Record<string, any>);
1031
- static from_obj_for_encoding(data: Record<string, any>): ErrorResponse;
1032
- }
1033
- /**
1034
- * Represents a TEAL value delta.
1035
- */
1036
- export declare class EvalDelta extends BaseModel {
1037
- /**
1038
- * (at) delta action.
1039
- */
1040
- action: number | bigint;
1041
- /**
1042
- * (bs) bytes value.
1043
- */
1044
- bytes?: string;
1045
- /**
1046
- * (ui) uint value.
1047
- */
1048
- uint?: number | bigint;
1049
- /**
1050
- * Creates a new `EvalDelta` object.
1051
- * @param action - (at) delta action.
1052
- * @param bytes - (bs) bytes value.
1053
- * @param uint - (ui) uint value.
1054
- */
1055
- constructor(action: number | bigint, bytes?: string, uint?: number | bigint);
1056
- static from_obj_for_encoding(data: Record<string, any>): EvalDelta;
1057
- }
1058
- /**
1059
- * Key-value pairs for StateDelta.
1060
- */
1061
- export declare class EvalDeltaKeyValue extends BaseModel {
1062
- key: string;
1063
- /**
1064
- * Represents a TEAL value delta.
1065
- */
1066
- value: EvalDelta;
1067
- /**
1068
- * Creates a new `EvalDeltaKeyValue` object.
1069
- * @param key -
1070
- * @param value - Represents a TEAL value delta.
1071
- */
1072
- constructor(key: string, value: EvalDelta);
1073
- static from_obj_for_encoding(data: Record<string, any>): EvalDeltaKeyValue;
1074
- }
1075
- /**
1076
- * Proof of membership and position of a light block header.
1077
- */
1078
- export declare class LightBlockHeaderProof extends BaseModel {
1079
- /**
1080
- * The index of the light block header in the vector commitment tree
1081
- */
1082
- index: number | bigint;
1083
- /**
1084
- * The encoded proof.
1085
- */
1086
- proof: Uint8Array;
1087
- /**
1088
- * Represents the depth of the tree that is being proven, i.e. the number of edges
1089
- * from a leaf to the root.
1090
- */
1091
- treedepth: number | bigint;
1092
- /**
1093
- * Creates a new `LightBlockHeaderProof` object.
1094
- * @param index - The index of the light block header in the vector commitment tree
1095
- * @param proof - The encoded proof.
1096
- * @param treedepth - Represents the depth of the tree that is being proven, i.e. the number of edges
1097
- * from a leaf to the root.
1098
- */
1099
- constructor(index: number | bigint, proof: string | Uint8Array, treedepth: number | bigint);
1100
- static from_obj_for_encoding(data: Record<string, any>): LightBlockHeaderProof;
1101
- }
1102
- /**
1103
- *
1104
- */
1105
- export declare class NodeStatusResponse extends BaseModel {
1106
- /**
1107
- * CatchupTime in nanoseconds
1108
- */
1109
- catchupTime: number | bigint;
1110
- /**
1111
- * LastRound indicates the last round seen
1112
- */
1113
- lastRound: number | bigint;
1114
- /**
1115
- * LastVersion indicates the last consensus version supported
1116
- */
1117
- lastVersion: string;
1118
- /**
1119
- * NextVersion of consensus protocol to use
1120
- */
1121
- nextVersion: string;
1122
- /**
1123
- * NextVersionRound is the round at which the next consensus version will apply
1124
- */
1125
- nextVersionRound: number | bigint;
1126
- /**
1127
- * NextVersionSupported indicates whether the next consensus version is supported
1128
- * by this node
1129
- */
1130
- nextVersionSupported: boolean;
1131
- /**
1132
- * StoppedAtUnsupportedRound indicates that the node does not support the new
1133
- * rounds and has stopped making progress
1134
- */
1135
- stoppedAtUnsupportedRound: boolean;
1136
- /**
1137
- * TimeSinceLastRound in nanoseconds
1138
- */
1139
- timeSinceLastRound: number | bigint;
1140
- /**
1141
- * The current catchpoint that is being caught up to
1142
- */
1143
- catchpoint?: string;
1144
- /**
1145
- * The number of blocks that have already been obtained by the node as part of the
1146
- * catchup
1147
- */
1148
- catchpointAcquiredBlocks?: number | bigint;
1149
- /**
1150
- * The number of accounts from the current catchpoint that have been processed so
1151
- * far as part of the catchup
1152
- */
1153
- catchpointProcessedAccounts?: number | bigint;
1154
- /**
1155
- * The total number of accounts included in the current catchpoint
1156
- */
1157
- catchpointTotalAccounts?: number | bigint;
1158
- /**
1159
- * The total number of blocks that are required to complete the current catchpoint
1160
- * catchup
1161
- */
1162
- catchpointTotalBlocks?: number | bigint;
1163
- /**
1164
- * The number of accounts from the current catchpoint that have been verified so
1165
- * far as part of the catchup
1166
- */
1167
- catchpointVerifiedAccounts?: number | bigint;
1168
- /**
1169
- * The last catchpoint seen by the node
1170
- */
1171
- lastCatchpoint?: string;
1172
- /**
1173
- * Creates a new `NodeStatusResponse` object.
1174
- * @param catchupTime - CatchupTime in nanoseconds
1175
- * @param lastRound - LastRound indicates the last round seen
1176
- * @param lastVersion - LastVersion indicates the last consensus version supported
1177
- * @param nextVersion - NextVersion of consensus protocol to use
1178
- * @param nextVersionRound - NextVersionRound is the round at which the next consensus version will apply
1179
- * @param nextVersionSupported - NextVersionSupported indicates whether the next consensus version is supported
1180
- * by this node
1181
- * @param stoppedAtUnsupportedRound - StoppedAtUnsupportedRound indicates that the node does not support the new
1182
- * rounds and has stopped making progress
1183
- * @param timeSinceLastRound - TimeSinceLastRound in nanoseconds
1184
- * @param catchpoint - The current catchpoint that is being caught up to
1185
- * @param catchpointAcquiredBlocks - The number of blocks that have already been obtained by the node as part of the
1186
- * catchup
1187
- * @param catchpointProcessedAccounts - The number of accounts from the current catchpoint that have been processed so
1188
- * far as part of the catchup
1189
- * @param catchpointTotalAccounts - The total number of accounts included in the current catchpoint
1190
- * @param catchpointTotalBlocks - The total number of blocks that are required to complete the current catchpoint
1191
- * catchup
1192
- * @param catchpointVerifiedAccounts - The number of accounts from the current catchpoint that have been verified so
1193
- * far as part of the catchup
1194
- * @param lastCatchpoint - The last catchpoint seen by the node
1195
- */
1196
- constructor({ catchupTime, lastRound, lastVersion, nextVersion, nextVersionRound, nextVersionSupported, stoppedAtUnsupportedRound, timeSinceLastRound, catchpoint, catchpointAcquiredBlocks, catchpointProcessedAccounts, catchpointTotalAccounts, catchpointTotalBlocks, catchpointVerifiedAccounts, lastCatchpoint, }: {
1197
- catchupTime: number | bigint;
1198
- lastRound: number | bigint;
1199
- lastVersion: string;
1200
- nextVersion: string;
1201
- nextVersionRound: number | bigint;
1202
- nextVersionSupported: boolean;
1203
- stoppedAtUnsupportedRound: boolean;
1204
- timeSinceLastRound: number | bigint;
1205
- catchpoint?: string;
1206
- catchpointAcquiredBlocks?: number | bigint;
1207
- catchpointProcessedAccounts?: number | bigint;
1208
- catchpointTotalAccounts?: number | bigint;
1209
- catchpointTotalBlocks?: number | bigint;
1210
- catchpointVerifiedAccounts?: number | bigint;
1211
- lastCatchpoint?: string;
1212
- });
1213
- static from_obj_for_encoding(data: Record<string, any>): NodeStatusResponse;
1214
- }
1215
- /**
1216
- * Details about a pending transaction. If the transaction was recently confirmed,
1217
- * includes confirmation details like the round and reward details.
1218
- */
1219
- export declare class PendingTransactionResponse extends BaseModel {
1220
- /**
1221
- * Indicates that the transaction was kicked out of this node's transaction pool
1222
- * (and specifies why that happened). An empty string indicates the transaction
1223
- * wasn't kicked out of this node's txpool due to an error.
1224
- */
1225
- poolError: string;
1226
- /**
1227
- * The raw signed transaction.
1228
- */
1229
- txn: EncodedSignedTransaction;
1230
- /**
1231
- * The application index if the transaction was found and it created an
1232
- * application.
1233
- */
1234
- applicationIndex?: number | bigint;
1235
- /**
1236
- * The number of the asset's unit that were transferred to the close-to address.
1237
- */
1238
- assetClosingAmount?: number | bigint;
1239
- /**
1240
- * The asset index if the transaction was found and it created an asset.
1241
- */
1242
- assetIndex?: number | bigint;
1243
- /**
1244
- * Rewards in microalgos applied to the close remainder to account.
1245
- */
1246
- closeRewards?: number | bigint;
1247
- /**
1248
- * Closing amount for the transaction.
1249
- */
1250
- closingAmount?: number | bigint;
1251
- /**
1252
- * The round where this transaction was confirmed, if present.
1253
- */
1254
- confirmedRound?: number | bigint;
1255
- /**
1256
- * (gd) Global state key/value changes for the application being executed by this
1257
- * transaction.
1258
- */
1259
- globalStateDelta?: EvalDeltaKeyValue[];
1260
- /**
1261
- * Inner transactions produced by application execution.
1262
- */
1263
- innerTxns?: PendingTransactionResponse[];
1264
- /**
1265
- * (ld) Local state key/value changes for the application being executed by this
1266
- * transaction.
1267
- */
1268
- localStateDelta?: AccountStateDelta[];
1269
- /**
1270
- * (lg) Logs for the application being executed by this transaction.
1271
- */
1272
- logs?: Uint8Array[];
1273
- /**
1274
- * Rewards in microalgos applied to the receiver account.
1275
- */
1276
- receiverRewards?: number | bigint;
1277
- /**
1278
- * Rewards in microalgos applied to the sender account.
1279
- */
1280
- senderRewards?: number | bigint;
1281
- /**
1282
- * Creates a new `PendingTransactionResponse` object.
1283
- * @param poolError - Indicates that the transaction was kicked out of this node's transaction pool
1284
- * (and specifies why that happened). An empty string indicates the transaction
1285
- * wasn't kicked out of this node's txpool due to an error.
1286
- * @param txn - The raw signed transaction.
1287
- * @param applicationIndex - The application index if the transaction was found and it created an
1288
- * application.
1289
- * @param assetClosingAmount - The number of the asset's unit that were transferred to the close-to address.
1290
- * @param assetIndex - The asset index if the transaction was found and it created an asset.
1291
- * @param closeRewards - Rewards in microalgos applied to the close remainder to account.
1292
- * @param closingAmount - Closing amount for the transaction.
1293
- * @param confirmedRound - The round where this transaction was confirmed, if present.
1294
- * @param globalStateDelta - (gd) Global state key/value changes for the application being executed by this
1295
- * transaction.
1296
- * @param innerTxns - Inner transactions produced by application execution.
1297
- * @param localStateDelta - (ld) Local state key/value changes for the application being executed by this
1298
- * transaction.
1299
- * @param logs - (lg) Logs for the application being executed by this transaction.
1300
- * @param receiverRewards - Rewards in microalgos applied to the receiver account.
1301
- * @param senderRewards - Rewards in microalgos applied to the sender account.
1302
- */
1303
- constructor({ poolError, txn, applicationIndex, assetClosingAmount, assetIndex, closeRewards, closingAmount, confirmedRound, globalStateDelta, innerTxns, localStateDelta, logs, receiverRewards, senderRewards, }: {
1304
- poolError: string;
1305
- txn: EncodedSignedTransaction;
1306
- applicationIndex?: number | bigint;
1307
- assetClosingAmount?: number | bigint;
1308
- assetIndex?: number | bigint;
1309
- closeRewards?: number | bigint;
1310
- closingAmount?: number | bigint;
1311
- confirmedRound?: number | bigint;
1312
- globalStateDelta?: EvalDeltaKeyValue[];
1313
- innerTxns?: PendingTransactionResponse[];
1314
- localStateDelta?: AccountStateDelta[];
1315
- logs?: Uint8Array[];
1316
- receiverRewards?: number | bigint;
1317
- senderRewards?: number | bigint;
1318
- });
1319
- static from_obj_for_encoding(data: Record<string, any>): PendingTransactionResponse;
1320
- }
1321
- /**
1322
- * A potentially truncated list of transactions currently in the node's transaction
1323
- * pool. You can compute whether or not the list is truncated if the number of
1324
- * elements in the **top-transactions** array is fewer than **total-transactions**.
1325
- */
1326
- export declare class PendingTransactionsResponse extends BaseModel {
1327
- /**
1328
- * An array of signed transaction objects.
1329
- */
1330
- topTransactions: EncodedSignedTransaction[];
1331
- /**
1332
- * Total number of transactions in the pool.
1333
- */
1334
- totalTransactions: number | bigint;
1335
- /**
1336
- * Creates a new `PendingTransactionsResponse` object.
1337
- * @param topTransactions - An array of signed transaction objects.
1338
- * @param totalTransactions - Total number of transactions in the pool.
1339
- */
1340
- constructor(topTransactions: EncodedSignedTransaction[], totalTransactions: number | bigint);
1341
- static from_obj_for_encoding(data: Record<string, any>): PendingTransactionsResponse;
1342
- }
1343
- /**
1344
- * Transaction ID of the submission.
1345
- */
1346
- export declare class PostTransactionsResponse extends BaseModel {
1347
- /**
1348
- * encoding of the transaction hash.
1349
- */
1350
- txid: string;
1351
- /**
1352
- * Creates a new `PostTransactionsResponse` object.
1353
- * @param txid - encoding of the transaction hash.
1354
- */
1355
- constructor(txid: string);
1356
- static from_obj_for_encoding(data: Record<string, any>): PostTransactionsResponse;
1357
- }
1358
- /**
1359
- * Represents a state proof and its corresponding message
1360
- */
1361
- export declare class StateProof extends BaseModel {
1362
- /**
1363
- * Represents the message that the state proofs are attesting to.
1364
- */
1365
- message: StateProofMessage;
1366
- /**
1367
- * The encoded StateProof for the message.
1368
- */
1369
- stateproof: Uint8Array;
1370
- /**
1371
- * Creates a new `StateProof` object.
1372
- * @param message - Represents the message that the state proofs are attesting to.
1373
- * @param stateproof - The encoded StateProof for the message.
1374
- */
1375
- constructor(message: StateProofMessage, stateproof: string | Uint8Array);
1376
- static from_obj_for_encoding(data: Record<string, any>): StateProof;
1377
- }
1378
- /**
1379
- * Represents the message that the state proofs are attesting to.
1380
- */
1381
- export declare class StateProofMessage extends BaseModel {
1382
- /**
1383
- * The vector commitment root on all light block headers within a state proof
1384
- * interval.
1385
- */
1386
- blockheaderscommitment: Uint8Array;
1387
- /**
1388
- * The first round the message attests to.
1389
- */
1390
- firstattestedround: number | bigint;
1391
- /**
1392
- * The last round the message attests to.
1393
- */
1394
- lastattestedround: number | bigint;
1395
- /**
1396
- * An integer value representing the natural log of the proven weight with 16 bits
1397
- * of precision. This value would be used to verify the next state proof.
1398
- */
1399
- lnprovenweight: number | bigint;
1400
- /**
1401
- * The vector commitment root of the top N accounts to sign the next StateProof.
1402
- */
1403
- voterscommitment: Uint8Array;
1404
- /**
1405
- * Creates a new `StateProofMessage` object.
1406
- * @param blockheaderscommitment - The vector commitment root on all light block headers within a state proof
1407
- * interval.
1408
- * @param firstattestedround - The first round the message attests to.
1409
- * @param lastattestedround - The last round the message attests to.
1410
- * @param lnprovenweight - An integer value representing the natural log of the proven weight with 16 bits
1411
- * of precision. This value would be used to verify the next state proof.
1412
- * @param voterscommitment - The vector commitment root of the top N accounts to sign the next StateProof.
1413
- */
1414
- constructor({ blockheaderscommitment, firstattestedround, lastattestedround, lnprovenweight, voterscommitment, }: {
1415
- blockheaderscommitment: string | Uint8Array;
1416
- firstattestedround: number | bigint;
1417
- lastattestedround: number | bigint;
1418
- lnprovenweight: number | bigint;
1419
- voterscommitment: string | Uint8Array;
1420
- });
1421
- static from_obj_for_encoding(data: Record<string, any>): StateProofMessage;
1422
- }
1423
- /**
1424
- * Supply represents the current supply of MicroAlgos in the system.
1425
- */
1426
- export declare class SupplyResponse extends BaseModel {
1427
- /**
1428
- * Round
1429
- */
1430
- currentRound: number | bigint;
1431
- /**
1432
- * OnlineMoney
1433
- */
1434
- onlineMoney: number | bigint;
1435
- /**
1436
- * TotalMoney
1437
- */
1438
- totalMoney: number | bigint;
1439
- /**
1440
- * Creates a new `SupplyResponse` object.
1441
- * @param currentRound - Round
1442
- * @param onlineMoney - OnlineMoney
1443
- * @param totalMoney - TotalMoney
1444
- */
1445
- constructor(currentRound: number | bigint, onlineMoney: number | bigint, totalMoney: number | bigint);
1446
- static from_obj_for_encoding(data: Record<string, any>): SupplyResponse;
1447
- }
1448
- /**
1449
- * Represents a key-value pair in an application store.
1450
- */
1451
- export declare class TealKeyValue extends BaseModel {
1452
- key: string;
1453
- /**
1454
- * Represents a TEAL value.
1455
- */
1456
- value: TealValue;
1457
- /**
1458
- * Creates a new `TealKeyValue` object.
1459
- * @param key -
1460
- * @param value - Represents a TEAL value.
1461
- */
1462
- constructor(key: string, value: TealValue);
1463
- static from_obj_for_encoding(data: Record<string, any>): TealKeyValue;
1464
- }
1465
- /**
1466
- * Represents a TEAL value.
1467
- */
1468
- export declare class TealValue extends BaseModel {
1469
- /**
1470
- * (tt) value type. Value `1` refers to **bytes**, value `2` refers to **uint**
1471
- */
1472
- type: number | bigint;
1473
- /**
1474
- * (tb) bytes value.
1475
- */
1476
- bytes: string;
1477
- /**
1478
- * (ui) uint value.
1479
- */
1480
- uint: number | bigint;
1481
- /**
1482
- * Creates a new `TealValue` object.
1483
- * @param type - (tt) value type. Value `1` refers to **bytes**, value `2` refers to **uint**
1484
- * @param bytes - (tb) bytes value.
1485
- * @param uint - (ui) uint value.
1486
- */
1487
- constructor(type: number | bigint, bytes: string, uint: number | bigint);
1488
- static from_obj_for_encoding(data: Record<string, any>): TealValue;
1489
- }
1490
- /**
1491
- * TransactionParams contains the parameters that help a client construct a new
1492
- * transaction.
1493
- */
1494
- export declare class TransactionParametersResponse extends BaseModel {
1495
- /**
1496
- * ConsensusVersion indicates the consensus protocol version
1497
- * as of LastRound.
1498
- */
1499
- consensusVersion: string;
1500
- /**
1501
- * Fee is the suggested transaction fee
1502
- * Fee is in units of micro-Algos per byte.
1503
- * Fee may fall to zero but transactions must still have a fee of
1504
- * at least MinTxnFee for the current network protocol.
1505
- */
1506
- fee: number | bigint;
1507
- /**
1508
- * GenesisHash is the hash of the genesis block.
1509
- */
1510
- genesisHash: Uint8Array;
1511
- /**
1512
- * GenesisID is an ID listed in the genesis block.
1513
- */
1514
- genesisId: string;
1515
- /**
1516
- * LastRound indicates the last round seen
1517
- */
1518
- lastRound: number | bigint;
1519
- /**
1520
- * The minimum transaction fee (not per byte) required for the
1521
- * txn to validate for the current network protocol.
1522
- */
1523
- minFee: number | bigint;
1524
- /**
1525
- * Creates a new `TransactionParametersResponse` object.
1526
- * @param consensusVersion - ConsensusVersion indicates the consensus protocol version
1527
- * as of LastRound.
1528
- * @param fee - Fee is the suggested transaction fee
1529
- * Fee is in units of micro-Algos per byte.
1530
- * Fee may fall to zero but transactions must still have a fee of
1531
- * at least MinTxnFee for the current network protocol.
1532
- * @param genesisHash - GenesisHash is the hash of the genesis block.
1533
- * @param genesisId - GenesisID is an ID listed in the genesis block.
1534
- * @param lastRound - LastRound indicates the last round seen
1535
- * @param minFee - The minimum transaction fee (not per byte) required for the
1536
- * txn to validate for the current network protocol.
1537
- */
1538
- constructor({ consensusVersion, fee, genesisHash, genesisId, lastRound, minFee, }: {
1539
- consensusVersion: string;
1540
- fee: number | bigint;
1541
- genesisHash: string | Uint8Array;
1542
- genesisId: string;
1543
- lastRound: number | bigint;
1544
- minFee: number | bigint;
1545
- });
1546
- static from_obj_for_encoding(data: Record<string, any>): TransactionParametersResponse;
1547
- }
1548
- /**
1549
- * Proof of transaction in a block.
1550
- */
1551
- export declare class TransactionProofResponse extends BaseModel {
1552
- /**
1553
- * Index of the transaction in the block's payset.
1554
- */
1555
- idx: number | bigint;
1556
- /**
1557
- * Proof of transaction membership.
1558
- */
1559
- proof: Uint8Array;
1560
- /**
1561
- * Hash of SignedTxnInBlock for verifying proof.
1562
- */
1563
- stibhash: Uint8Array;
1564
- /**
1565
- * Represents the depth of the tree that is being proven, i.e. the number of edges
1566
- * from a leaf to the root.
1567
- */
1568
- treedepth: number | bigint;
1569
- /**
1570
- * The type of hash function used to create the proof, must be one of:
1571
- * * sha512_256
1572
- * * sha256
1573
- */
1574
- hashtype?: string;
1575
- /**
1576
- * Creates a new `TransactionProofResponse` object.
1577
- * @param idx - Index of the transaction in the block's payset.
1578
- * @param proof - Proof of transaction membership.
1579
- * @param stibhash - Hash of SignedTxnInBlock for verifying proof.
1580
- * @param treedepth - Represents the depth of the tree that is being proven, i.e. the number of edges
1581
- * from a leaf to the root.
1582
- * @param hashtype - The type of hash function used to create the proof, must be one of:
1583
- * * sha512_256
1584
- * * sha256
1585
- */
1586
- constructor({ idx, proof, stibhash, treedepth, hashtype, }: {
1587
- idx: number | bigint;
1588
- proof: string | Uint8Array;
1589
- stibhash: string | Uint8Array;
1590
- treedepth: number | bigint;
1591
- hashtype?: string;
1592
- });
1593
- static from_obj_for_encoding(data: Record<string, any>): TransactionProofResponse;
1594
- }
1595
- /**
1596
- * algod version information.
1597
- */
1598
- export declare class Version extends BaseModel {
1599
- build: BuildVersion;
1600
- genesisHashB64: Uint8Array;
1601
- genesisId: string;
1602
- versions: string[];
1603
- /**
1604
- * Creates a new `Version` object.
1605
- * @param build -
1606
- * @param genesisHashB64 -
1607
- * @param genesisId -
1608
- * @param versions -
1609
- */
1610
- constructor(build: BuildVersion, genesisHashB64: string | Uint8Array, genesisId: string, versions: string[]);
1611
- static from_obj_for_encoding(data: Record<string, any>): Version;
1612
- }