@algorandfoundation/algokit-utils 9.2.0-beta.7 → 10.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1683) hide show
  1. package/README.md +60 -1
  2. package/_virtual/rolldown_runtime.js +34 -0
  3. package/_virtual/rolldown_runtime.mjs +13 -0
  4. package/abi/index.d.ts +6 -0
  5. package/abi/index.js +40 -0
  6. package/abi/index.mjs +5 -0
  7. package/algod-client/index.d.ts +76 -0
  8. package/algod-client/index.js +17 -0
  9. package/algod-client/index.mjs +8 -0
  10. package/amount.d.ts +40 -35
  11. package/amount.js +36 -36
  12. package/amount.js.map +1 -1
  13. package/amount.mjs +36 -34
  14. package/amount.mjs.map +1 -1
  15. package/config.d.ts +7 -2
  16. package/config.js +5 -5
  17. package/config.js.map +1 -1
  18. package/config.mjs +4 -2
  19. package/config.mjs.map +1 -1
  20. package/index.d.ts +10 -18
  21. package/index.js +41 -143
  22. package/index.mjs +11 -29
  23. package/indexer-client/index.d.ts +78 -0
  24. package/indexer-client/index.js +17 -0
  25. package/indexer-client/index.mjs +8 -0
  26. package/indexer-lookup.d.ts +20 -27
  27. package/indexer-lookup.js +98 -128
  28. package/indexer-lookup.js.map +1 -1
  29. package/indexer-lookup.mjs +93 -123
  30. package/indexer-lookup.mjs.map +1 -1
  31. package/kmd-client/index.d.ts +54 -0
  32. package/kmd-client/index.js +17 -0
  33. package/kmd-client/index.mjs +8 -0
  34. package/package.json +43 -5
  35. package/packages/abi/src/abi-method.d.ts +117 -0
  36. package/packages/abi/src/abi-method.js +209 -0
  37. package/packages/abi/src/abi-method.js.map +1 -0
  38. package/packages/abi/src/abi-method.mjs +196 -0
  39. package/packages/abi/src/abi-method.mjs.map +1 -0
  40. package/packages/abi/src/abi-type.d.ts +253 -0
  41. package/packages/abi/src/abi-type.js +685 -0
  42. package/packages/abi/src/abi-type.js.map +1 -0
  43. package/packages/abi/src/abi-type.mjs +674 -0
  44. package/packages/abi/src/abi-type.mjs.map +1 -0
  45. package/packages/abi/src/abi-value.d.ts +11 -0
  46. package/packages/abi/src/arc28-event.d.ts +20 -0
  47. package/packages/abi/src/arc56-contract.d.ts +389 -0
  48. package/packages/abi/src/arc56-contract.js +196 -0
  49. package/packages/abi/src/arc56-contract.js.map +1 -0
  50. package/packages/abi/src/arc56-contract.mjs +185 -0
  51. package/packages/abi/src/arc56-contract.mjs.map +1 -0
  52. package/packages/abi/src/bigint.js +32 -0
  53. package/packages/abi/src/bigint.js.map +1 -0
  54. package/packages/abi/src/bigint.mjs +30 -0
  55. package/packages/abi/src/bigint.mjs.map +1 -0
  56. package/packages/algo25/src/english.js +2057 -0
  57. package/packages/algo25/src/english.js.map +1 -0
  58. package/packages/algo25/src/english.mjs +2056 -0
  59. package/packages/algo25/src/english.mjs.map +1 -0
  60. package/packages/algo25/src/index.js +75 -0
  61. package/packages/algo25/src/index.js.map +1 -0
  62. package/packages/algo25/src/index.mjs +75 -0
  63. package/packages/algo25/src/index.mjs.map +1 -0
  64. package/packages/algod_client/src/apis/api-service.d.ts +184 -0
  65. package/packages/algod_client/src/apis/api-service.js +627 -0
  66. package/packages/algod_client/src/apis/api-service.js.map +1 -0
  67. package/packages/algod_client/src/apis/api-service.mjs +627 -0
  68. package/packages/algod_client/src/apis/api-service.mjs.map +1 -0
  69. package/packages/algod_client/src/client.d.ts +10 -0
  70. package/packages/algod_client/src/client.js +13 -0
  71. package/packages/algod_client/src/client.js.map +1 -0
  72. package/packages/algod_client/src/client.mjs +13 -0
  73. package/packages/algod_client/src/client.mjs.map +1 -0
  74. package/packages/algod_client/src/core/api-error.d.ts +10 -0
  75. package/packages/algod_client/src/core/api-error.js +17 -0
  76. package/packages/algod_client/src/core/api-error.js.map +1 -0
  77. package/packages/algod_client/src/core/api-error.mjs +16 -0
  78. package/packages/algod_client/src/core/api-error.mjs.map +1 -0
  79. package/packages/algod_client/src/core/base-http-request.d.ts +25 -0
  80. package/packages/algod_client/src/core/base-http-request.js +16 -0
  81. package/packages/algod_client/src/core/base-http-request.js.map +1 -0
  82. package/packages/algod_client/src/core/base-http-request.mjs +14 -0
  83. package/packages/algod_client/src/core/base-http-request.mjs.map +1 -0
  84. package/packages/algod_client/src/core/client-config.d.ts +17 -0
  85. package/packages/algod_client/src/core/fetch-http-request.d.ts +10 -0
  86. package/packages/algod_client/src/core/fetch-http-request.js +85 -0
  87. package/packages/algod_client/src/core/fetch-http-request.js.map +1 -0
  88. package/packages/algod_client/src/core/fetch-http-request.mjs +85 -0
  89. package/packages/algod_client/src/core/fetch-http-request.mjs.map +1 -0
  90. package/packages/algod_client/src/core/model-runtime.d.ts +10 -0
  91. package/packages/algod_client/src/core/model-runtime.js +25 -0
  92. package/packages/algod_client/src/core/model-runtime.js.map +1 -0
  93. package/packages/algod_client/src/core/model-runtime.mjs +22 -0
  94. package/packages/algod_client/src/core/model-runtime.mjs.map +1 -0
  95. package/packages/algod_client/src/core/request.js +62 -0
  96. package/packages/algod_client/src/core/request.js.map +1 -0
  97. package/packages/algod_client/src/core/request.mjs +62 -0
  98. package/packages/algod_client/src/core/request.mjs.map +1 -0
  99. package/packages/algod_client/src/models/account-application-response.d.ts +15 -0
  100. package/packages/algod_client/src/models/account-application-response.js +34 -0
  101. package/packages/algod_client/src/models/account-application-response.js.map +1 -0
  102. package/packages/algod_client/src/models/account-application-response.mjs +34 -0
  103. package/packages/algod_client/src/models/account-application-response.mjs.map +1 -0
  104. package/packages/algod_client/src/models/account-asset-response.d.ts +15 -0
  105. package/packages/algod_client/src/models/account-asset-response.js +34 -0
  106. package/packages/algod_client/src/models/account-asset-response.js.map +1 -0
  107. package/packages/algod_client/src/models/account-asset-response.mjs +34 -0
  108. package/packages/algod_client/src/models/account-asset-response.mjs.map +1 -0
  109. package/packages/algod_client/src/models/account-participation.d.ts +33 -0
  110. package/packages/algod_client/src/models/account-participation.js +50 -0
  111. package/packages/algod_client/src/models/account-participation.js.map +1 -0
  112. package/packages/algod_client/src/models/account-participation.mjs +50 -0
  113. package/packages/algod_client/src/models/account-participation.mjs.map +1 -0
  114. package/packages/algod_client/src/models/account-state-delta.d.ts +15 -0
  115. package/packages/algod_client/src/models/account-state-delta.js +24 -0
  116. package/packages/algod_client/src/models/account-state-delta.js.map +1 -0
  117. package/packages/algod_client/src/models/account-state-delta.mjs +24 -0
  118. package/packages/algod_client/src/models/account-state-delta.mjs.map +1 -0
  119. package/packages/algod_client/src/models/account.d.ts +139 -0
  120. package/packages/algod_client/src/models/account.js +187 -0
  121. package/packages/algod_client/src/models/account.js.map +1 -0
  122. package/packages/algod_client/src/models/account.mjs +187 -0
  123. package/packages/algod_client/src/models/account.mjs.map +1 -0
  124. package/packages/algod_client/src/models/application-initial-states.d.ts +22 -0
  125. package/packages/algod_client/src/models/application-initial-states.js +40 -0
  126. package/packages/algod_client/src/models/application-initial-states.js.map +1 -0
  127. package/packages/algod_client/src/models/application-initial-states.mjs +40 -0
  128. package/packages/algod_client/src/models/application-initial-states.mjs.map +1 -0
  129. package/packages/algod_client/src/models/application-kv-storage.d.ts +21 -0
  130. package/packages/algod_client/src/models/application-kv-storage.js +25 -0
  131. package/packages/algod_client/src/models/application-kv-storage.js.map +1 -0
  132. package/packages/algod_client/src/models/application-kv-storage.mjs +25 -0
  133. package/packages/algod_client/src/models/application-kv-storage.mjs.map +1 -0
  134. package/packages/algod_client/src/models/application-local-reference.d.ts +20 -0
  135. package/packages/algod_client/src/models/application-local-reference.js +23 -0
  136. package/packages/algod_client/src/models/application-local-reference.js.map +1 -0
  137. package/packages/algod_client/src/models/application-local-reference.mjs +23 -0
  138. package/packages/algod_client/src/models/application-local-reference.mjs.map +1 -0
  139. package/packages/algod_client/src/models/application-local-state.d.ts +19 -0
  140. package/packages/algod_client/src/models/application-local-state.js +35 -0
  141. package/packages/algod_client/src/models/application-local-state.js.map +1 -0
  142. package/packages/algod_client/src/models/application-local-state.mjs +35 -0
  143. package/packages/algod_client/src/models/application-local-state.mjs.map +1 -0
  144. package/packages/algod_client/src/models/application-params.d.ts +37 -0
  145. package/packages/algod_client/src/models/application-params.js +67 -0
  146. package/packages/algod_client/src/models/application-params.js.map +1 -0
  147. package/packages/algod_client/src/models/application-params.mjs +67 -0
  148. package/packages/algod_client/src/models/application-params.mjs.map +1 -0
  149. package/packages/algod_client/src/models/application-state-operation.d.ts +30 -0
  150. package/packages/algod_client/src/models/application-state-operation.js +47 -0
  151. package/packages/algod_client/src/models/application-state-operation.js.map +1 -0
  152. package/packages/algod_client/src/models/application-state-operation.mjs +47 -0
  153. package/packages/algod_client/src/models/application-state-operation.mjs.map +1 -0
  154. package/packages/algod_client/src/models/application-state-schema.d.ts +17 -0
  155. package/packages/algod_client/src/models/application-state-schema.js +22 -0
  156. package/packages/algod_client/src/models/application-state-schema.js.map +1 -0
  157. package/packages/algod_client/src/models/application-state-schema.mjs +22 -0
  158. package/packages/algod_client/src/models/application-state-schema.mjs.map +1 -0
  159. package/packages/algod_client/src/models/application.d.ts +17 -0
  160. package/packages/algod_client/src/models/application.js +24 -0
  161. package/packages/algod_client/src/models/application.js.map +1 -0
  162. package/packages/algod_client/src/models/application.mjs +24 -0
  163. package/packages/algod_client/src/models/application.mjs.map +1 -0
  164. package/packages/algod_client/src/models/asset-holding-reference.d.ts +20 -0
  165. package/packages/algod_client/src/models/asset-holding-reference.js +23 -0
  166. package/packages/algod_client/src/models/asset-holding-reference.js.map +1 -0
  167. package/packages/algod_client/src/models/asset-holding-reference.mjs +23 -0
  168. package/packages/algod_client/src/models/asset-holding-reference.mjs.map +1 -0
  169. package/packages/algod_client/src/models/asset-holding.d.ts +24 -0
  170. package/packages/algod_client/src/models/asset-holding.js +32 -0
  171. package/packages/algod_client/src/models/asset-holding.js.map +1 -0
  172. package/packages/algod_client/src/models/asset-holding.mjs +32 -0
  173. package/packages/algod_client/src/models/asset-holding.mjs.map +1 -0
  174. package/packages/algod_client/src/models/asset-params.d.ts +74 -0
  175. package/packages/algod_client/src/models/asset-params.js +107 -0
  176. package/packages/algod_client/src/models/asset-params.js.map +1 -0
  177. package/packages/algod_client/src/models/asset-params.mjs +107 -0
  178. package/packages/algod_client/src/models/asset-params.mjs.map +1 -0
  179. package/packages/algod_client/src/models/asset.d.ts +17 -0
  180. package/packages/algod_client/src/models/asset.js +24 -0
  181. package/packages/algod_client/src/models/asset.js.map +1 -0
  182. package/packages/algod_client/src/models/asset.mjs +24 -0
  183. package/packages/algod_client/src/models/asset.mjs.map +1 -0
  184. package/packages/algod_client/src/models/avm-key-value.d.ts +14 -0
  185. package/packages/algod_client/src/models/avm-key-value.js +24 -0
  186. package/packages/algod_client/src/models/avm-key-value.js.map +1 -0
  187. package/packages/algod_client/src/models/avm-key-value.mjs +24 -0
  188. package/packages/algod_client/src/models/avm-key-value.mjs.map +1 -0
  189. package/packages/algod_client/src/models/avm-value.d.ts +21 -0
  190. package/packages/algod_client/src/models/avm-value.js +33 -0
  191. package/packages/algod_client/src/models/avm-value.js.map +1 -0
  192. package/packages/algod_client/src/models/avm-value.mjs +33 -0
  193. package/packages/algod_client/src/models/avm-value.mjs.map +1 -0
  194. package/packages/algod_client/src/models/block-hash-response.d.ts +10 -0
  195. package/packages/algod_client/src/models/block-hash-response.js +17 -0
  196. package/packages/algod_client/src/models/block-hash-response.js.map +1 -0
  197. package/packages/algod_client/src/models/block-hash-response.mjs +17 -0
  198. package/packages/algod_client/src/models/block-hash-response.mjs.map +1 -0
  199. package/packages/algod_client/src/models/block-response.d.ts +12 -0
  200. package/packages/algod_client/src/models/block-response.js +25 -0
  201. package/packages/algod_client/src/models/block-response.js.map +1 -0
  202. package/packages/algod_client/src/models/block-response.mjs +25 -0
  203. package/packages/algod_client/src/models/block-response.mjs.map +1 -0
  204. package/packages/algod_client/src/models/block-txids-response.d.ts +10 -0
  205. package/packages/algod_client/src/models/block-txids-response.js +17 -0
  206. package/packages/algod_client/src/models/block-txids-response.js.map +1 -0
  207. package/packages/algod_client/src/models/block-txids-response.mjs +17 -0
  208. package/packages/algod_client/src/models/block-txids-response.mjs.map +1 -0
  209. package/packages/algod_client/src/models/block.d.ts +146 -0
  210. package/packages/algod_client/src/models/block.js +415 -0
  211. package/packages/algod_client/src/models/block.js.map +1 -0
  212. package/packages/algod_client/src/models/block.mjs +415 -0
  213. package/packages/algod_client/src/models/block.mjs.map +1 -0
  214. package/packages/algod_client/src/models/box-descriptor.d.ts +13 -0
  215. package/packages/algod_client/src/models/box-descriptor.js +17 -0
  216. package/packages/algod_client/src/models/box-descriptor.js.map +1 -0
  217. package/packages/algod_client/src/models/box-descriptor.mjs +17 -0
  218. package/packages/algod_client/src/models/box-descriptor.mjs.map +1 -0
  219. package/packages/algod_client/src/models/box-reference.d.ts +17 -0
  220. package/packages/algod_client/src/models/box-reference.js +23 -0
  221. package/packages/algod_client/src/models/box-reference.js.map +1 -0
  222. package/packages/algod_client/src/models/box-reference.mjs +23 -0
  223. package/packages/algod_client/src/models/box-reference.mjs.map +1 -0
  224. package/packages/algod_client/src/models/box.d.ts +21 -0
  225. package/packages/algod_client/src/models/box.js +32 -0
  226. package/packages/algod_client/src/models/box.js.map +1 -0
  227. package/packages/algod_client/src/models/box.mjs +32 -0
  228. package/packages/algod_client/src/models/box.mjs.map +1 -0
  229. package/packages/algod_client/src/models/boxes-response.d.ts +9 -0
  230. package/packages/algod_client/src/models/boxes-response.js +19 -0
  231. package/packages/algod_client/src/models/boxes-response.js.map +1 -0
  232. package/packages/algod_client/src/models/boxes-response.mjs +19 -0
  233. package/packages/algod_client/src/models/boxes-response.mjs.map +1 -0
  234. package/packages/algod_client/src/models/build-version.d.ts +12 -0
  235. package/packages/algod_client/src/models/build-version.js +50 -0
  236. package/packages/algod_client/src/models/build-version.js.map +1 -0
  237. package/packages/algod_client/src/models/build-version.mjs +50 -0
  238. package/packages/algod_client/src/models/build-version.mjs.map +1 -0
  239. package/packages/algod_client/src/models/compile-response.d.ts +17 -0
  240. package/packages/algod_client/src/models/compile-response.js +33 -0
  241. package/packages/algod_client/src/models/compile-response.js.map +1 -0
  242. package/packages/algod_client/src/models/compile-response.mjs +33 -0
  243. package/packages/algod_client/src/models/compile-response.mjs.map +1 -0
  244. package/packages/algod_client/src/models/disassemble-response.d.ts +10 -0
  245. package/packages/algod_client/src/models/disassemble-response.js +17 -0
  246. package/packages/algod_client/src/models/disassemble-response.js.map +1 -0
  247. package/packages/algod_client/src/models/disassemble-response.mjs +17 -0
  248. package/packages/algod_client/src/models/disassemble-response.mjs.map +1 -0
  249. package/packages/algod_client/src/models/eval-delta-key-value.d.ts +14 -0
  250. package/packages/algod_client/src/models/eval-delta-key-value.js +24 -0
  251. package/packages/algod_client/src/models/eval-delta-key-value.js.map +1 -0
  252. package/packages/algod_client/src/models/eval-delta-key-value.mjs +24 -0
  253. package/packages/algod_client/src/models/eval-delta-key-value.mjs.map +1 -0
  254. package/packages/algod_client/src/models/eval-delta.d.ts +21 -0
  255. package/packages/algod_client/src/models/eval-delta.js +33 -0
  256. package/packages/algod_client/src/models/eval-delta.js.map +1 -0
  257. package/packages/algod_client/src/models/eval-delta.mjs +33 -0
  258. package/packages/algod_client/src/models/eval-delta.mjs.map +1 -0
  259. package/packages/algod_client/src/models/genesis-allocation.d.ts +18 -0
  260. package/packages/algod_client/src/models/genesis-allocation.js +88 -0
  261. package/packages/algod_client/src/models/genesis-allocation.js.map +1 -0
  262. package/packages/algod_client/src/models/genesis-allocation.mjs +88 -0
  263. package/packages/algod_client/src/models/genesis-allocation.mjs.map +1 -0
  264. package/packages/algod_client/src/models/genesis.d.ts +17 -0
  265. package/packages/algod_client/src/models/genesis.js +72 -0
  266. package/packages/algod_client/src/models/genesis.js.map +1 -0
  267. package/packages/algod_client/src/models/genesis.mjs +72 -0
  268. package/packages/algod_client/src/models/genesis.mjs.map +1 -0
  269. package/packages/algod_client/src/models/get-block-time-stamp-offset-response.d.ts +10 -0
  270. package/packages/algod_client/src/models/get-block-time-stamp-offset-response.js +17 -0
  271. package/packages/algod_client/src/models/get-block-time-stamp-offset-response.js.map +1 -0
  272. package/packages/algod_client/src/models/get-block-time-stamp-offset-response.mjs +17 -0
  273. package/packages/algod_client/src/models/get-block-time-stamp-offset-response.mjs.map +1 -0
  274. package/packages/algod_client/src/models/get-sync-round-response.d.ts +10 -0
  275. package/packages/algod_client/src/models/get-sync-round-response.js +17 -0
  276. package/packages/algod_client/src/models/get-sync-round-response.js.map +1 -0
  277. package/packages/algod_client/src/models/get-sync-round-response.mjs +17 -0
  278. package/packages/algod_client/src/models/get-sync-round-response.mjs.map +1 -0
  279. package/packages/algod_client/src/models/ledger-state-delta-for-transaction-group.d.ts +14 -0
  280. package/packages/algod_client/src/models/ledger-state-delta-for-transaction-group.js +24 -0
  281. package/packages/algod_client/src/models/ledger-state-delta-for-transaction-group.js.map +1 -0
  282. package/packages/algod_client/src/models/ledger-state-delta-for-transaction-group.mjs +24 -0
  283. package/packages/algod_client/src/models/ledger-state-delta-for-transaction-group.mjs.map +1 -0
  284. package/packages/algod_client/src/models/ledger-state-delta.d.ts +351 -0
  285. package/packages/algod_client/src/models/ledger-state-delta.js +688 -0
  286. package/packages/algod_client/src/models/ledger-state-delta.js.map +1 -0
  287. package/packages/algod_client/src/models/ledger-state-delta.mjs +688 -0
  288. package/packages/algod_client/src/models/ledger-state-delta.mjs.map +1 -0
  289. package/packages/algod_client/src/models/light-block-header-proof.d.ts +21 -0
  290. package/packages/algod_client/src/models/light-block-header-proof.js +32 -0
  291. package/packages/algod_client/src/models/light-block-header-proof.js.map +1 -0
  292. package/packages/algod_client/src/models/light-block-header-proof.mjs +32 -0
  293. package/packages/algod_client/src/models/light-block-header-proof.mjs.map +1 -0
  294. package/packages/algod_client/src/models/node-status-response.d.ts +113 -0
  295. package/packages/algod_client/src/models/node-status-response.js +172 -0
  296. package/packages/algod_client/src/models/node-status-response.js.map +1 -0
  297. package/packages/algod_client/src/models/node-status-response.mjs +172 -0
  298. package/packages/algod_client/src/models/node-status-response.mjs.map +1 -0
  299. package/packages/algod_client/src/models/pending-transaction-response.d.ts +67 -0
  300. package/packages/algod_client/src/models/pending-transaction-response.js +104 -0
  301. package/packages/algod_client/src/models/pending-transaction-response.js.map +1 -0
  302. package/packages/algod_client/src/models/pending-transaction-response.mjs +104 -0
  303. package/packages/algod_client/src/models/pending-transaction-response.mjs.map +1 -0
  304. package/packages/algod_client/src/models/pending-transactions-response.d.ts +20 -0
  305. package/packages/algod_client/src/models/pending-transactions-response.js +25 -0
  306. package/packages/algod_client/src/models/pending-transactions-response.js.map +1 -0
  307. package/packages/algod_client/src/models/pending-transactions-response.mjs +25 -0
  308. package/packages/algod_client/src/models/pending-transactions-response.mjs.map +1 -0
  309. package/packages/algod_client/src/models/post-transactions-response.d.ts +10 -0
  310. package/packages/algod_client/src/models/post-transactions-response.js +17 -0
  311. package/packages/algod_client/src/models/post-transactions-response.js.map +1 -0
  312. package/packages/algod_client/src/models/post-transactions-response.mjs +17 -0
  313. package/packages/algod_client/src/models/post-transactions-response.mjs.map +1 -0
  314. package/packages/algod_client/src/models/scratch-change.d.ts +17 -0
  315. package/packages/algod_client/src/models/scratch-change.js +24 -0
  316. package/packages/algod_client/src/models/scratch-change.js.map +1 -0
  317. package/packages/algod_client/src/models/scratch-change.mjs +24 -0
  318. package/packages/algod_client/src/models/scratch-change.mjs.map +1 -0
  319. package/packages/algod_client/src/models/simulate-initial-states.d.ts +16 -0
  320. package/packages/algod_client/src/models/simulate-initial-states.js +19 -0
  321. package/packages/algod_client/src/models/simulate-initial-states.js.map +1 -0
  322. package/packages/algod_client/src/models/simulate-initial-states.mjs +19 -0
  323. package/packages/algod_client/src/models/simulate-initial-states.mjs.map +1 -0
  324. package/packages/algod_client/src/models/simulate-request-transaction-group.d.ts +16 -0
  325. package/packages/algod_client/src/models/simulate-request-transaction-group.js +19 -0
  326. package/packages/algod_client/src/models/simulate-request-transaction-group.js.map +1 -0
  327. package/packages/algod_client/src/models/simulate-request-transaction-group.mjs +19 -0
  328. package/packages/algod_client/src/models/simulate-request-transaction-group.mjs.map +1 -0
  329. package/packages/algod_client/src/models/simulate-request.d.ts +42 -0
  330. package/packages/algod_client/src/models/simulate-request.js +67 -0
  331. package/packages/algod_client/src/models/simulate-request.js.map +1 -0
  332. package/packages/algod_client/src/models/simulate-request.mjs +67 -0
  333. package/packages/algod_client/src/models/simulate-request.mjs.map +1 -0
  334. package/packages/algod_client/src/models/simulate-response.d.ts +26 -0
  335. package/packages/algod_client/src/models/simulate-response.js +56 -0
  336. package/packages/algod_client/src/models/simulate-response.js.map +1 -0
  337. package/packages/algod_client/src/models/simulate-response.mjs +56 -0
  338. package/packages/algod_client/src/models/simulate-response.mjs.map +1 -0
  339. package/packages/algod_client/src/models/simulate-trace-config.d.ts +25 -0
  340. package/packages/algod_client/src/models/simulate-trace-config.js +37 -0
  341. package/packages/algod_client/src/models/simulate-trace-config.js.map +1 -0
  342. package/packages/algod_client/src/models/simulate-trace-config.mjs +37 -0
  343. package/packages/algod_client/src/models/simulate-trace-config.mjs.map +1 -0
  344. package/packages/algod_client/src/models/simulate-transaction-group-result.d.ts +34 -0
  345. package/packages/algod_client/src/models/simulate-transaction-group-result.js +54 -0
  346. package/packages/algod_client/src/models/simulate-transaction-group-result.js.map +1 -0
  347. package/packages/algod_client/src/models/simulate-transaction-group-result.mjs +54 -0
  348. package/packages/algod_client/src/models/simulate-transaction-group-result.mjs.map +1 -0
  349. package/packages/algod_client/src/models/simulate-transaction-result.d.ts +30 -0
  350. package/packages/algod_client/src/models/simulate-transaction-result.js +54 -0
  351. package/packages/algod_client/src/models/simulate-transaction-result.js.map +1 -0
  352. package/packages/algod_client/src/models/simulate-transaction-result.mjs +54 -0
  353. package/packages/algod_client/src/models/simulate-transaction-result.mjs.map +1 -0
  354. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.d.ts +43 -0
  355. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.js +60 -0
  356. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.js.map +1 -0
  357. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.mjs +60 -0
  358. package/packages/algod_client/src/models/simulate-unnamed-resources-accessed.mjs.map +1 -0
  359. package/packages/algod_client/src/models/simulation-eval-overrides.d.ts +33 -0
  360. package/packages/algod_client/src/models/simulation-eval-overrides.js +50 -0
  361. package/packages/algod_client/src/models/simulation-eval-overrides.js.map +1 -0
  362. package/packages/algod_client/src/models/simulation-eval-overrides.mjs +50 -0
  363. package/packages/algod_client/src/models/simulation-eval-overrides.mjs.map +1 -0
  364. package/packages/algod_client/src/models/simulation-opcode-trace-unit.d.ts +38 -0
  365. package/packages/algod_client/src/models/simulation-opcode-trace-unit.js +54 -0
  366. package/packages/algod_client/src/models/simulation-opcode-trace-unit.js.map +1 -0
  367. package/packages/algod_client/src/models/simulation-opcode-trace-unit.mjs +54 -0
  368. package/packages/algod_client/src/models/simulation-opcode-trace-unit.mjs.map +1 -0
  369. package/packages/algod_client/src/models/simulation-transaction-exec-trace.d.ts +48 -0
  370. package/packages/algod_client/src/models/simulation-transaction-exec-trace.js +72 -0
  371. package/packages/algod_client/src/models/simulation-transaction-exec-trace.js.map +1 -0
  372. package/packages/algod_client/src/models/simulation-transaction-exec-trace.mjs +72 -0
  373. package/packages/algod_client/src/models/simulation-transaction-exec-trace.mjs.map +1 -0
  374. package/packages/algod_client/src/models/source-map.d.ts +22 -0
  375. package/packages/algod_client/src/models/source-map.js +39 -0
  376. package/packages/algod_client/src/models/source-map.js.map +1 -0
  377. package/packages/algod_client/src/models/source-map.mjs +39 -0
  378. package/packages/algod_client/src/models/source-map.mjs.map +1 -0
  379. package/packages/algod_client/src/models/state-delta.d.ts +11 -0
  380. package/packages/algod_client/src/models/state-delta.js +14 -0
  381. package/packages/algod_client/src/models/state-delta.js.map +1 -0
  382. package/packages/algod_client/src/models/state-delta.mjs +14 -0
  383. package/packages/algod_client/src/models/state-delta.mjs.map +1 -0
  384. package/packages/algod_client/src/models/state-proof-message.d.ts +29 -0
  385. package/packages/algod_client/src/models/state-proof-message.js +44 -0
  386. package/packages/algod_client/src/models/state-proof-message.js.map +1 -0
  387. package/packages/algod_client/src/models/state-proof-message.mjs +44 -0
  388. package/packages/algod_client/src/models/state-proof-message.mjs.map +1 -0
  389. package/packages/algod_client/src/models/state-proof.d.ts +17 -0
  390. package/packages/algod_client/src/models/state-proof.js +24 -0
  391. package/packages/algod_client/src/models/state-proof.js.map +1 -0
  392. package/packages/algod_client/src/models/state-proof.mjs +24 -0
  393. package/packages/algod_client/src/models/state-proof.mjs.map +1 -0
  394. package/packages/algod_client/src/models/suggested-params.d.ts +14 -0
  395. package/packages/algod_client/src/models/supply-response.d.ts +21 -0
  396. package/packages/algod_client/src/models/supply-response.js +31 -0
  397. package/packages/algod_client/src/models/supply-response.js.map +1 -0
  398. package/packages/algod_client/src/models/supply-response.mjs +31 -0
  399. package/packages/algod_client/src/models/supply-response.mjs.map +1 -0
  400. package/packages/algod_client/src/models/teal-key-value-store.d.ts +11 -0
  401. package/packages/algod_client/src/models/teal-key-value-store.js +14 -0
  402. package/packages/algod_client/src/models/teal-key-value-store.js.map +1 -0
  403. package/packages/algod_client/src/models/teal-key-value-store.mjs +14 -0
  404. package/packages/algod_client/src/models/teal-key-value-store.mjs.map +1 -0
  405. package/packages/algod_client/src/models/teal-key-value.d.ts +14 -0
  406. package/packages/algod_client/src/models/teal-key-value.js +24 -0
  407. package/packages/algod_client/src/models/teal-key-value.js.map +1 -0
  408. package/packages/algod_client/src/models/teal-key-value.mjs +24 -0
  409. package/packages/algod_client/src/models/teal-key-value.mjs.map +1 -0
  410. package/packages/algod_client/src/models/teal-value.d.ts +21 -0
  411. package/packages/algod_client/src/models/teal-value.js +33 -0
  412. package/packages/algod_client/src/models/teal-value.js.map +1 -0
  413. package/packages/algod_client/src/models/teal-value.mjs +33 -0
  414. package/packages/algod_client/src/models/teal-value.mjs.map +1 -0
  415. package/packages/algod_client/src/models/transaction-group-ledger-state-deltas-for-round-response.d.ts +9 -0
  416. package/packages/algod_client/src/models/transaction-group-ledger-state-deltas-for-round-response.js +19 -0
  417. package/packages/algod_client/src/models/transaction-group-ledger-state-deltas-for-round-response.js.map +1 -0
  418. package/packages/algod_client/src/models/transaction-group-ledger-state-deltas-for-round-response.mjs +19 -0
  419. package/packages/algod_client/src/models/transaction-group-ledger-state-deltas-for-round-response.mjs.map +1 -0
  420. package/packages/algod_client/src/models/transaction-parameters-response.d.ts +39 -0
  421. package/packages/algod_client/src/models/transaction-parameters-response.js +51 -0
  422. package/packages/algod_client/src/models/transaction-parameters-response.js.map +1 -0
  423. package/packages/algod_client/src/models/transaction-parameters-response.mjs +51 -0
  424. package/packages/algod_client/src/models/transaction-parameters-response.mjs.map +1 -0
  425. package/packages/algod_client/src/models/transaction-proof.d.ts +31 -0
  426. package/packages/algod_client/src/models/transaction-proof.js +45 -0
  427. package/packages/algod_client/src/models/transaction-proof.js.map +1 -0
  428. package/packages/algod_client/src/models/transaction-proof.mjs +45 -0
  429. package/packages/algod_client/src/models/transaction-proof.mjs.map +1 -0
  430. package/packages/algod_client/src/models/version.d.ts +16 -0
  431. package/packages/algod_client/src/models/version.js +41 -0
  432. package/packages/algod_client/src/models/version.js.map +1 -0
  433. package/packages/algod_client/src/models/version.mjs +41 -0
  434. package/packages/algod_client/src/models/version.mjs.map +1 -0
  435. package/packages/common/src/address.d.ts +71 -0
  436. package/packages/common/src/address.js +156 -0
  437. package/packages/common/src/address.js.map +1 -0
  438. package/packages/common/src/address.mjs +144 -0
  439. package/packages/common/src/address.mjs.map +1 -0
  440. package/packages/common/src/array.js +21 -0
  441. package/packages/common/src/array.js.map +1 -0
  442. package/packages/common/src/array.mjs +19 -0
  443. package/packages/common/src/array.mjs.map +1 -0
  444. package/packages/common/src/codecs/codec.d.ts +71 -0
  445. package/packages/common/src/codecs/codec.js +87 -0
  446. package/packages/common/src/codecs/codec.js.map +1 -0
  447. package/packages/common/src/codecs/codec.mjs +86 -0
  448. package/packages/common/src/codecs/codec.mjs.map +1 -0
  449. package/packages/common/src/codecs/composite/array.js +45 -0
  450. package/packages/common/src/codecs/composite/array.js.map +1 -0
  451. package/packages/common/src/codecs/composite/array.mjs +40 -0
  452. package/packages/common/src/codecs/composite/array.mjs.map +1 -0
  453. package/packages/common/src/codecs/composite/map.js +65 -0
  454. package/packages/common/src/codecs/composite/map.js.map +1 -0
  455. package/packages/common/src/codecs/composite/map.mjs +65 -0
  456. package/packages/common/src/codecs/composite/map.mjs.map +1 -0
  457. package/packages/common/src/codecs/composite/record.js +41 -0
  458. package/packages/common/src/codecs/composite/record.js.map +1 -0
  459. package/packages/common/src/codecs/composite/record.mjs +39 -0
  460. package/packages/common/src/codecs/composite/record.mjs.map +1 -0
  461. package/packages/common/src/codecs/models/array-model.js +36 -0
  462. package/packages/common/src/codecs/models/array-model.js.map +1 -0
  463. package/packages/common/src/codecs/models/array-model.mjs +36 -0
  464. package/packages/common/src/codecs/models/array-model.mjs.map +1 -0
  465. package/packages/common/src/codecs/models/object-model.d.ts +22 -0
  466. package/packages/common/src/codecs/models/object-model.js +87 -0
  467. package/packages/common/src/codecs/models/object-model.js.map +1 -0
  468. package/packages/common/src/codecs/models/object-model.mjs +87 -0
  469. package/packages/common/src/codecs/models/object-model.mjs.map +1 -0
  470. package/packages/common/src/codecs/models/primitive-model.js +36 -0
  471. package/packages/common/src/codecs/models/primitive-model.js.map +1 -0
  472. package/packages/common/src/codecs/models/primitive-model.mjs +36 -0
  473. package/packages/common/src/codecs/models/primitive-model.mjs.map +1 -0
  474. package/packages/common/src/codecs/primitives/address.js +33 -0
  475. package/packages/common/src/codecs/primitives/address.js.map +1 -0
  476. package/packages/common/src/codecs/primitives/address.mjs +31 -0
  477. package/packages/common/src/codecs/primitives/address.mjs.map +1 -0
  478. package/packages/common/src/codecs/primitives/bigint.js +18 -0
  479. package/packages/common/src/codecs/primitives/bigint.js.map +1 -0
  480. package/packages/common/src/codecs/primitives/bigint.mjs +18 -0
  481. package/packages/common/src/codecs/primitives/bigint.mjs.map +1 -0
  482. package/packages/common/src/codecs/primitives/boolean.js +13 -0
  483. package/packages/common/src/codecs/primitives/boolean.js.map +1 -0
  484. package/packages/common/src/codecs/primitives/boolean.mjs +13 -0
  485. package/packages/common/src/codecs/primitives/boolean.mjs.map +1 -0
  486. package/packages/common/src/codecs/primitives/bytes.js +28 -0
  487. package/packages/common/src/codecs/primitives/bytes.js.map +1 -0
  488. package/packages/common/src/codecs/primitives/bytes.mjs +26 -0
  489. package/packages/common/src/codecs/primitives/bytes.mjs.map +1 -0
  490. package/packages/common/src/codecs/primitives/fixed-bytes.js +37 -0
  491. package/packages/common/src/codecs/primitives/fixed-bytes.js.map +1 -0
  492. package/packages/common/src/codecs/primitives/fixed-bytes.mjs +33 -0
  493. package/packages/common/src/codecs/primitives/fixed-bytes.mjs.map +1 -0
  494. package/packages/common/src/codecs/primitives/number.js +16 -0
  495. package/packages/common/src/codecs/primitives/number.js.map +1 -0
  496. package/packages/common/src/codecs/primitives/number.mjs +16 -0
  497. package/packages/common/src/codecs/primitives/number.mjs.map +1 -0
  498. package/packages/common/src/codecs/primitives/string.js +17 -0
  499. package/packages/common/src/codecs/primitives/string.js.map +1 -0
  500. package/packages/common/src/codecs/primitives/string.mjs +17 -0
  501. package/packages/common/src/codecs/primitives/string.mjs.map +1 -0
  502. package/packages/common/src/codecs/primitives/unknown.js +58 -0
  503. package/packages/common/src/codecs/primitives/unknown.js.map +1 -0
  504. package/packages/common/src/codecs/primitives/unknown.mjs +58 -0
  505. package/packages/common/src/codecs/primitives/unknown.mjs.map +1 -0
  506. package/packages/common/src/codecs/types.d.ts +27 -0
  507. package/packages/common/src/codecs/wire.d.ts +15 -0
  508. package/packages/common/src/codecs/wire.js +24 -0
  509. package/packages/common/src/codecs/wire.js.map +1 -0
  510. package/packages/common/src/codecs/wire.mjs +21 -0
  511. package/packages/common/src/codecs/wire.mjs.map +1 -0
  512. package/packages/common/src/constants.js +63 -0
  513. package/packages/common/src/constants.js.map +1 -0
  514. package/packages/common/src/constants.mjs +34 -0
  515. package/packages/common/src/constants.mjs.map +1 -0
  516. package/packages/common/src/crypto.js +13 -0
  517. package/packages/common/src/crypto.js.map +1 -0
  518. package/packages/common/src/crypto.mjs +11 -0
  519. package/packages/common/src/crypto.mjs.map +1 -0
  520. package/packages/common/src/expand.d.ts +9 -0
  521. package/packages/common/src/json.js +38 -0
  522. package/packages/common/src/json.js.map +1 -0
  523. package/packages/common/src/json.mjs +35 -0
  524. package/packages/common/src/json.mjs.map +1 -0
  525. package/packages/common/src/logger.d.ts +12 -0
  526. package/packages/common/src/msgpack.js +26 -0
  527. package/packages/common/src/msgpack.js.map +1 -0
  528. package/packages/common/src/msgpack.mjs +23 -0
  529. package/packages/common/src/msgpack.mjs.map +1 -0
  530. package/packages/indexer_client/src/apis/api-service.d.ts +251 -0
  531. package/packages/indexer_client/src/apis/api-service.js +482 -0
  532. package/packages/indexer_client/src/apis/api-service.js.map +1 -0
  533. package/packages/indexer_client/src/apis/api-service.mjs +482 -0
  534. package/packages/indexer_client/src/apis/api-service.mjs.map +1 -0
  535. package/packages/indexer_client/src/client.d.ts +10 -0
  536. package/packages/indexer_client/src/client.js +13 -0
  537. package/packages/indexer_client/src/client.js.map +1 -0
  538. package/packages/indexer_client/src/client.mjs +13 -0
  539. package/packages/indexer_client/src/client.mjs.map +1 -0
  540. package/packages/indexer_client/src/core/api-error.d.ts +10 -0
  541. package/packages/indexer_client/src/core/api-error.js +17 -0
  542. package/packages/indexer_client/src/core/api-error.js.map +1 -0
  543. package/packages/indexer_client/src/core/api-error.mjs +16 -0
  544. package/packages/indexer_client/src/core/api-error.mjs.map +1 -0
  545. package/packages/indexer_client/src/core/base-http-request.d.ts +25 -0
  546. package/packages/indexer_client/src/core/base-http-request.js +16 -0
  547. package/packages/indexer_client/src/core/base-http-request.js.map +1 -0
  548. package/packages/indexer_client/src/core/base-http-request.mjs +14 -0
  549. package/packages/indexer_client/src/core/base-http-request.mjs.map +1 -0
  550. package/packages/indexer_client/src/core/client-config.d.ts +17 -0
  551. package/packages/indexer_client/src/core/fetch-http-request.d.ts +10 -0
  552. package/packages/indexer_client/src/core/fetch-http-request.js +85 -0
  553. package/packages/indexer_client/src/core/fetch-http-request.js.map +1 -0
  554. package/packages/indexer_client/src/core/fetch-http-request.mjs +85 -0
  555. package/packages/indexer_client/src/core/fetch-http-request.mjs.map +1 -0
  556. package/packages/indexer_client/src/core/model-runtime.d.ts +10 -0
  557. package/packages/indexer_client/src/core/model-runtime.js +25 -0
  558. package/packages/indexer_client/src/core/model-runtime.js.map +1 -0
  559. package/packages/indexer_client/src/core/model-runtime.mjs +22 -0
  560. package/packages/indexer_client/src/core/model-runtime.mjs.map +1 -0
  561. package/packages/indexer_client/src/core/request.js +62 -0
  562. package/packages/indexer_client/src/core/request.js.map +1 -0
  563. package/packages/indexer_client/src/core/request.mjs +62 -0
  564. package/packages/indexer_client/src/core/request.mjs.map +1 -0
  565. package/packages/indexer_client/src/models/account-participation.d.ts +33 -0
  566. package/packages/indexer_client/src/models/account-participation.js +50 -0
  567. package/packages/indexer_client/src/models/account-participation.js.map +1 -0
  568. package/packages/indexer_client/src/models/account-participation.mjs +50 -0
  569. package/packages/indexer_client/src/models/account-participation.mjs.map +1 -0
  570. package/packages/indexer_client/src/models/account-response.d.ts +13 -0
  571. package/packages/indexer_client/src/models/account-response.js +24 -0
  572. package/packages/indexer_client/src/models/account-response.js.map +1 -0
  573. package/packages/indexer_client/src/models/account-response.mjs +24 -0
  574. package/packages/indexer_client/src/models/account-response.mjs.map +1 -0
  575. package/packages/indexer_client/src/models/account-state-delta.d.ts +14 -0
  576. package/packages/indexer_client/src/models/account-state-delta.js +24 -0
  577. package/packages/indexer_client/src/models/account-state-delta.js.map +1 -0
  578. package/packages/indexer_client/src/models/account-state-delta.mjs +24 -0
  579. package/packages/indexer_client/src/models/account-state-delta.mjs.map +1 -0
  580. package/packages/indexer_client/src/models/account.d.ts +152 -0
  581. package/packages/indexer_client/src/models/account.js +205 -0
  582. package/packages/indexer_client/src/models/account.js.map +1 -0
  583. package/packages/indexer_client/src/models/account.mjs +205 -0
  584. package/packages/indexer_client/src/models/account.mjs.map +1 -0
  585. package/packages/indexer_client/src/models/accounts-response.d.ts +17 -0
  586. package/packages/indexer_client/src/models/accounts-response.js +35 -0
  587. package/packages/indexer_client/src/models/accounts-response.js.map +1 -0
  588. package/packages/indexer_client/src/models/accounts-response.mjs +35 -0
  589. package/packages/indexer_client/src/models/accounts-response.mjs.map +1 -0
  590. package/packages/indexer_client/src/models/application-local-state.d.ts +31 -0
  591. package/packages/indexer_client/src/models/application-local-state.js +54 -0
  592. package/packages/indexer_client/src/models/application-local-state.js.map +1 -0
  593. package/packages/indexer_client/src/models/application-local-state.mjs +54 -0
  594. package/packages/indexer_client/src/models/application-local-state.mjs.map +1 -0
  595. package/packages/indexer_client/src/models/application-local-states-response.d.ts +17 -0
  596. package/packages/indexer_client/src/models/application-local-states-response.js +35 -0
  597. package/packages/indexer_client/src/models/application-local-states-response.js.map +1 -0
  598. package/packages/indexer_client/src/models/application-local-states-response.mjs +35 -0
  599. package/packages/indexer_client/src/models/application-local-states-response.mjs.map +1 -0
  600. package/packages/indexer_client/src/models/application-log-data.d.ts +17 -0
  601. package/packages/indexer_client/src/models/application-log-data.js +23 -0
  602. package/packages/indexer_client/src/models/application-log-data.js.map +1 -0
  603. package/packages/indexer_client/src/models/application-log-data.mjs +23 -0
  604. package/packages/indexer_client/src/models/application-log-data.mjs.map +1 -0
  605. package/packages/indexer_client/src/models/application-logs-response.d.ts +21 -0
  606. package/packages/indexer_client/src/models/application-logs-response.js +41 -0
  607. package/packages/indexer_client/src/models/application-logs-response.js.map +1 -0
  608. package/packages/indexer_client/src/models/application-logs-response.mjs +41 -0
  609. package/packages/indexer_client/src/models/application-logs-response.mjs.map +1 -0
  610. package/packages/indexer_client/src/models/application-params.d.ts +37 -0
  611. package/packages/indexer_client/src/models/application-params.js +67 -0
  612. package/packages/indexer_client/src/models/application-params.js.map +1 -0
  613. package/packages/indexer_client/src/models/application-params.mjs +67 -0
  614. package/packages/indexer_client/src/models/application-params.mjs.map +1 -0
  615. package/packages/indexer_client/src/models/application-response.d.ts +13 -0
  616. package/packages/indexer_client/src/models/application-response.js +24 -0
  617. package/packages/indexer_client/src/models/application-response.js.map +1 -0
  618. package/packages/indexer_client/src/models/application-response.mjs +24 -0
  619. package/packages/indexer_client/src/models/application-response.mjs.map +1 -0
  620. package/packages/indexer_client/src/models/application-state-schema.d.ts +17 -0
  621. package/packages/indexer_client/src/models/application-state-schema.js +22 -0
  622. package/packages/indexer_client/src/models/application-state-schema.js.map +1 -0
  623. package/packages/indexer_client/src/models/application-state-schema.mjs +22 -0
  624. package/packages/indexer_client/src/models/application-state-schema.mjs.map +1 -0
  625. package/packages/indexer_client/src/models/application.d.ts +29 -0
  626. package/packages/indexer_client/src/models/application.js +46 -0
  627. package/packages/indexer_client/src/models/application.js.map +1 -0
  628. package/packages/indexer_client/src/models/application.mjs +46 -0
  629. package/packages/indexer_client/src/models/application.mjs.map +1 -0
  630. package/packages/indexer_client/src/models/applications-response.d.ts +17 -0
  631. package/packages/indexer_client/src/models/applications-response.js +35 -0
  632. package/packages/indexer_client/src/models/applications-response.js.map +1 -0
  633. package/packages/indexer_client/src/models/applications-response.mjs +35 -0
  634. package/packages/indexer_client/src/models/applications-response.mjs.map +1 -0
  635. package/packages/indexer_client/src/models/asset-balances-response.d.ts +17 -0
  636. package/packages/indexer_client/src/models/asset-balances-response.js +35 -0
  637. package/packages/indexer_client/src/models/asset-balances-response.js.map +1 -0
  638. package/packages/indexer_client/src/models/asset-balances-response.mjs +35 -0
  639. package/packages/indexer_client/src/models/asset-balances-response.mjs.map +1 -0
  640. package/packages/indexer_client/src/models/asset-holding.d.ts +36 -0
  641. package/packages/indexer_client/src/models/asset-holding.js +50 -0
  642. package/packages/indexer_client/src/models/asset-holding.js.map +1 -0
  643. package/packages/indexer_client/src/models/asset-holding.mjs +50 -0
  644. package/packages/indexer_client/src/models/asset-holding.mjs.map +1 -0
  645. package/packages/indexer_client/src/models/asset-holdings-response.d.ts +17 -0
  646. package/packages/indexer_client/src/models/asset-holdings-response.js +35 -0
  647. package/packages/indexer_client/src/models/asset-holdings-response.js.map +1 -0
  648. package/packages/indexer_client/src/models/asset-holdings-response.mjs +35 -0
  649. package/packages/indexer_client/src/models/asset-holdings-response.mjs.map +1 -0
  650. package/packages/indexer_client/src/models/asset-params.d.ts +74 -0
  651. package/packages/indexer_client/src/models/asset-params.js +107 -0
  652. package/packages/indexer_client/src/models/asset-params.js.map +1 -0
  653. package/packages/indexer_client/src/models/asset-params.mjs +107 -0
  654. package/packages/indexer_client/src/models/asset-params.mjs.map +1 -0
  655. package/packages/indexer_client/src/models/asset-response.d.ts +13 -0
  656. package/packages/indexer_client/src/models/asset-response.js +24 -0
  657. package/packages/indexer_client/src/models/asset-response.js.map +1 -0
  658. package/packages/indexer_client/src/models/asset-response.mjs +24 -0
  659. package/packages/indexer_client/src/models/asset-response.mjs.map +1 -0
  660. package/packages/indexer_client/src/models/asset.d.ts +29 -0
  661. package/packages/indexer_client/src/models/asset.js +46 -0
  662. package/packages/indexer_client/src/models/asset.js.map +1 -0
  663. package/packages/indexer_client/src/models/asset.mjs +46 -0
  664. package/packages/indexer_client/src/models/asset.mjs.map +1 -0
  665. package/packages/indexer_client/src/models/assets-response.d.ts +17 -0
  666. package/packages/indexer_client/src/models/assets-response.js +35 -0
  667. package/packages/indexer_client/src/models/assets-response.js.map +1 -0
  668. package/packages/indexer_client/src/models/assets-response.mjs +35 -0
  669. package/packages/indexer_client/src/models/assets-response.mjs.map +1 -0
  670. package/packages/indexer_client/src/models/block-headers-response.d.ts +17 -0
  671. package/packages/indexer_client/src/models/block-headers-response.js +35 -0
  672. package/packages/indexer_client/src/models/block-headers-response.js.map +1 -0
  673. package/packages/indexer_client/src/models/block-headers-response.mjs +35 -0
  674. package/packages/indexer_client/src/models/block-headers-response.mjs.map +1 -0
  675. package/packages/indexer_client/src/models/block-rewards.d.ts +33 -0
  676. package/packages/indexer_client/src/models/block-rewards.js +50 -0
  677. package/packages/indexer_client/src/models/block-rewards.js.map +1 -0
  678. package/packages/indexer_client/src/models/block-rewards.mjs +50 -0
  679. package/packages/indexer_client/src/models/block-rewards.mjs.map +1 -0
  680. package/packages/indexer_client/src/models/block-upgrade-state.d.ts +29 -0
  681. package/packages/indexer_client/src/models/block-upgrade-state.js +45 -0
  682. package/packages/indexer_client/src/models/block-upgrade-state.js.map +1 -0
  683. package/packages/indexer_client/src/models/block-upgrade-state.mjs +45 -0
  684. package/packages/indexer_client/src/models/block-upgrade-state.mjs.map +1 -0
  685. package/packages/indexer_client/src/models/block-upgrade-vote.d.ts +21 -0
  686. package/packages/indexer_client/src/models/block-upgrade-vote.js +33 -0
  687. package/packages/indexer_client/src/models/block-upgrade-vote.js.map +1 -0
  688. package/packages/indexer_client/src/models/block-upgrade-vote.mjs +33 -0
  689. package/packages/indexer_client/src/models/block-upgrade-vote.mjs.map +1 -0
  690. package/packages/indexer_client/src/models/block.d.ts +95 -0
  691. package/packages/indexer_client/src/models/block.js +151 -0
  692. package/packages/indexer_client/src/models/block.js.map +1 -0
  693. package/packages/indexer_client/src/models/block.mjs +151 -0
  694. package/packages/indexer_client/src/models/block.mjs.map +1 -0
  695. package/packages/indexer_client/src/models/box-descriptor.d.ts +13 -0
  696. package/packages/indexer_client/src/models/box-descriptor.js +17 -0
  697. package/packages/indexer_client/src/models/box-descriptor.js.map +1 -0
  698. package/packages/indexer_client/src/models/box-descriptor.mjs +17 -0
  699. package/packages/indexer_client/src/models/box-descriptor.mjs.map +1 -0
  700. package/packages/indexer_client/src/models/box-reference.d.ts +17 -0
  701. package/packages/indexer_client/src/models/box-reference.js +23 -0
  702. package/packages/indexer_client/src/models/box-reference.js.map +1 -0
  703. package/packages/indexer_client/src/models/box-reference.mjs +23 -0
  704. package/packages/indexer_client/src/models/box-reference.mjs.map +1 -0
  705. package/packages/indexer_client/src/models/box.d.ts +21 -0
  706. package/packages/indexer_client/src/models/box.js +32 -0
  707. package/packages/indexer_client/src/models/box.js.map +1 -0
  708. package/packages/indexer_client/src/models/box.mjs +32 -0
  709. package/packages/indexer_client/src/models/box.mjs.map +1 -0
  710. package/packages/indexer_client/src/models/boxes-response.d.ts +17 -0
  711. package/packages/indexer_client/src/models/boxes-response.js +35 -0
  712. package/packages/indexer_client/src/models/boxes-response.js.map +1 -0
  713. package/packages/indexer_client/src/models/boxes-response.mjs +35 -0
  714. package/packages/indexer_client/src/models/boxes-response.mjs.map +1 -0
  715. package/packages/indexer_client/src/models/eval-delta-key-value.d.ts +14 -0
  716. package/packages/indexer_client/src/models/eval-delta-key-value.js +24 -0
  717. package/packages/indexer_client/src/models/eval-delta-key-value.js.map +1 -0
  718. package/packages/indexer_client/src/models/eval-delta-key-value.mjs +24 -0
  719. package/packages/indexer_client/src/models/eval-delta-key-value.mjs.map +1 -0
  720. package/packages/indexer_client/src/models/eval-delta.d.ts +21 -0
  721. package/packages/indexer_client/src/models/eval-delta.js +33 -0
  722. package/packages/indexer_client/src/models/eval-delta.js.map +1 -0
  723. package/packages/indexer_client/src/models/eval-delta.mjs +33 -0
  724. package/packages/indexer_client/src/models/eval-delta.mjs.map +1 -0
  725. package/packages/indexer_client/src/models/hash-factory.d.ts +10 -0
  726. package/packages/indexer_client/src/models/hash-factory.js +17 -0
  727. package/packages/indexer_client/src/models/hash-factory.js.map +1 -0
  728. package/packages/indexer_client/src/models/hash-factory.mjs +17 -0
  729. package/packages/indexer_client/src/models/hash-factory.mjs.map +1 -0
  730. package/packages/indexer_client/src/models/hb-proof-fields.d.ts +29 -0
  731. package/packages/indexer_client/src/models/hb-proof-fields.js +43 -0
  732. package/packages/indexer_client/src/models/hb-proof-fields.js.map +1 -0
  733. package/packages/indexer_client/src/models/hb-proof-fields.mjs +43 -0
  734. package/packages/indexer_client/src/models/hb-proof-fields.mjs.map +1 -0
  735. package/packages/indexer_client/src/models/health-check.d.ts +19 -0
  736. package/packages/indexer_client/src/models/health-check.js +60 -0
  737. package/packages/indexer_client/src/models/health-check.js.map +1 -0
  738. package/packages/indexer_client/src/models/health-check.mjs +60 -0
  739. package/packages/indexer_client/src/models/health-check.mjs.map +1 -0
  740. package/packages/indexer_client/src/models/holding-ref.d.ts +20 -0
  741. package/packages/indexer_client/src/models/holding-ref.js +23 -0
  742. package/packages/indexer_client/src/models/holding-ref.js.map +1 -0
  743. package/packages/indexer_client/src/models/holding-ref.mjs +23 -0
  744. package/packages/indexer_client/src/models/holding-ref.mjs.map +1 -0
  745. package/packages/indexer_client/src/models/indexer-state-proof-message.d.ts +26 -0
  746. package/packages/indexer_client/src/models/indexer-state-proof-message.js +44 -0
  747. package/packages/indexer_client/src/models/indexer-state-proof-message.js.map +1 -0
  748. package/packages/indexer_client/src/models/indexer-state-proof-message.mjs +44 -0
  749. package/packages/indexer_client/src/models/indexer-state-proof-message.mjs.map +1 -0
  750. package/packages/indexer_client/src/models/locals-ref.d.ts +20 -0
  751. package/packages/indexer_client/src/models/locals-ref.js +23 -0
  752. package/packages/indexer_client/src/models/locals-ref.js.map +1 -0
  753. package/packages/indexer_client/src/models/locals-ref.mjs +23 -0
  754. package/packages/indexer_client/src/models/locals-ref.mjs.map +1 -0
  755. package/packages/indexer_client/src/models/merkle-array-proof.d.ts +17 -0
  756. package/packages/indexer_client/src/models/merkle-array-proof.js +34 -0
  757. package/packages/indexer_client/src/models/merkle-array-proof.js.map +1 -0
  758. package/packages/indexer_client/src/models/merkle-array-proof.mjs +34 -0
  759. package/packages/indexer_client/src/models/merkle-array-proof.mjs.map +1 -0
  760. package/packages/indexer_client/src/models/mini-asset-holding.d.ts +24 -0
  761. package/packages/indexer_client/src/models/mini-asset-holding.js +51 -0
  762. package/packages/indexer_client/src/models/mini-asset-holding.js.map +1 -0
  763. package/packages/indexer_client/src/models/mini-asset-holding.mjs +51 -0
  764. package/packages/indexer_client/src/models/mini-asset-holding.mjs.map +1 -0
  765. package/packages/indexer_client/src/models/on-completion.d.ts +16 -0
  766. package/packages/indexer_client/src/models/on-completion.js +12 -0
  767. package/packages/indexer_client/src/models/on-completion.js.map +1 -0
  768. package/packages/indexer_client/src/models/on-completion.mjs +12 -0
  769. package/packages/indexer_client/src/models/on-completion.mjs.map +1 -0
  770. package/packages/indexer_client/src/models/participation-updates.d.ts +17 -0
  771. package/packages/indexer_client/src/models/participation-updates.js +22 -0
  772. package/packages/indexer_client/src/models/participation-updates.js.map +1 -0
  773. package/packages/indexer_client/src/models/participation-updates.mjs +22 -0
  774. package/packages/indexer_client/src/models/participation-updates.mjs.map +1 -0
  775. package/packages/indexer_client/src/models/resource-ref.d.ts +32 -0
  776. package/packages/indexer_client/src/models/resource-ref.js +54 -0
  777. package/packages/indexer_client/src/models/resource-ref.js.map +1 -0
  778. package/packages/indexer_client/src/models/resource-ref.mjs +54 -0
  779. package/packages/indexer_client/src/models/resource-ref.mjs.map +1 -0
  780. package/packages/indexer_client/src/models/state-delta.d.ts +11 -0
  781. package/packages/indexer_client/src/models/state-delta.js +14 -0
  782. package/packages/indexer_client/src/models/state-delta.js.map +1 -0
  783. package/packages/indexer_client/src/models/state-delta.mjs +14 -0
  784. package/packages/indexer_client/src/models/state-delta.mjs.map +1 -0
  785. package/packages/indexer_client/src/models/state-proof-fields.d.ts +38 -0
  786. package/packages/indexer_client/src/models/state-proof-fields.js +61 -0
  787. package/packages/indexer_client/src/models/state-proof-fields.js.map +1 -0
  788. package/packages/indexer_client/src/models/state-proof-fields.mjs +61 -0
  789. package/packages/indexer_client/src/models/state-proof-fields.mjs.map +1 -0
  790. package/packages/indexer_client/src/models/state-proof-participant.d.ts +13 -0
  791. package/packages/indexer_client/src/models/state-proof-participant.js +24 -0
  792. package/packages/indexer_client/src/models/state-proof-participant.js.map +1 -0
  793. package/packages/indexer_client/src/models/state-proof-participant.mjs +24 -0
  794. package/packages/indexer_client/src/models/state-proof-participant.mjs.map +1 -0
  795. package/packages/indexer_client/src/models/state-proof-reveal.d.ts +15 -0
  796. package/packages/indexer_client/src/models/state-proof-reveal.js +34 -0
  797. package/packages/indexer_client/src/models/state-proof-reveal.js.map +1 -0
  798. package/packages/indexer_client/src/models/state-proof-reveal.mjs +34 -0
  799. package/packages/indexer_client/src/models/state-proof-reveal.mjs.map +1 -0
  800. package/packages/indexer_client/src/models/state-proof-sig-slot.d.ts +13 -0
  801. package/packages/indexer_client/src/models/state-proof-sig-slot.js +24 -0
  802. package/packages/indexer_client/src/models/state-proof-sig-slot.js.map +1 -0
  803. package/packages/indexer_client/src/models/state-proof-sig-slot.mjs +24 -0
  804. package/packages/indexer_client/src/models/state-proof-sig-slot.mjs.map +1 -0
  805. package/packages/indexer_client/src/models/state-proof-signature.d.ts +15 -0
  806. package/packages/indexer_client/src/models/state-proof-signature.js +40 -0
  807. package/packages/indexer_client/src/models/state-proof-signature.js.map +1 -0
  808. package/packages/indexer_client/src/models/state-proof-signature.mjs +40 -0
  809. package/packages/indexer_client/src/models/state-proof-signature.mjs.map +1 -0
  810. package/packages/indexer_client/src/models/state-proof-tracking.d.ts +22 -0
  811. package/packages/indexer_client/src/models/state-proof-tracking.js +39 -0
  812. package/packages/indexer_client/src/models/state-proof-tracking.js.map +1 -0
  813. package/packages/indexer_client/src/models/state-proof-tracking.mjs +39 -0
  814. package/packages/indexer_client/src/models/state-proof-tracking.mjs.map +1 -0
  815. package/packages/indexer_client/src/models/state-proof-verifier.d.ts +14 -0
  816. package/packages/indexer_client/src/models/state-proof-verifier.js +23 -0
  817. package/packages/indexer_client/src/models/state-proof-verifier.js.map +1 -0
  818. package/packages/indexer_client/src/models/state-proof-verifier.mjs +23 -0
  819. package/packages/indexer_client/src/models/state-proof-verifier.mjs.map +1 -0
  820. package/packages/indexer_client/src/models/state-schema.d.ts +17 -0
  821. package/packages/indexer_client/src/models/state-schema.js +22 -0
  822. package/packages/indexer_client/src/models/state-schema.js.map +1 -0
  823. package/packages/indexer_client/src/models/state-schema.mjs +22 -0
  824. package/packages/indexer_client/src/models/state-schema.mjs.map +1 -0
  825. package/packages/indexer_client/src/models/teal-key-value-store.d.ts +11 -0
  826. package/packages/indexer_client/src/models/teal-key-value-store.js +14 -0
  827. package/packages/indexer_client/src/models/teal-key-value-store.js.map +1 -0
  828. package/packages/indexer_client/src/models/teal-key-value-store.mjs +14 -0
  829. package/packages/indexer_client/src/models/teal-key-value-store.mjs.map +1 -0
  830. package/packages/indexer_client/src/models/teal-key-value.d.ts +14 -0
  831. package/packages/indexer_client/src/models/teal-key-value.js +24 -0
  832. package/packages/indexer_client/src/models/teal-key-value.js.map +1 -0
  833. package/packages/indexer_client/src/models/teal-key-value.mjs +24 -0
  834. package/packages/indexer_client/src/models/teal-key-value.mjs.map +1 -0
  835. package/packages/indexer_client/src/models/teal-value.d.ts +21 -0
  836. package/packages/indexer_client/src/models/teal-value.js +33 -0
  837. package/packages/indexer_client/src/models/teal-value.js.map +1 -0
  838. package/packages/indexer_client/src/models/teal-value.mjs +33 -0
  839. package/packages/indexer_client/src/models/teal-value.mjs.map +1 -0
  840. package/packages/indexer_client/src/models/transaction-application.d.ts +66 -0
  841. package/packages/indexer_client/src/models/transaction-application.js +106 -0
  842. package/packages/indexer_client/src/models/transaction-application.js.map +1 -0
  843. package/packages/indexer_client/src/models/transaction-application.mjs +106 -0
  844. package/packages/indexer_client/src/models/transaction-application.mjs.map +1 -0
  845. package/packages/indexer_client/src/models/transaction-asset-config.d.ts +24 -0
  846. package/packages/indexer_client/src/models/transaction-asset-config.js +24 -0
  847. package/packages/indexer_client/src/models/transaction-asset-config.js.map +1 -0
  848. package/packages/indexer_client/src/models/transaction-asset-config.mjs +24 -0
  849. package/packages/indexer_client/src/models/transaction-asset-config.mjs.map +1 -0
  850. package/packages/indexer_client/src/models/transaction-asset-freeze.d.ts +24 -0
  851. package/packages/indexer_client/src/models/transaction-asset-freeze.js +33 -0
  852. package/packages/indexer_client/src/models/transaction-asset-freeze.js.map +1 -0
  853. package/packages/indexer_client/src/models/transaction-asset-freeze.mjs +33 -0
  854. package/packages/indexer_client/src/models/transaction-asset-freeze.mjs.map +1 -0
  855. package/packages/indexer_client/src/models/transaction-asset-transfer.d.ts +36 -0
  856. package/packages/indexer_client/src/models/transaction-asset-transfer.js +50 -0
  857. package/packages/indexer_client/src/models/transaction-asset-transfer.js.map +1 -0
  858. package/packages/indexer_client/src/models/transaction-asset-transfer.mjs +50 -0
  859. package/packages/indexer_client/src/models/transaction-asset-transfer.mjs.map +1 -0
  860. package/packages/indexer_client/src/models/transaction-heartbeat.d.ts +32 -0
  861. package/packages/indexer_client/src/models/transaction-heartbeat.js +47 -0
  862. package/packages/indexer_client/src/models/transaction-heartbeat.js.map +1 -0
  863. package/packages/indexer_client/src/models/transaction-heartbeat.mjs +47 -0
  864. package/packages/indexer_client/src/models/transaction-heartbeat.mjs.map +1 -0
  865. package/packages/indexer_client/src/models/transaction-keyreg.d.ts +40 -0
  866. package/packages/indexer_client/src/models/transaction-keyreg.js +57 -0
  867. package/packages/indexer_client/src/models/transaction-keyreg.js.map +1 -0
  868. package/packages/indexer_client/src/models/transaction-keyreg.mjs +57 -0
  869. package/packages/indexer_client/src/models/transaction-keyreg.mjs.map +1 -0
  870. package/packages/indexer_client/src/models/transaction-payment.d.ts +28 -0
  871. package/packages/indexer_client/src/models/transaction-payment.js +38 -0
  872. package/packages/indexer_client/src/models/transaction-payment.js.map +1 -0
  873. package/packages/indexer_client/src/models/transaction-payment.mjs +38 -0
  874. package/packages/indexer_client/src/models/transaction-payment.mjs.map +1 -0
  875. package/packages/indexer_client/src/models/transaction-response.d.ts +13 -0
  876. package/packages/indexer_client/src/models/transaction-response.js +24 -0
  877. package/packages/indexer_client/src/models/transaction-response.js.map +1 -0
  878. package/packages/indexer_client/src/models/transaction-response.mjs +24 -0
  879. package/packages/indexer_client/src/models/transaction-response.mjs.map +1 -0
  880. package/packages/indexer_client/src/models/transaction-signature-logicsig.d.ts +29 -0
  881. package/packages/indexer_client/src/models/transaction-signature-logicsig.js +46 -0
  882. package/packages/indexer_client/src/models/transaction-signature-logicsig.js.map +1 -0
  883. package/packages/indexer_client/src/models/transaction-signature-logicsig.mjs +46 -0
  884. package/packages/indexer_client/src/models/transaction-signature-logicsig.mjs.map +1 -0
  885. package/packages/indexer_client/src/models/transaction-signature-multisig-subsignature.d.ts +14 -0
  886. package/packages/indexer_client/src/models/transaction-signature-multisig-subsignature.js +22 -0
  887. package/packages/indexer_client/src/models/transaction-signature-multisig-subsignature.js.map +1 -0
  888. package/packages/indexer_client/src/models/transaction-signature-multisig-subsignature.mjs +22 -0
  889. package/packages/indexer_client/src/models/transaction-signature-multisig-subsignature.mjs.map +1 -0
  890. package/packages/indexer_client/src/models/transaction-signature-multisig.d.ts +27 -0
  891. package/packages/indexer_client/src/models/transaction-signature-multisig.js +34 -0
  892. package/packages/indexer_client/src/models/transaction-signature-multisig.js.map +1 -0
  893. package/packages/indexer_client/src/models/transaction-signature-multisig.mjs +34 -0
  894. package/packages/indexer_client/src/models/transaction-signature-multisig.mjs.map +1 -0
  895. package/packages/indexer_client/src/models/transaction-signature.d.ts +19 -0
  896. package/packages/indexer_client/src/models/transaction-signature.js +34 -0
  897. package/packages/indexer_client/src/models/transaction-signature.js.map +1 -0
  898. package/packages/indexer_client/src/models/transaction-signature.mjs +34 -0
  899. package/packages/indexer_client/src/models/transaction-signature.mjs.map +1 -0
  900. package/packages/indexer_client/src/models/transaction-state-proof.d.ts +22 -0
  901. package/packages/indexer_client/src/models/transaction-state-proof.js +34 -0
  902. package/packages/indexer_client/src/models/transaction-state-proof.js.map +1 -0
  903. package/packages/indexer_client/src/models/transaction-state-proof.mjs +34 -0
  904. package/packages/indexer_client/src/models/transaction-state-proof.mjs.map +1 -0
  905. package/packages/indexer_client/src/models/transaction.d.ts +147 -0
  906. package/packages/indexer_client/src/models/transaction.js +241 -0
  907. package/packages/indexer_client/src/models/transaction.js.map +1 -0
  908. package/packages/indexer_client/src/models/transaction.mjs +241 -0
  909. package/packages/indexer_client/src/models/transaction.mjs.map +1 -0
  910. package/packages/indexer_client/src/models/transactions-response.d.ts +17 -0
  911. package/packages/indexer_client/src/models/transactions-response.js +35 -0
  912. package/packages/indexer_client/src/models/transactions-response.js.map +1 -0
  913. package/packages/indexer_client/src/models/transactions-response.mjs +35 -0
  914. package/packages/indexer_client/src/models/transactions-response.mjs.map +1 -0
  915. package/packages/kmd_client/src/apis/api-service.d.ts +152 -0
  916. package/packages/kmd_client/src/apis/api-service.js +517 -0
  917. package/packages/kmd_client/src/apis/api-service.js.map +1 -0
  918. package/packages/kmd_client/src/apis/api-service.mjs +517 -0
  919. package/packages/kmd_client/src/apis/api-service.mjs.map +1 -0
  920. package/packages/kmd_client/src/client.d.ts +10 -0
  921. package/packages/kmd_client/src/client.js +13 -0
  922. package/packages/kmd_client/src/client.js.map +1 -0
  923. package/packages/kmd_client/src/client.mjs +13 -0
  924. package/packages/kmd_client/src/client.mjs.map +1 -0
  925. package/packages/kmd_client/src/core/api-error.d.ts +10 -0
  926. package/packages/kmd_client/src/core/api-error.js +17 -0
  927. package/packages/kmd_client/src/core/api-error.js.map +1 -0
  928. package/packages/kmd_client/src/core/api-error.mjs +16 -0
  929. package/packages/kmd_client/src/core/api-error.mjs.map +1 -0
  930. package/packages/kmd_client/src/core/base-http-request.d.ts +25 -0
  931. package/packages/kmd_client/src/core/base-http-request.js +16 -0
  932. package/packages/kmd_client/src/core/base-http-request.js.map +1 -0
  933. package/packages/kmd_client/src/core/base-http-request.mjs +14 -0
  934. package/packages/kmd_client/src/core/base-http-request.mjs.map +1 -0
  935. package/packages/kmd_client/src/core/client-config.d.ts +17 -0
  936. package/packages/kmd_client/src/core/fetch-http-request.d.ts +10 -0
  937. package/packages/kmd_client/src/core/fetch-http-request.js +85 -0
  938. package/packages/kmd_client/src/core/fetch-http-request.js.map +1 -0
  939. package/packages/kmd_client/src/core/fetch-http-request.mjs +85 -0
  940. package/packages/kmd_client/src/core/fetch-http-request.mjs.map +1 -0
  941. package/packages/kmd_client/src/core/model-runtime.d.ts +10 -0
  942. package/packages/kmd_client/src/core/model-runtime.js +25 -0
  943. package/packages/kmd_client/src/core/model-runtime.js.map +1 -0
  944. package/packages/kmd_client/src/core/model-runtime.mjs +22 -0
  945. package/packages/kmd_client/src/core/model-runtime.mjs.map +1 -0
  946. package/packages/kmd_client/src/core/request.js +62 -0
  947. package/packages/kmd_client/src/core/request.js.map +1 -0
  948. package/packages/kmd_client/src/core/request.mjs +62 -0
  949. package/packages/kmd_client/src/core/request.mjs.map +1 -0
  950. package/packages/kmd_client/src/models/create-wallet-request.d.ts +13 -0
  951. package/packages/kmd_client/src/models/create-wallet-request.js +38 -0
  952. package/packages/kmd_client/src/models/create-wallet-request.js.map +1 -0
  953. package/packages/kmd_client/src/models/create-wallet-request.mjs +38 -0
  954. package/packages/kmd_client/src/models/create-wallet-request.mjs.map +1 -0
  955. package/packages/kmd_client/src/models/create-wallet-response.d.ts +13 -0
  956. package/packages/kmd_client/src/models/create-wallet-response.js +18 -0
  957. package/packages/kmd_client/src/models/create-wallet-response.js.map +1 -0
  958. package/packages/kmd_client/src/models/create-wallet-response.mjs +18 -0
  959. package/packages/kmd_client/src/models/create-wallet-response.mjs.map +1 -0
  960. package/packages/kmd_client/src/models/delete-key-request.d.ts +15 -0
  961. package/packages/kmd_client/src/models/delete-key-request.js +32 -0
  962. package/packages/kmd_client/src/models/delete-key-request.js.map +1 -0
  963. package/packages/kmd_client/src/models/delete-key-request.mjs +32 -0
  964. package/packages/kmd_client/src/models/delete-key-request.mjs.map +1 -0
  965. package/packages/kmd_client/src/models/delete-multisig-request.d.ts +15 -0
  966. package/packages/kmd_client/src/models/delete-multisig-request.js +32 -0
  967. package/packages/kmd_client/src/models/delete-multisig-request.js.map +1 -0
  968. package/packages/kmd_client/src/models/delete-multisig-request.mjs +32 -0
  969. package/packages/kmd_client/src/models/delete-multisig-request.mjs.map +1 -0
  970. package/packages/kmd_client/src/models/export-key-request.d.ts +15 -0
  971. package/packages/kmd_client/src/models/export-key-request.js +32 -0
  972. package/packages/kmd_client/src/models/export-key-request.js.map +1 -0
  973. package/packages/kmd_client/src/models/export-key-request.mjs +32 -0
  974. package/packages/kmd_client/src/models/export-key-request.mjs.map +1 -0
  975. package/packages/kmd_client/src/models/export-key-response.d.ts +10 -0
  976. package/packages/kmd_client/src/models/export-key-response.js +17 -0
  977. package/packages/kmd_client/src/models/export-key-response.js.map +1 -0
  978. package/packages/kmd_client/src/models/export-key-response.mjs +17 -0
  979. package/packages/kmd_client/src/models/export-key-response.mjs.map +1 -0
  980. package/packages/kmd_client/src/models/export-master-key-request.d.ts +11 -0
  981. package/packages/kmd_client/src/models/export-master-key-request.js +22 -0
  982. package/packages/kmd_client/src/models/export-master-key-request.js.map +1 -0
  983. package/packages/kmd_client/src/models/export-master-key-request.mjs +22 -0
  984. package/packages/kmd_client/src/models/export-master-key-request.mjs.map +1 -0
  985. package/packages/kmd_client/src/models/export-master-key-response.d.ts +10 -0
  986. package/packages/kmd_client/src/models/export-master-key-response.js +17 -0
  987. package/packages/kmd_client/src/models/export-master-key-response.js.map +1 -0
  988. package/packages/kmd_client/src/models/export-master-key-response.mjs +17 -0
  989. package/packages/kmd_client/src/models/export-master-key-response.mjs.map +1 -0
  990. package/packages/kmd_client/src/models/export-multisig-request.d.ts +14 -0
  991. package/packages/kmd_client/src/models/export-multisig-request.js +23 -0
  992. package/packages/kmd_client/src/models/export-multisig-request.js.map +1 -0
  993. package/packages/kmd_client/src/models/export-multisig-request.mjs +23 -0
  994. package/packages/kmd_client/src/models/export-multisig-request.mjs.map +1 -0
  995. package/packages/kmd_client/src/models/export-multisig-response.d.ts +12 -0
  996. package/packages/kmd_client/src/models/export-multisig-response.js +32 -0
  997. package/packages/kmd_client/src/models/export-multisig-response.js.map +1 -0
  998. package/packages/kmd_client/src/models/export-multisig-response.mjs +32 -0
  999. package/packages/kmd_client/src/models/export-multisig-response.mjs.map +1 -0
  1000. package/packages/kmd_client/src/models/generate-key-request.d.ts +10 -0
  1001. package/packages/kmd_client/src/models/generate-key-request.js +17 -0
  1002. package/packages/kmd_client/src/models/generate-key-request.js.map +1 -0
  1003. package/packages/kmd_client/src/models/generate-key-request.mjs +17 -0
  1004. package/packages/kmd_client/src/models/generate-key-request.mjs.map +1 -0
  1005. package/packages/kmd_client/src/models/generate-key-response.d.ts +13 -0
  1006. package/packages/kmd_client/src/models/generate-key-response.js +17 -0
  1007. package/packages/kmd_client/src/models/generate-key-response.js.map +1 -0
  1008. package/packages/kmd_client/src/models/generate-key-response.mjs +17 -0
  1009. package/packages/kmd_client/src/models/generate-key-response.mjs.map +1 -0
  1010. package/packages/kmd_client/src/models/import-key-request.d.ts +11 -0
  1011. package/packages/kmd_client/src/models/import-key-request.js +23 -0
  1012. package/packages/kmd_client/src/models/import-key-request.js.map +1 -0
  1013. package/packages/kmd_client/src/models/import-key-request.mjs +23 -0
  1014. package/packages/kmd_client/src/models/import-key-request.mjs.map +1 -0
  1015. package/packages/kmd_client/src/models/import-key-response.d.ts +13 -0
  1016. package/packages/kmd_client/src/models/import-key-response.js +17 -0
  1017. package/packages/kmd_client/src/models/import-key-response.js.map +1 -0
  1018. package/packages/kmd_client/src/models/import-key-response.mjs +17 -0
  1019. package/packages/kmd_client/src/models/import-key-response.mjs.map +1 -0
  1020. package/packages/kmd_client/src/models/import-multisig-request.d.ts +13 -0
  1021. package/packages/kmd_client/src/models/import-multisig-request.js +39 -0
  1022. package/packages/kmd_client/src/models/import-multisig-request.js.map +1 -0
  1023. package/packages/kmd_client/src/models/import-multisig-request.mjs +39 -0
  1024. package/packages/kmd_client/src/models/import-multisig-request.mjs.map +1 -0
  1025. package/packages/kmd_client/src/models/import-multisig-response.d.ts +13 -0
  1026. package/packages/kmd_client/src/models/import-multisig-response.js +17 -0
  1027. package/packages/kmd_client/src/models/import-multisig-response.js.map +1 -0
  1028. package/packages/kmd_client/src/models/import-multisig-response.mjs +17 -0
  1029. package/packages/kmd_client/src/models/import-multisig-response.mjs.map +1 -0
  1030. package/packages/kmd_client/src/models/init-wallet-handle-token-request.d.ts +11 -0
  1031. package/packages/kmd_client/src/models/init-wallet-handle-token-request.js +22 -0
  1032. package/packages/kmd_client/src/models/init-wallet-handle-token-request.js.map +1 -0
  1033. package/packages/kmd_client/src/models/init-wallet-handle-token-request.mjs +22 -0
  1034. package/packages/kmd_client/src/models/init-wallet-handle-token-request.mjs.map +1 -0
  1035. package/packages/kmd_client/src/models/init-wallet-handle-token-response.d.ts +10 -0
  1036. package/packages/kmd_client/src/models/init-wallet-handle-token-response.js +17 -0
  1037. package/packages/kmd_client/src/models/init-wallet-handle-token-response.js.map +1 -0
  1038. package/packages/kmd_client/src/models/init-wallet-handle-token-response.mjs +17 -0
  1039. package/packages/kmd_client/src/models/init-wallet-handle-token-response.mjs.map +1 -0
  1040. package/packages/kmd_client/src/models/list-keys-request.d.ts +10 -0
  1041. package/packages/kmd_client/src/models/list-keys-request.js +17 -0
  1042. package/packages/kmd_client/src/models/list-keys-request.js.map +1 -0
  1043. package/packages/kmd_client/src/models/list-keys-request.mjs +17 -0
  1044. package/packages/kmd_client/src/models/list-keys-request.mjs.map +1 -0
  1045. package/packages/kmd_client/src/models/list-keys-response.d.ts +13 -0
  1046. package/packages/kmd_client/src/models/list-keys-response.js +17 -0
  1047. package/packages/kmd_client/src/models/list-keys-response.js.map +1 -0
  1048. package/packages/kmd_client/src/models/list-keys-response.mjs +17 -0
  1049. package/packages/kmd_client/src/models/list-keys-response.mjs.map +1 -0
  1050. package/packages/kmd_client/src/models/list-multisig-request.d.ts +10 -0
  1051. package/packages/kmd_client/src/models/list-multisig-request.js +17 -0
  1052. package/packages/kmd_client/src/models/list-multisig-request.js.map +1 -0
  1053. package/packages/kmd_client/src/models/list-multisig-request.mjs +17 -0
  1054. package/packages/kmd_client/src/models/list-multisig-request.mjs.map +1 -0
  1055. package/packages/kmd_client/src/models/list-multisig-response.d.ts +13 -0
  1056. package/packages/kmd_client/src/models/list-multisig-response.js +17 -0
  1057. package/packages/kmd_client/src/models/list-multisig-response.js.map +1 -0
  1058. package/packages/kmd_client/src/models/list-multisig-response.mjs +17 -0
  1059. package/packages/kmd_client/src/models/list-multisig-response.mjs.map +1 -0
  1060. package/packages/kmd_client/src/models/list-wallets-response.d.ts +13 -0
  1061. package/packages/kmd_client/src/models/list-wallets-response.js +19 -0
  1062. package/packages/kmd_client/src/models/list-wallets-response.js.map +1 -0
  1063. package/packages/kmd_client/src/models/list-wallets-response.mjs +19 -0
  1064. package/packages/kmd_client/src/models/list-wallets-response.mjs.map +1 -0
  1065. package/packages/kmd_client/src/models/multisig-sig.d.ts +15 -0
  1066. package/packages/kmd_client/src/models/multisig-sig.js +34 -0
  1067. package/packages/kmd_client/src/models/multisig-sig.js.map +1 -0
  1068. package/packages/kmd_client/src/models/multisig-sig.mjs +34 -0
  1069. package/packages/kmd_client/src/models/multisig-sig.mjs.map +1 -0
  1070. package/packages/kmd_client/src/models/multisig-subsig.d.ts +12 -0
  1071. package/packages/kmd_client/src/models/multisig-subsig.js +22 -0
  1072. package/packages/kmd_client/src/models/multisig-subsig.js.map +1 -0
  1073. package/packages/kmd_client/src/models/multisig-subsig.mjs +22 -0
  1074. package/packages/kmd_client/src/models/multisig-subsig.mjs.map +1 -0
  1075. package/packages/kmd_client/src/models/release-wallet-handle-token-request.d.ts +10 -0
  1076. package/packages/kmd_client/src/models/release-wallet-handle-token-request.js +17 -0
  1077. package/packages/kmd_client/src/models/release-wallet-handle-token-request.js.map +1 -0
  1078. package/packages/kmd_client/src/models/release-wallet-handle-token-request.mjs +17 -0
  1079. package/packages/kmd_client/src/models/release-wallet-handle-token-request.mjs.map +1 -0
  1080. package/packages/kmd_client/src/models/rename-wallet-request.d.ts +12 -0
  1081. package/packages/kmd_client/src/models/rename-wallet-request.js +31 -0
  1082. package/packages/kmd_client/src/models/rename-wallet-request.js.map +1 -0
  1083. package/packages/kmd_client/src/models/rename-wallet-request.mjs +31 -0
  1084. package/packages/kmd_client/src/models/rename-wallet-request.mjs.map +1 -0
  1085. package/packages/kmd_client/src/models/rename-wallet-response.d.ts +13 -0
  1086. package/packages/kmd_client/src/models/rename-wallet-response.js +18 -0
  1087. package/packages/kmd_client/src/models/rename-wallet-response.js.map +1 -0
  1088. package/packages/kmd_client/src/models/rename-wallet-response.mjs +18 -0
  1089. package/packages/kmd_client/src/models/rename-wallet-response.mjs.map +1 -0
  1090. package/packages/kmd_client/src/models/renew-wallet-handle-token-request.d.ts +10 -0
  1091. package/packages/kmd_client/src/models/renew-wallet-handle-token-request.js +17 -0
  1092. package/packages/kmd_client/src/models/renew-wallet-handle-token-request.js.map +1 -0
  1093. package/packages/kmd_client/src/models/renew-wallet-handle-token-request.mjs +17 -0
  1094. package/packages/kmd_client/src/models/renew-wallet-handle-token-request.mjs.map +1 -0
  1095. package/packages/kmd_client/src/models/renew-wallet-handle-token-response.d.ts +13 -0
  1096. package/packages/kmd_client/src/models/renew-wallet-handle-token-response.js +18 -0
  1097. package/packages/kmd_client/src/models/renew-wallet-handle-token-response.js.map +1 -0
  1098. package/packages/kmd_client/src/models/renew-wallet-handle-token-response.mjs +18 -0
  1099. package/packages/kmd_client/src/models/renew-wallet-handle-token-response.mjs.map +1 -0
  1100. package/packages/kmd_client/src/models/sign-multisig-request.d.ts +11 -0
  1101. package/packages/kmd_client/src/models/sign-multisig-response.d.ts +10 -0
  1102. package/packages/kmd_client/src/models/sign-multisig-response.js +17 -0
  1103. package/packages/kmd_client/src/models/sign-multisig-response.js.map +1 -0
  1104. package/packages/kmd_client/src/models/sign-multisig-response.mjs +17 -0
  1105. package/packages/kmd_client/src/models/sign-multisig-response.mjs.map +1 -0
  1106. package/packages/kmd_client/src/models/sign-multisig-txn-request.d.ts +18 -0
  1107. package/packages/kmd_client/src/models/sign-multisig-txn-request.js +52 -0
  1108. package/packages/kmd_client/src/models/sign-multisig-txn-request.js.map +1 -0
  1109. package/packages/kmd_client/src/models/sign-multisig-txn-request.mjs +52 -0
  1110. package/packages/kmd_client/src/models/sign-multisig-txn-request.mjs.map +1 -0
  1111. package/packages/kmd_client/src/models/sign-program-multisig-request.d.ts +20 -0
  1112. package/packages/kmd_client/src/models/sign-program-multisig-request.js +60 -0
  1113. package/packages/kmd_client/src/models/sign-program-multisig-request.js.map +1 -0
  1114. package/packages/kmd_client/src/models/sign-program-multisig-request.mjs +60 -0
  1115. package/packages/kmd_client/src/models/sign-program-multisig-request.mjs.map +1 -0
  1116. package/packages/kmd_client/src/models/sign-program-multisig-response.d.ts +10 -0
  1117. package/packages/kmd_client/src/models/sign-program-multisig-response.js +17 -0
  1118. package/packages/kmd_client/src/models/sign-program-multisig-response.js.map +1 -0
  1119. package/packages/kmd_client/src/models/sign-program-multisig-response.mjs +17 -0
  1120. package/packages/kmd_client/src/models/sign-program-multisig-response.mjs.map +1 -0
  1121. package/packages/kmd_client/src/models/sign-program-request.d.ts +16 -0
  1122. package/packages/kmd_client/src/models/sign-program-request.js +39 -0
  1123. package/packages/kmd_client/src/models/sign-program-request.js.map +1 -0
  1124. package/packages/kmd_client/src/models/sign-program-request.mjs +39 -0
  1125. package/packages/kmd_client/src/models/sign-program-request.mjs.map +1 -0
  1126. package/packages/kmd_client/src/models/sign-program-response.d.ts +10 -0
  1127. package/packages/kmd_client/src/models/sign-program-response.js +17 -0
  1128. package/packages/kmd_client/src/models/sign-program-response.js.map +1 -0
  1129. package/packages/kmd_client/src/models/sign-program-response.mjs +17 -0
  1130. package/packages/kmd_client/src/models/sign-program-response.mjs.map +1 -0
  1131. package/packages/kmd_client/src/models/sign-transaction-request.d.ts +11 -0
  1132. package/packages/kmd_client/src/models/sign-transaction-response.d.ts +10 -0
  1133. package/packages/kmd_client/src/models/sign-transaction-response.js +17 -0
  1134. package/packages/kmd_client/src/models/sign-transaction-response.js.map +1 -0
  1135. package/packages/kmd_client/src/models/sign-transaction-response.mjs +17 -0
  1136. package/packages/kmd_client/src/models/sign-transaction-response.mjs.map +1 -0
  1137. package/packages/kmd_client/src/models/sign-txn-request.d.ts +19 -0
  1138. package/packages/kmd_client/src/models/sign-txn-request.js +38 -0
  1139. package/packages/kmd_client/src/models/sign-txn-request.js.map +1 -0
  1140. package/packages/kmd_client/src/models/sign-txn-request.mjs +38 -0
  1141. package/packages/kmd_client/src/models/sign-txn-request.mjs.map +1 -0
  1142. package/packages/kmd_client/src/models/tx-type.d.ts +8 -0
  1143. package/packages/kmd_client/src/models/tx-type.js +12 -0
  1144. package/packages/kmd_client/src/models/tx-type.js.map +1 -0
  1145. package/packages/kmd_client/src/models/tx-type.mjs +12 -0
  1146. package/packages/kmd_client/src/models/tx-type.mjs.map +1 -0
  1147. package/packages/kmd_client/src/models/versions-response.d.ts +11 -0
  1148. package/packages/kmd_client/src/models/versions-response.js +17 -0
  1149. package/packages/kmd_client/src/models/versions-response.js.map +1 -0
  1150. package/packages/kmd_client/src/models/versions-response.mjs +17 -0
  1151. package/packages/kmd_client/src/models/versions-response.mjs.map +1 -0
  1152. package/packages/kmd_client/src/models/wallet-handle.d.ts +15 -0
  1153. package/packages/kmd_client/src/models/wallet-handle.js +24 -0
  1154. package/packages/kmd_client/src/models/wallet-handle.js.map +1 -0
  1155. package/packages/kmd_client/src/models/wallet-handle.mjs +24 -0
  1156. package/packages/kmd_client/src/models/wallet-handle.mjs.map +1 -0
  1157. package/packages/kmd_client/src/models/wallet-info-request.d.ts +10 -0
  1158. package/packages/kmd_client/src/models/wallet-info-request.js +17 -0
  1159. package/packages/kmd_client/src/models/wallet-info-request.js.map +1 -0
  1160. package/packages/kmd_client/src/models/wallet-info-request.mjs +17 -0
  1161. package/packages/kmd_client/src/models/wallet-info-request.mjs.map +1 -0
  1162. package/packages/kmd_client/src/models/wallet-info-response.d.ts +13 -0
  1163. package/packages/kmd_client/src/models/wallet-info-response.js +18 -0
  1164. package/packages/kmd_client/src/models/wallet-info-response.js.map +1 -0
  1165. package/packages/kmd_client/src/models/wallet-info-response.mjs +18 -0
  1166. package/packages/kmd_client/src/models/wallet-info-response.mjs.map +1 -0
  1167. package/packages/kmd_client/src/models/wallet.d.ts +18 -0
  1168. package/packages/kmd_client/src/models/wallet.js +54 -0
  1169. package/packages/kmd_client/src/models/wallet.js.map +1 -0
  1170. package/packages/kmd_client/src/models/wallet.mjs +54 -0
  1171. package/packages/kmd_client/src/models/wallet.mjs.map +1 -0
  1172. package/packages/sdk/src/convert.d.ts +17 -0
  1173. package/packages/sdk/src/convert.js +28 -0
  1174. package/packages/sdk/src/convert.js.map +1 -0
  1175. package/packages/sdk/src/convert.mjs +25 -0
  1176. package/packages/sdk/src/convert.mjs.map +1 -0
  1177. package/packages/sdk/src/encoding/binarydata.d.ts +34 -0
  1178. package/packages/sdk/src/encoding/binarydata.js +65 -0
  1179. package/packages/sdk/src/encoding/binarydata.js.map +1 -0
  1180. package/packages/sdk/src/encoding/binarydata.mjs +60 -0
  1181. package/packages/sdk/src/encoding/binarydata.mjs.map +1 -0
  1182. package/packages/sdk/src/encoding/encoding.d.ts +237 -0
  1183. package/packages/sdk/src/encoding/encoding.js +302 -0
  1184. package/packages/sdk/src/encoding/encoding.js.map +1 -0
  1185. package/packages/sdk/src/encoding/encoding.mjs +287 -0
  1186. package/packages/sdk/src/encoding/encoding.mjs.map +1 -0
  1187. package/packages/sdk/src/encoding/schema/array.js +35 -0
  1188. package/packages/sdk/src/encoding/schema/array.js.map +1 -0
  1189. package/packages/sdk/src/encoding/schema/array.mjs +35 -0
  1190. package/packages/sdk/src/encoding/schema/array.mjs.map +1 -0
  1191. package/packages/sdk/src/encoding/schema/bytearray.js +49 -0
  1192. package/packages/sdk/src/encoding/schema/bytearray.js.map +1 -0
  1193. package/packages/sdk/src/encoding/schema/bytearray.mjs +49 -0
  1194. package/packages/sdk/src/encoding/schema/bytearray.mjs.map +1 -0
  1195. package/packages/sdk/src/encoding/schema/map.d.ts +58 -0
  1196. package/packages/sdk/src/encoding/schema/map.js +110 -0
  1197. package/packages/sdk/src/encoding/schema/map.js.map +1 -0
  1198. package/packages/sdk/src/encoding/schema/map.mjs +107 -0
  1199. package/packages/sdk/src/encoding/schema/map.mjs.map +1 -0
  1200. package/packages/sdk/src/encoding/schema/optional.js +46 -0
  1201. package/packages/sdk/src/encoding/schema/optional.js.map +1 -0
  1202. package/packages/sdk/src/encoding/schema/optional.mjs +46 -0
  1203. package/packages/sdk/src/encoding/schema/optional.mjs.map +1 -0
  1204. package/packages/sdk/src/encoding/schema/uint64.js +30 -0
  1205. package/packages/sdk/src/encoding/schema/uint64.js.map +1 -0
  1206. package/packages/sdk/src/encoding/schema/uint64.mjs +30 -0
  1207. package/packages/sdk/src/encoding/schema/uint64.mjs.map +1 -0
  1208. package/packages/sdk/src/encoding/uint64.d.ts +34 -0
  1209. package/packages/sdk/src/encoding/uint64.js +34 -0
  1210. package/packages/sdk/src/encoding/uint64.js.map +1 -0
  1211. package/packages/sdk/src/encoding/uint64.mjs +33 -0
  1212. package/packages/sdk/src/encoding/uint64.mjs.map +1 -0
  1213. package/packages/sdk/src/index.d.ts +44 -0
  1214. package/packages/sdk/src/index.js +62 -0
  1215. package/packages/sdk/src/index.js.map +1 -0
  1216. package/packages/sdk/src/index.mjs +58 -0
  1217. package/packages/sdk/src/index.mjs.map +1 -0
  1218. package/packages/sdk/src/logic/sourcemap.d.ts +55 -0
  1219. package/packages/sdk/src/logic/sourcemap.js +88 -0
  1220. package/packages/sdk/src/logic/sourcemap.js.map +1 -0
  1221. package/packages/sdk/src/logic/sourcemap.mjs +86 -0
  1222. package/packages/sdk/src/logic/sourcemap.mjs.map +1 -0
  1223. package/packages/sdk/src/nacl/naclWrappers.js +14 -0
  1224. package/packages/sdk/src/nacl/naclWrappers.js.map +1 -0
  1225. package/packages/sdk/src/nacl/naclWrappers.mjs +11 -0
  1226. package/packages/sdk/src/nacl/naclWrappers.mjs.map +1 -0
  1227. package/packages/sdk/src/types/intDecoding.d.ts +28 -0
  1228. package/packages/sdk/src/types/intDecoding.js +32 -0
  1229. package/packages/sdk/src/types/intDecoding.js.map +1 -0
  1230. package/packages/sdk/src/types/intDecoding.mjs +31 -0
  1231. package/packages/sdk/src/types/intDecoding.mjs.map +1 -0
  1232. package/packages/sdk/src/types/transactions/encoded.d.ts +40 -0
  1233. package/packages/sdk/src/types/transactions/encoded.js +64 -0
  1234. package/packages/sdk/src/types/transactions/encoded.js.map +1 -0
  1235. package/packages/sdk/src/types/transactions/encoded.mjs +59 -0
  1236. package/packages/sdk/src/types/transactions/encoded.mjs.map +1 -0
  1237. package/packages/sdk/src/utils/utils.d.ts +64 -0
  1238. package/packages/sdk/src/utils/utils.js +140 -0
  1239. package/packages/sdk/src/utils/utils.js.map +1 -0
  1240. package/packages/sdk/src/utils/utils.mjs +128 -0
  1241. package/packages/sdk/src/utils/utils.mjs.map +1 -0
  1242. package/packages/transact/src/logicsig.d.ts +47 -0
  1243. package/packages/transact/src/logicsig.js +118 -0
  1244. package/packages/transact/src/logicsig.js.map +1 -0
  1245. package/packages/transact/src/logicsig.mjs +116 -0
  1246. package/packages/transact/src/logicsig.mjs.map +1 -0
  1247. package/packages/transact/src/multisig.d.ts +153 -0
  1248. package/packages/transact/src/multisig.js +388 -0
  1249. package/packages/transact/src/multisig.js.map +1 -0
  1250. package/packages/transact/src/multisig.mjs +368 -0
  1251. package/packages/transact/src/multisig.mjs.map +1 -0
  1252. package/packages/transact/src/signer.d.ts +47 -0
  1253. package/packages/transact/src/signer.js +71 -0
  1254. package/packages/transact/src/signer.js.map +1 -0
  1255. package/packages/transact/src/signer.mjs +70 -0
  1256. package/packages/transact/src/signer.mjs.map +1 -0
  1257. package/packages/transact/src/transactions/app-call.d.ts +209 -0
  1258. package/packages/transact/src/transactions/app-call.js +251 -0
  1259. package/packages/transact/src/transactions/app-call.js.map +1 -0
  1260. package/packages/transact/src/transactions/app-call.mjs +250 -0
  1261. package/packages/transact/src/transactions/app-call.mjs.map +1 -0
  1262. package/packages/transact/src/transactions/asset-config.d.ts +131 -0
  1263. package/packages/transact/src/transactions/asset-config.js +101 -0
  1264. package/packages/transact/src/transactions/asset-config.js.map +1 -0
  1265. package/packages/transact/src/transactions/asset-config.mjs +101 -0
  1266. package/packages/transact/src/transactions/asset-config.mjs.map +1 -0
  1267. package/packages/transact/src/transactions/asset-freeze.d.ts +35 -0
  1268. package/packages/transact/src/transactions/asset-freeze.js +18 -0
  1269. package/packages/transact/src/transactions/asset-freeze.js.map +1 -0
  1270. package/packages/transact/src/transactions/asset-freeze.mjs +18 -0
  1271. package/packages/transact/src/transactions/asset-freeze.mjs.map +1 -0
  1272. package/packages/transact/src/transactions/asset-transfer.d.ts +56 -0
  1273. package/packages/transact/src/transactions/asset-transfer.js +18 -0
  1274. package/packages/transact/src/transactions/asset-transfer.js.map +1 -0
  1275. package/packages/transact/src/transactions/asset-transfer.mjs +18 -0
  1276. package/packages/transact/src/transactions/asset-transfer.mjs.map +1 -0
  1277. package/packages/transact/src/transactions/common.d.ts +37 -0
  1278. package/packages/transact/src/transactions/common.js +24 -0
  1279. package/packages/transact/src/transactions/common.js.map +1 -0
  1280. package/packages/transact/src/transactions/common.mjs +22 -0
  1281. package/packages/transact/src/transactions/common.mjs.map +1 -0
  1282. package/packages/transact/src/transactions/heartbeat.d.ts +37 -0
  1283. package/packages/transact/src/transactions/key-registration.d.ts +45 -0
  1284. package/packages/transact/src/transactions/key-registration.js +54 -0
  1285. package/packages/transact/src/transactions/key-registration.js.map +1 -0
  1286. package/packages/transact/src/transactions/key-registration.mjs +54 -0
  1287. package/packages/transact/src/transactions/key-registration.mjs.map +1 -0
  1288. package/packages/transact/src/transactions/payment.d.ts +32 -0
  1289. package/packages/transact/src/transactions/signed-transaction-meta.d.ts +12 -0
  1290. package/packages/transact/src/transactions/signed-transaction-meta.js +132 -0
  1291. package/packages/transact/src/transactions/signed-transaction-meta.js.map +1 -0
  1292. package/packages/transact/src/transactions/signed-transaction-meta.mjs +129 -0
  1293. package/packages/transact/src/transactions/signed-transaction-meta.mjs.map +1 -0
  1294. package/packages/transact/src/transactions/signed-transaction.d.ts +126 -0
  1295. package/packages/transact/src/transactions/signed-transaction.js +67 -0
  1296. package/packages/transact/src/transactions/signed-transaction.js.map +1 -0
  1297. package/packages/transact/src/transactions/signed-transaction.mjs +64 -0
  1298. package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -0
  1299. package/packages/transact/src/transactions/state-proof.d.ts +64 -0
  1300. package/packages/transact/src/transactions/transaction-meta.d.ts +14 -0
  1301. package/packages/transact/src/transactions/transaction-meta.js +1007 -0
  1302. package/packages/transact/src/transactions/transaction-meta.js.map +1 -0
  1303. package/packages/transact/src/transactions/transaction-meta.mjs +1006 -0
  1304. package/packages/transact/src/transactions/transaction-meta.mjs.map +1 -0
  1305. package/packages/transact/src/transactions/transaction-type.d.ts +47 -0
  1306. package/packages/transact/src/transactions/transaction-type.js +50 -0
  1307. package/packages/transact/src/transactions/transaction-type.js.map +1 -0
  1308. package/packages/transact/src/transactions/transaction-type.mjs +49 -0
  1309. package/packages/transact/src/transactions/transaction-type.mjs.map +1 -0
  1310. package/packages/transact/src/transactions/transaction.d.ts +312 -0
  1311. package/packages/transact/src/transactions/transaction.js +351 -0
  1312. package/packages/transact/src/transactions/transaction.js.map +1 -0
  1313. package/packages/transact/src/transactions/transaction.mjs +337 -0
  1314. package/packages/transact/src/transactions/transaction.mjs.map +1 -0
  1315. package/sdk/index.d.ts +10 -0
  1316. package/sdk/index.js +59 -0
  1317. package/sdk/index.mjs +11 -0
  1318. package/testing/account.d.ts +14 -9
  1319. package/testing/account.js +27 -31
  1320. package/testing/account.js.map +1 -1
  1321. package/testing/account.mjs +27 -29
  1322. package/testing/account.mjs.map +1 -1
  1323. package/testing/fixtures/algokit-log-capture-fixture.d.ts +8 -2
  1324. package/testing/fixtures/algokit-log-capture-fixture.js +35 -39
  1325. package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -1
  1326. package/testing/fixtures/algokit-log-capture-fixture.mjs +35 -37
  1327. package/testing/fixtures/algokit-log-capture-fixture.mjs.map +1 -1
  1328. package/testing/fixtures/algorand-fixture.d.ts +11 -5
  1329. package/testing/fixtures/algorand-fixture.js +66 -60
  1330. package/testing/fixtures/algorand-fixture.js.map +1 -1
  1331. package/testing/fixtures/algorand-fixture.mjs +65 -57
  1332. package/testing/fixtures/algorand-fixture.mjs.map +1 -1
  1333. package/testing/index.d.ts +7 -5
  1334. package/testing/index.js +13 -18
  1335. package/testing/index.mjs +8 -7
  1336. package/testing/indexer.d.ts +5 -1
  1337. package/testing/indexer.js +27 -35
  1338. package/testing/indexer.js.map +1 -1
  1339. package/testing/indexer.mjs +27 -34
  1340. package/testing/indexer.mjs.map +1 -1
  1341. package/testing/test-logger.d.ts +42 -36
  1342. package/testing/test-logger.js +70 -74
  1343. package/testing/test-logger.js.map +1 -1
  1344. package/testing/test-logger.mjs +70 -72
  1345. package/testing/test-logger.mjs.map +1 -1
  1346. package/testing/transaction-logger.d.ts +33 -28
  1347. package/testing/transaction-logger.js +73 -91
  1348. package/testing/transaction-logger.js.map +1 -1
  1349. package/testing/transaction-logger.mjs +73 -89
  1350. package/testing/transaction-logger.mjs.map +1 -1
  1351. package/transact/index.d.ts +17 -0
  1352. package/transact/index.js +66 -0
  1353. package/transact/index.mjs +15 -0
  1354. package/transaction/perform-transaction-composer-simulate.d.ts +20 -0
  1355. package/transaction/perform-transaction-composer-simulate.js +33 -0
  1356. package/transaction/perform-transaction-composer-simulate.js.map +1 -0
  1357. package/transaction/perform-transaction-composer-simulate.mjs +32 -0
  1358. package/transaction/perform-transaction-composer-simulate.mjs.map +1 -0
  1359. package/transaction/transaction.d.ts +37 -163
  1360. package/transaction/transaction.js +115 -970
  1361. package/transaction/transaction.js.map +1 -1
  1362. package/transaction/transaction.mjs +115 -953
  1363. package/transaction/transaction.mjs.map +1 -1
  1364. package/transactions/app-call.d.ts +78 -0
  1365. package/transactions/app-call.js +333 -0
  1366. package/transactions/app-call.js.map +1 -0
  1367. package/transactions/app-call.mjs +329 -0
  1368. package/transactions/app-call.mjs.map +1 -0
  1369. package/transactions/asset-config.d.ts +177 -0
  1370. package/transactions/asset-config.js +64 -0
  1371. package/transactions/asset-config.js.map +1 -0
  1372. package/transactions/asset-config.mjs +61 -0
  1373. package/transactions/asset-config.mjs.map +1 -0
  1374. package/transactions/asset-transfer.d.ts +44 -0
  1375. package/transactions/asset-transfer.js +50 -0
  1376. package/transactions/asset-transfer.js.map +1 -0
  1377. package/transactions/asset-transfer.mjs +48 -0
  1378. package/transactions/asset-transfer.mjs.map +1 -0
  1379. package/transactions/common.d.ts +48 -0
  1380. package/transactions/common.js +31 -0
  1381. package/transactions/common.js.map +1 -0
  1382. package/transactions/common.mjs +30 -0
  1383. package/transactions/common.mjs.map +1 -0
  1384. package/transactions/fee-coverage.js +115 -0
  1385. package/transactions/fee-coverage.js.map +1 -0
  1386. package/transactions/fee-coverage.mjs +112 -0
  1387. package/transactions/fee-coverage.mjs.map +1 -0
  1388. package/transactions/key-registration.d.ts +27 -0
  1389. package/transactions/key-registration.js +30 -0
  1390. package/transactions/key-registration.js.map +1 -0
  1391. package/transactions/key-registration.mjs +30 -0
  1392. package/transactions/key-registration.mjs.map +1 -0
  1393. package/transactions/method-call.d.ts +45 -0
  1394. package/transactions/method-call.js +326 -0
  1395. package/transactions/method-call.js.map +1 -0
  1396. package/transactions/method-call.mjs +322 -0
  1397. package/transactions/method-call.mjs.map +1 -0
  1398. package/transactions/payment.d.ts +21 -0
  1399. package/transactions/payment.js +21 -0
  1400. package/transactions/payment.js.map +1 -0
  1401. package/transactions/payment.mjs +21 -0
  1402. package/transactions/payment.mjs.map +1 -0
  1403. package/types/account-manager.d.ts +434 -428
  1404. package/types/account-manager.js +606 -600
  1405. package/types/account-manager.js.map +1 -1
  1406. package/types/account-manager.mjs +604 -598
  1407. package/types/account-manager.mjs.map +1 -1
  1408. package/types/account.d.ts +149 -212
  1409. package/types/account.js +6 -90
  1410. package/types/account.js.map +1 -1
  1411. package/types/account.mjs +7 -88
  1412. package/types/account.mjs.map +1 -1
  1413. package/types/algorand-client-transaction-creator.d.ts +1087 -761
  1414. package/types/algorand-client-transaction-creator.js +723 -722
  1415. package/types/algorand-client-transaction-creator.js.map +1 -1
  1416. package/types/algorand-client-transaction-creator.mjs +723 -721
  1417. package/types/algorand-client-transaction-creator.mjs.map +1 -1
  1418. package/types/algorand-client-transaction-sender.d.ts +1298 -1268
  1419. package/types/algorand-client-transaction-sender.js +920 -951
  1420. package/types/algorand-client-transaction-sender.js.map +1 -1
  1421. package/types/algorand-client-transaction-sender.mjs +918 -949
  1422. package/types/algorand-client-transaction-sender.mjs.map +1 -1
  1423. package/types/algorand-client.d.ts +242 -236
  1424. package/types/algorand-client.js +321 -318
  1425. package/types/algorand-client.js.map +1 -1
  1426. package/types/algorand-client.mjs +321 -316
  1427. package/types/algorand-client.mjs.map +1 -1
  1428. package/types/amount.d.ts +47 -43
  1429. package/types/amount.js +62 -68
  1430. package/types/amount.js.map +1 -1
  1431. package/types/amount.mjs +62 -66
  1432. package/types/amount.mjs.map +1 -1
  1433. package/types/app-client.d.ts +2018 -1972
  1434. package/types/app-client.js +900 -1794
  1435. package/types/app-client.js.map +1 -1
  1436. package/types/app-client.mjs +899 -1792
  1437. package/types/app-client.mjs.map +1 -1
  1438. package/types/app-deployer.d.ts +149 -141
  1439. package/types/app-deployer.js +349 -382
  1440. package/types/app-deployer.js.map +1 -1
  1441. package/types/app-deployer.mjs +349 -380
  1442. package/types/app-deployer.mjs.map +1 -1
  1443. package/types/app-factory.d.ts +931 -914
  1444. package/types/app-factory.js +444 -486
  1445. package/types/app-factory.js.map +1 -1
  1446. package/types/app-factory.mjs +444 -484
  1447. package/types/app-factory.mjs.map +1 -1
  1448. package/types/app-manager.d.ts +299 -325
  1449. package/types/app-manager.js +447 -498
  1450. package/types/app-manager.js.map +1 -1
  1451. package/types/app-manager.mjs +448 -496
  1452. package/types/app-manager.mjs.map +1 -1
  1453. package/types/app-spec.d.ts +154 -117
  1454. package/types/app-spec.js +124 -133
  1455. package/types/app-spec.js.map +1 -1
  1456. package/types/app-spec.mjs +124 -131
  1457. package/types/app-spec.mjs.map +1 -1
  1458. package/types/app.d.ts +186 -291
  1459. package/types/app.js +34 -26
  1460. package/types/app.js.map +1 -1
  1461. package/types/app.mjs +32 -25
  1462. package/types/app.mjs.map +1 -1
  1463. package/types/asset-manager.d.ts +206 -199
  1464. package/types/asset-manager.js +162 -172
  1465. package/types/asset-manager.js.map +1 -1
  1466. package/types/asset-manager.mjs +162 -170
  1467. package/types/asset-manager.mjs.map +1 -1
  1468. package/types/async-event-emitter.d.ts +18 -13
  1469. package/types/async-event-emitter.js +35 -47
  1470. package/types/async-event-emitter.js.map +1 -1
  1471. package/types/async-event-emitter.mjs +35 -46
  1472. package/types/async-event-emitter.mjs.map +1 -1
  1473. package/types/client-manager.d.ts +455 -451
  1474. package/types/client-manager.js +612 -596
  1475. package/types/client-manager.js.map +1 -1
  1476. package/types/client-manager.mjs +612 -594
  1477. package/types/client-manager.mjs.map +1 -1
  1478. package/types/composer.d.ts +921 -1312
  1479. package/types/composer.js +1569 -1469
  1480. package/types/composer.js.map +1 -1
  1481. package/types/composer.mjs +1568 -1467
  1482. package/types/composer.mjs.map +1 -1
  1483. package/types/config.d.ts +53 -48
  1484. package/types/config.js +76 -75
  1485. package/types/config.js.map +1 -1
  1486. package/types/config.mjs +76 -73
  1487. package/types/config.mjs.map +1 -1
  1488. package/types/debugging.d.ts +26 -23
  1489. package/types/debugging.js +7 -9
  1490. package/types/debugging.js.map +1 -1
  1491. package/types/debugging.mjs +7 -8
  1492. package/types/debugging.mjs.map +1 -1
  1493. package/types/dispenser-client.d.ts +57 -52
  1494. package/types/dispenser-client.js +122 -139
  1495. package/types/dispenser-client.js.map +1 -1
  1496. package/types/dispenser-client.mjs +122 -137
  1497. package/types/dispenser-client.mjs.map +1 -1
  1498. package/types/expand.d.ts +5 -3
  1499. package/types/expand.js +0 -3
  1500. package/types/expand.mjs +0 -2
  1501. package/types/indexer.d.ts +32 -160
  1502. package/types/indexer.js +34 -29
  1503. package/types/indexer.js.map +1 -1
  1504. package/types/indexer.mjs +30 -28
  1505. package/types/indexer.mjs.map +1 -1
  1506. package/types/instance-of.d.ts +5 -3
  1507. package/types/instance-of.js +0 -3
  1508. package/types/instance-of.mjs +0 -2
  1509. package/types/kmd-account-manager.d.ts +70 -70
  1510. package/types/kmd-account-manager.js +152 -182
  1511. package/types/kmd-account-manager.js.map +1 -1
  1512. package/types/kmd-account-manager.mjs +150 -180
  1513. package/types/kmd-account-manager.mjs.map +1 -1
  1514. package/types/lifecycle-events.d.ts +13 -8
  1515. package/types/lifecycle-events.js +10 -7
  1516. package/types/lifecycle-events.js.map +1 -1
  1517. package/types/lifecycle-events.mjs +8 -6
  1518. package/types/lifecycle-events.mjs.map +1 -1
  1519. package/types/logging.d.ts +11 -13
  1520. package/types/logging.js +28 -29
  1521. package/types/logging.js.map +1 -1
  1522. package/types/logging.mjs +28 -28
  1523. package/types/logging.mjs.map +1 -1
  1524. package/types/logic-error.d.ts +33 -29
  1525. package/types/logic-error.js +48 -47
  1526. package/types/logic-error.js.map +1 -1
  1527. package/types/logic-error.mjs +48 -46
  1528. package/types/logic-error.mjs.map +1 -1
  1529. package/types/network-client.d.ts +32 -27
  1530. package/types/network-client.js +8 -7
  1531. package/types/network-client.js.map +1 -1
  1532. package/types/network-client.mjs +8 -6
  1533. package/types/network-client.mjs.map +1 -1
  1534. package/types/testing.d.ts +138 -132
  1535. package/types/testing.js +0 -3
  1536. package/types/testing.mjs +0 -2
  1537. package/types/transaction.d.ts +108 -123
  1538. package/types/transaction.js +0 -3
  1539. package/types/transaction.mjs +0 -2
  1540. package/util.js +51 -125
  1541. package/util.js.map +1 -1
  1542. package/util.mjs +52 -121
  1543. package/util.mjs.map +1 -1
  1544. package/account/account.d.ts +0 -144
  1545. package/account/account.js +0 -182
  1546. package/account/account.js.map +0 -1
  1547. package/account/account.mjs +0 -172
  1548. package/account/account.mjs.map +0 -1
  1549. package/account/get-account-config-from-environment.d.ts +0 -12
  1550. package/account/get-account-config-from-environment.js +0 -25
  1551. package/account/get-account-config-from-environment.js.map +0 -1
  1552. package/account/get-account-config-from-environment.mjs +0 -23
  1553. package/account/get-account-config-from-environment.mjs.map +0 -1
  1554. package/account/get-account.d.ts +0 -65
  1555. package/account/get-account.js +0 -63
  1556. package/account/get-account.js.map +0 -1
  1557. package/account/get-account.mjs +0 -61
  1558. package/account/get-account.mjs.map +0 -1
  1559. package/account/get-dispenser-account.d.ts +0 -17
  1560. package/account/get-dispenser-account.js +0 -22
  1561. package/account/get-dispenser-account.js.map +0 -1
  1562. package/account/get-dispenser-account.mjs +0 -20
  1563. package/account/get-dispenser-account.mjs.map +0 -1
  1564. package/account/index.d.ts +0 -5
  1565. package/account/mnemonic-account.d.ts +0 -13
  1566. package/account/mnemonic-account.js +0 -21
  1567. package/account/mnemonic-account.js.map +0 -1
  1568. package/account/mnemonic-account.mjs +0 -19
  1569. package/account/mnemonic-account.mjs.map +0 -1
  1570. package/app-client.d.ts +0 -86
  1571. package/app-client.js +0 -98
  1572. package/app-client.js.map +0 -1
  1573. package/app-client.mjs +0 -94
  1574. package/app-client.mjs.map +0 -1
  1575. package/app-deploy.d.ts +0 -120
  1576. package/app-deploy.js +0 -285
  1577. package/app-deploy.js.map +0 -1
  1578. package/app-deploy.mjs +0 -276
  1579. package/app-deploy.mjs.map +0 -1
  1580. package/app.d.ts +0 -205
  1581. package/app.js +0 -349
  1582. package/app.js.map +0 -1
  1583. package/app.mjs +0 -329
  1584. package/app.mjs.map +0 -1
  1585. package/asset.d.ts +0 -74
  1586. package/asset.js +0 -142
  1587. package/asset.js.map +0 -1
  1588. package/asset.mjs +0 -136
  1589. package/asset.mjs.map +0 -1
  1590. package/debugging/debugging.d.ts +0 -8
  1591. package/debugging/debugging.js +0 -15
  1592. package/debugging/debugging.js.map +0 -1
  1593. package/debugging/debugging.mjs +0 -13
  1594. package/debugging/debugging.mjs.map +0 -1
  1595. package/debugging/index.d.ts +0 -1
  1596. package/dispenser-client.d.ts +0 -20
  1597. package/dispenser-client.js +0 -28
  1598. package/dispenser-client.js.map +0 -1
  1599. package/dispenser-client.mjs +0 -26
  1600. package/dispenser-client.mjs.map +0 -1
  1601. package/index.js.map +0 -1
  1602. package/index.mjs.map +0 -1
  1603. package/localnet/get-kmd-wallet-account.d.ts +0 -27
  1604. package/localnet/get-kmd-wallet-account.js +0 -30
  1605. package/localnet/get-kmd-wallet-account.js.map +0 -1
  1606. package/localnet/get-kmd-wallet-account.mjs +0 -28
  1607. package/localnet/get-kmd-wallet-account.mjs.map +0 -1
  1608. package/localnet/get-localnet-dispenser-account.d.ts +0 -13
  1609. package/localnet/get-localnet-dispenser-account.js +0 -19
  1610. package/localnet/get-localnet-dispenser-account.js.map +0 -1
  1611. package/localnet/get-localnet-dispenser-account.mjs +0 -17
  1612. package/localnet/get-localnet-dispenser-account.mjs.map +0 -1
  1613. package/localnet/get-or-create-kmd-wallet-account.d.ts +0 -28
  1614. package/localnet/get-or-create-kmd-wallet-account.js +0 -30
  1615. package/localnet/get-or-create-kmd-wallet-account.js.map +0 -1
  1616. package/localnet/get-or-create-kmd-wallet-account.mjs +0 -28
  1617. package/localnet/get-or-create-kmd-wallet-account.mjs.map +0 -1
  1618. package/localnet/index.d.ts +0 -4
  1619. package/localnet/is-localnet.d.ts +0 -7
  1620. package/localnet/is-localnet.js +0 -14
  1621. package/localnet/is-localnet.js.map +0 -1
  1622. package/localnet/is-localnet.mjs +0 -12
  1623. package/localnet/is-localnet.mjs.map +0 -1
  1624. package/network-client.d.ts +0 -125
  1625. package/network-client.js +0 -156
  1626. package/network-client.js.map +0 -1
  1627. package/network-client.mjs +0 -145
  1628. package/network-client.mjs.map +0 -1
  1629. package/testing/_asset.d.ts +0 -3
  1630. package/testing/fixtures/index.d.ts +0 -2
  1631. package/testing/index.js.map +0 -1
  1632. package/testing/index.mjs.map +0 -1
  1633. package/transaction/index.d.ts +0 -2
  1634. package/transaction/legacy-bridge.d.ts +0 -35
  1635. package/transaction/legacy-bridge.js +0 -129
  1636. package/transaction/legacy-bridge.js.map +0 -1
  1637. package/transaction/legacy-bridge.mjs +0 -124
  1638. package/transaction/legacy-bridge.mjs.map +0 -1
  1639. package/transaction/perform-atomic-transaction-composer-simulate.d.ts +0 -13
  1640. package/transaction/perform-atomic-transaction-composer-simulate.js +0 -40
  1641. package/transaction/perform-atomic-transaction-composer-simulate.js.map +0 -1
  1642. package/transaction/perform-atomic-transaction-composer-simulate.mjs +0 -38
  1643. package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +0 -1
  1644. package/transfer/index.d.ts +0 -2
  1645. package/transfer/transfer-algos.d.ts +0 -18
  1646. package/transfer/transfer-algos.js +0 -31
  1647. package/transfer/transfer-algos.js.map +0 -1
  1648. package/transfer/transfer-algos.mjs +0 -29
  1649. package/transfer/transfer-algos.mjs.map +0 -1
  1650. package/transfer/transfer.d.ts +0 -52
  1651. package/transfer/transfer.js +0 -112
  1652. package/transfer/transfer.js.map +0 -1
  1653. package/transfer/transfer.mjs +0 -108
  1654. package/transfer/transfer.mjs.map +0 -1
  1655. package/types/algo-http-client-with-retry.d.ts +0 -12
  1656. package/types/algo-http-client-with-retry.js +0 -94
  1657. package/types/algo-http-client-with-retry.js.map +0 -1
  1658. package/types/algo-http-client-with-retry.mjs +0 -92
  1659. package/types/algo-http-client-with-retry.mjs.map +0 -1
  1660. package/types/app-arc56.d.ts +0 -359
  1661. package/types/app-arc56.js +0 -200
  1662. package/types/app-arc56.js.map +0 -1
  1663. package/types/app-arc56.mjs +0 -191
  1664. package/types/app-arc56.mjs.map +0 -1
  1665. package/types/asset.d.ts +0 -99
  1666. package/types/asset.js +0 -3
  1667. package/types/asset.js.map +0 -1
  1668. package/types/asset.mjs +0 -2
  1669. package/types/asset.mjs.map +0 -1
  1670. package/types/expand.js.map +0 -1
  1671. package/types/expand.mjs.map +0 -1
  1672. package/types/instance-of.js.map +0 -1
  1673. package/types/instance-of.mjs.map +0 -1
  1674. package/types/testing.js.map +0 -1
  1675. package/types/testing.mjs.map +0 -1
  1676. package/types/transaction.js.map +0 -1
  1677. package/types/transaction.mjs.map +0 -1
  1678. package/types/transfer.d.ts +0 -76
  1679. package/types/transfer.js +0 -3
  1680. package/types/transfer.js.map +0 -1
  1681. package/types/transfer.mjs +0 -2
  1682. package/types/transfer.mjs.map +0 -1
  1683. package/util.d.ts +0 -48
@@ -1,1273 +1,1303 @@
1
- import algosdk, { Address } from 'algosdk';
2
- import { SendAppCreateTransactionResult, SendAppTransactionResult, SendAppUpdateTransactionResult } from './app';
3
- import { AppManager } from './app-manager';
4
- import { AssetManager } from './asset-manager';
5
- import { AssetCreateParams, AssetOptOutParams, TransactionComposer } from './composer';
6
- import { SendParams, SendSingleTransactionResult } from './transaction';
1
+ import { ReadableAddress } from "../packages/common/src/address.js";
2
+ import { ABIValue } from "../packages/abi/src/abi-value.js";
3
+ import { ABIMethod, ABIReturn } from "../packages/abi/src/abi-method.js";
4
+ import { AccessReference, OnApplicationComplete } from "../packages/transact/src/transactions/app-call.js";
5
+ import { Transaction } from "../packages/transact/src/transactions/transaction.js";
6
+ import { AddressWithTransactionSigner, SendingAddress, TransactionSigner } from "../packages/transact/src/signer.js";
7
+ import { PendingTransactionResponse } from "../packages/algod_client/src/models/pending-transaction-response.js";
8
+ import { AlgoAmount } from "./amount.js";
9
+ import { AppManager, BoxIdentifier, BoxReference } from "./app-manager.js";
10
+ import { CommonTransactionParams } from "../transactions/common.js";
11
+ import { AppMethodCallParams } from "../transactions/app-call.js";
12
+ import { AssetOptOutParams } from "../transactions/asset-transfer.js";
13
+ import { AssetCreateParams } from "../transactions/asset-config.js";
14
+ import { AppMethodCall } from "../transactions/method-call.js";
15
+ import { SendParams, SendSingleTransactionResult } from "./transaction.js";
16
+ import { TransactionComposer, TransactionComposerConfig } from "./composer.js";
17
+ import { TransactionWithSigner } from "../transaction/transaction.js";
18
+ import { SendAppCreateTransactionResult, SendAppTransactionResult, SendAppUpdateTransactionResult } from "./app.js";
19
+ import { AssetManager } from "./asset-manager.js";
20
+
21
+ //#region src/types/algorand-client-transaction-sender.d.ts
7
22
  /** Orchestrates sending transactions for `AlgorandClient`. */
8
- export declare class AlgorandClientTransactionSender {
9
- private _newGroup;
10
- private _assetManager;
11
- private _appManager;
12
- /**
13
- * Creates a new `AlgorandClientSender`
14
- * @param newGroup A lambda that starts a new `TransactionComposer` transaction group
15
- * @param assetManager An `AssetManager` instance
16
- * @param appManager An `AppManager` instance
17
- * @example
18
- * ```typescript
19
- * const transactionSender = new AlgorandClientTransactionSender(() => new TransactionComposer(), assetManager, appManager)
20
- * ```
21
- */
22
- constructor(newGroup: () => TransactionComposer, assetManager: AssetManager, appManager: AppManager);
23
- /**
24
- * Start a new `TransactionComposer` transaction group
25
- * @returns A new instance of `TransactionComposer`.
26
- * @example
27
- * const composer = AlgorandClient.mainNet().send.newGroup();
28
- * const result = await composer.addTransaction(payment).send()
29
- */
30
- newGroup(): TransactionComposer;
31
- private _send;
32
- private _sendAppCall;
33
- private _sendAppUpdateCall;
34
- private _sendAppCreateCall;
35
- /**
36
- * Send a payment transaction to transfer Algo between accounts.
37
- * @param params The parameters for the payment transaction
38
- * @example Basic example
39
- * ```typescript
40
- * const result = await algorand.send.payment({
41
- * sender: 'SENDERADDRESS',
42
- * receiver: 'RECEIVERADDRESS',
43
- * amount: (4).algo(),
44
- * })
45
- * ```
46
- * @example Advanced example
47
- * ```typescript
48
- * const result = await algorand.send.payment({
49
- * amount: (4).algo(),
50
- * receiver: 'RECEIVERADDRESS',
51
- * sender: 'SENDERADDRESS',
52
- * closeRemainderTo: 'CLOSEREMAINDERTOADDRESS',
53
- * lease: 'lease',
54
- * note: 'note',
55
- * // Use this with caution, it's generally better to use algorand.account.rekeyAccount
56
- * rekeyTo: 'REKEYTOADDRESS',
57
- * // You wouldn't normally set this field
58
- * firstValidRound: 1000n,
59
- * validityWindow: 10,
60
- * extraFee: (1000).microAlgo(),
61
- * staticFee: (1000).microAlgo(),
62
- * // Max fee doesn't make sense with extraFee AND staticFee
63
- * // already specified, but here for completeness
64
- * maxFee: (3000).microAlgo(),
65
- * // Signer only needed if you want to provide one,
66
- * // generally you'd register it with AlgorandClient
67
- * // against the sender and not need to pass it in
68
- * signer: transactionSigner,
69
- * maxRoundsToWaitForConfirmation: 5,
70
- * suppressLog: true,
71
- * })
72
- * ```
73
- * @returns The result of the payment transaction and the transaction that was sent
74
- */
75
- payment: (params: import("./composer").CommonTransactionParams & {
76
- receiver: string | algosdk.Address;
77
- amount: import("./amount").AlgoAmount;
78
- closeRemainderTo?: string | algosdk.Address | undefined;
79
- } & SendParams) => Promise<SendSingleTransactionResult>;
80
- /**
81
- * Create a new Algorand Standard Asset.
82
- *
83
- * The account that sends this transaction will automatically be
84
- * opted in to the asset and will hold all units after creation.
85
- *
86
- * @param params The parameters for the asset creation transaction
87
- *
88
- * @example Basic example
89
- * ```typescript
90
- * await algorand.send.assetCreate({ sender: "CREATORADDRESS", total: 100n})
91
- * ```
92
- * @example Advanced example
93
- * ```typescript
94
- * await algorand.send.assetCreate({
95
- * sender: 'CREATORADDRESS',
96
- * total: 100n,
97
- * decimals: 2,
98
- * assetName: 'asset',
99
- * unitName: 'unit',
100
- * url: 'url',
101
- * metadataHash: 'metadataHash',
102
- * defaultFrozen: false,
103
- * manager: 'MANAGERADDRESS',
104
- * reserve: 'RESERVEADDRESS',
105
- * freeze: 'FREEZEADDRESS',
106
- * clawback: 'CLAWBACKADDRESS',
107
- * lease: 'lease',
108
- * note: 'note',
109
- * // You wouldn't normally set this field
110
- * firstValidRound: 1000n,
111
- * validityWindow: 10,
112
- * extraFee: (1000).microAlgo(),
113
- * staticFee: (1000).microAlgo(),
114
- * // Max fee doesn't make sense with extraFee AND staticFee
115
- * // already specified, but here for completeness
116
- * maxFee: (3000).microAlgo(),
117
- * // Signer only needed if you want to provide one,
118
- * // generally you'd register it with AlgorandClient
119
- * // against the sender and not need to pass it in
120
- * signer: transactionSigner,
121
- * maxRoundsToWaitForConfirmation: 5,
122
- * suppressLog: true,
123
- * })
124
- * ```
125
- * @returns The result of the asset create transaction and the transaction that was sent
126
- */
127
- assetCreate: (params: AssetCreateParams & SendParams) => Promise<{
128
- assetId: bigint;
129
- groupId: string;
130
- txIds: string[];
131
- returns?: import("./app").ABIReturn[] | undefined;
132
- confirmations: algosdk.modelsv2.PendingTransactionResponse[];
133
- transactions: algosdk.Transaction[];
134
- confirmation: algosdk.modelsv2.PendingTransactionResponse;
135
- transaction: algosdk.Transaction;
136
- }>;
137
- /**
138
- * Configure an existing Algorand Standard Asset.
139
- *
140
- * **Note:** The manager, reserve, freeze, and clawback addresses
141
- * are immutably empty if they are not set. If manager is not set then
142
- * all fields are immutable from that point forward.
143
- *
144
- * @param params The parameters for the asset config transaction
145
- *
146
- * @example Basic example
147
- * ```typescript
148
- * await algorand.send.assetConfig({ sender: "MANAGERADDRESS", assetId: 123456n, manager: "MANAGERADDRESS" })
149
- * ```
150
- * @example Advanced example
151
- * ```typescript
152
- * await algorand.send.assetConfig({
153
- * sender: 'MANAGERADDRESS',
154
- * assetId: 123456n,
155
- * manager: 'MANAGERADDRESS',
156
- * reserve: 'RESERVEADDRESS',
157
- * freeze: 'FREEZEADDRESS',
158
- * clawback: 'CLAWBACKADDRESS',
159
- * lease: 'lease',
160
- * note: 'note',
161
- * // You wouldn't normally set this field
162
- * firstValidRound: 1000n,
163
- * validityWindow: 10,
164
- * extraFee: (1000).microAlgo(),
165
- * staticFee: (1000).microAlgo(),
166
- * // Max fee doesn't make sense with extraFee AND staticFee
167
- * // already specified, but here for completeness
168
- * maxFee: (3000).microAlgo(),
169
- * // Signer only needed if you want to provide one,
170
- * // generally you'd register it with AlgorandClient
171
- * // against the sender and not need to pass it in
172
- * signer: transactionSigner,
173
- * maxRoundsToWaitForConfirmation: 5,
174
- * suppressLog: true,
175
- * })
176
- * ```
177
- * @returns The result of the asset config transaction and the transaction that was sent
178
- */
179
- assetConfig: (params: import("./composer").CommonTransactionParams & {
180
- assetId: bigint;
181
- manager: string | algosdk.Address | undefined;
182
- reserve?: string | algosdk.Address | undefined;
183
- freeze?: string | algosdk.Address | undefined;
184
- clawback?: string | algosdk.Address | undefined;
185
- } & SendParams) => Promise<SendSingleTransactionResult>;
186
- /**
187
- * Freeze or unfreeze an Algorand Standard Asset for an account.
188
- *
189
- * @param params The parameters for the asset freeze transaction
190
- *
191
- * @example Basic example
192
- * ```typescript
193
- * await algorand.send.assetFreeze({ sender: "MANAGERADDRESS", assetId: 123456n, account: "ACCOUNTADDRESS", frozen: true })
194
- * ```
195
- * @example Advanced example
196
- * ```typescript
197
- * await algorand.send.assetFreeze({
198
- * sender: 'MANAGERADDRESS',
199
- * assetId: 123456n,
200
- * account: 'ACCOUNTADDRESS',
201
- * frozen: true,
202
- * lease: 'lease',
203
- * note: 'note',
204
- * // You wouldn't normally set this field
205
- * firstValidRound: 1000n,
206
- * validityWindow: 10,
207
- * extraFee: (1000).microAlgo(),
208
- * staticFee: (1000).microAlgo(),
209
- * // Max fee doesn't make sense with extraFee AND staticFee
210
- * // already specified, but here for completeness
211
- * maxFee: (3000).microAlgo(),
212
- * // Signer only needed if you want to provide one,
213
- * // generally you'd register it with AlgorandClient
214
- * // against the sender and not need to pass it in
215
- * signer: transactionSigner,
216
- * maxRoundsToWaitForConfirmation: 5,
217
- * suppressLog: true,
218
- * })
219
- * ```
220
- * @returns The result of the asset freeze transaction and the transaction that was sent
221
- */
222
- assetFreeze: (params: import("./composer").CommonTransactionParams & {
223
- assetId: bigint;
224
- account: string | algosdk.Address;
225
- frozen: boolean;
226
- } & SendParams) => Promise<SendSingleTransactionResult>;
227
- /**
228
- * Destroys an Algorand Standard Asset.
229
- *
230
- * Created assets can be destroyed only by the asset manager account.
231
- * All of the assets must be owned by the creator of the asset before
232
- * the asset can be deleted.
23
+ declare class AlgorandClientTransactionSender {
24
+ private _newGroup;
25
+ private _assetManager;
26
+ private _appManager;
27
+ /**
28
+ * Creates a new `AlgorandClientSender`
29
+ * @param newGroup A lambda that starts a new `TransactionComposer` transaction group
30
+ * @param assetManager An `AssetManager` instance
31
+ * @param appManager An `AppManager` instance
32
+ * @example
33
+ * ```typescript
34
+ * const transactionSender = new AlgorandClientTransactionSender(() => new TransactionComposer(), assetManager, appManager)
35
+ * ```
36
+ */
37
+ constructor(newGroup: (config?: TransactionComposerConfig) => TransactionComposer, assetManager: AssetManager, appManager: AppManager);
38
+ /**
39
+ * Start a new `TransactionComposer` transaction group
40
+ * @returns A new instance of `TransactionComposer`.
41
+ * @example
42
+ * const composer = AlgorandClient.mainNet().send.newGroup();
43
+ * const result = await composer.addTransaction(payment).send()
44
+ */
45
+ newGroup(): TransactionComposer;
46
+ private _send;
47
+ private _sendAppCall;
48
+ private _sendAppUpdateCall;
49
+ private _sendAppCreateCall;
50
+ /**
51
+ * Send a payment transaction to transfer Algo between accounts.
52
+ * @param params The parameters for the payment transaction
53
+ * @example Basic example
54
+ * ```typescript
55
+ * const result = await algorand.send.payment({
56
+ * sender: 'SENDERADDRESS',
57
+ * receiver: 'RECEIVERADDRESS',
58
+ * amount: (4).algo(),
59
+ * })
60
+ * ```
61
+ * @example Advanced example
62
+ * ```typescript
63
+ * const result = await algorand.send.payment({
64
+ * amount: (4).algo(),
65
+ * receiver: 'RECEIVERADDRESS',
66
+ * sender: 'SENDERADDRESS',
67
+ * closeRemainderTo: 'CLOSEREMAINDERTOADDRESS',
68
+ * lease: 'lease',
69
+ * note: 'note',
70
+ * // Use this with caution, it's generally better to use algorand.account.rekeyAccount
71
+ * rekeyTo: 'REKEYTOADDRESS',
72
+ * // You wouldn't normally set this field
73
+ * firstValidRound: 1000n,
74
+ * validityWindow: 10,
75
+ * extraFee: (1000).microAlgo(),
76
+ * staticFee: (1000).microAlgo(),
77
+ * // Max fee doesn't make sense with extraFee AND staticFee
78
+ * // already specified, but here for completeness
79
+ * maxFee: (3000).microAlgo(),
80
+ * // Signer only needed if you want to provide one,
81
+ * // generally you'd register it with AlgorandClient
82
+ * // against the sender and not need to pass it in
83
+ * signer: transactionSigner,
84
+ * maxRoundsToWaitForConfirmation: 5,
85
+ * suppressLog: true,
86
+ * })
87
+ * ```
88
+ * @returns The result of the payment transaction and the transaction that was sent
89
+ */
90
+ payment: (params: CommonTransactionParams & {
91
+ receiver: ReadableAddress;
92
+ amount: AlgoAmount;
93
+ closeRemainderTo?: ReadableAddress | undefined;
94
+ } & SendParams) => Promise<SendSingleTransactionResult>;
95
+ /**
96
+ * Create a new Algorand Standard Asset.
97
+ *
98
+ * The account that sends this transaction will automatically be
99
+ * opted in to the asset and will hold all units after creation.
100
+ *
101
+ * @param params The parameters for the asset creation transaction
102
+ *
103
+ * @example Basic example
104
+ * ```typescript
105
+ * await algorand.send.assetCreate({ sender: "CREATORADDRESS", total: 100n})
106
+ * ```
107
+ * @example Advanced example
108
+ * ```typescript
109
+ * await algorand.send.assetCreate({
110
+ * sender: 'CREATORADDRESS',
111
+ * total: 100n,
112
+ * decimals: 2,
113
+ * assetName: 'asset',
114
+ * unitName: 'unit',
115
+ * url: 'url',
116
+ * metadataHash: 'metadataHash',
117
+ * defaultFrozen: false,
118
+ * manager: 'MANAGERADDRESS',
119
+ * reserve: 'RESERVEADDRESS',
120
+ * freeze: 'FREEZEADDRESS',
121
+ * clawback: 'CLAWBACKADDRESS',
122
+ * lease: 'lease',
123
+ * note: 'note',
124
+ * // You wouldn't normally set this field
125
+ * firstValidRound: 1000n,
126
+ * validityWindow: 10,
127
+ * extraFee: (1000).microAlgo(),
128
+ * staticFee: (1000).microAlgo(),
129
+ * // Max fee doesn't make sense with extraFee AND staticFee
130
+ * // already specified, but here for completeness
131
+ * maxFee: (3000).microAlgo(),
132
+ * // Signer only needed if you want to provide one,
133
+ * // generally you'd register it with AlgorandClient
134
+ * // against the sender and not need to pass it in
135
+ * signer: transactionSigner,
136
+ * maxRoundsToWaitForConfirmation: 5,
137
+ * suppressLog: true,
138
+ * })
139
+ * ```
140
+ * @returns The result of the asset create transaction and the transaction that was sent
141
+ */
142
+ assetCreate: (params: AssetCreateParams & SendParams) => Promise<{
143
+ assetId: bigint;
144
+ groupId: string | undefined;
145
+ txIds: string[];
146
+ returns?: ABIReturn[] | undefined;
147
+ confirmations: PendingTransactionResponse[];
148
+ transactions: Transaction[];
149
+ confirmation: PendingTransactionResponse;
150
+ transaction: Transaction;
151
+ }>;
152
+ /**
153
+ * Configure an existing Algorand Standard Asset.
154
+ *
155
+ * **Note:** The manager, reserve, freeze, and clawback addresses
156
+ * are immutably empty if they are not set. If manager is not set then
157
+ * all fields are immutable from that point forward.
158
+ *
159
+ * @param params The parameters for the asset config transaction
160
+ *
161
+ * @example Basic example
162
+ * ```typescript
163
+ * await algorand.send.assetConfig({ sender: "MANAGERADDRESS", assetId: 123456n, manager: "MANAGERADDRESS" })
164
+ * ```
165
+ * @example Advanced example
166
+ * ```typescript
167
+ * await algorand.send.assetConfig({
168
+ * sender: 'MANAGERADDRESS',
169
+ * assetId: 123456n,
170
+ * manager: 'MANAGERADDRESS',
171
+ * reserve: 'RESERVEADDRESS',
172
+ * freeze: 'FREEZEADDRESS',
173
+ * clawback: 'CLAWBACKADDRESS',
174
+ * lease: 'lease',
175
+ * note: 'note',
176
+ * // You wouldn't normally set this field
177
+ * firstValidRound: 1000n,
178
+ * validityWindow: 10,
179
+ * extraFee: (1000).microAlgo(),
180
+ * staticFee: (1000).microAlgo(),
181
+ * // Max fee doesn't make sense with extraFee AND staticFee
182
+ * // already specified, but here for completeness
183
+ * maxFee: (3000).microAlgo(),
184
+ * // Signer only needed if you want to provide one,
185
+ * // generally you'd register it with AlgorandClient
186
+ * // against the sender and not need to pass it in
187
+ * signer: transactionSigner,
188
+ * maxRoundsToWaitForConfirmation: 5,
189
+ * suppressLog: true,
190
+ * })
191
+ * ```
192
+ * @returns The result of the asset config transaction and the transaction that was sent
193
+ */
194
+ assetConfig: (params: CommonTransactionParams & {
195
+ assetId: bigint;
196
+ manager?: ReadableAddress | undefined;
197
+ reserve?: ReadableAddress | undefined;
198
+ freeze?: ReadableAddress | undefined;
199
+ clawback?: ReadableAddress | undefined;
200
+ } & SendParams) => Promise<SendSingleTransactionResult>;
201
+ /**
202
+ * Freeze or unfreeze an Algorand Standard Asset for an account.
203
+ *
204
+ * @param params The parameters for the asset freeze transaction
205
+ *
206
+ * @example Basic example
207
+ * ```typescript
208
+ * await algorand.send.assetFreeze({ sender: "MANAGERADDRESS", assetId: 123456n, account: "ACCOUNTADDRESS", frozen: true })
209
+ * ```
210
+ * @example Advanced example
211
+ * ```typescript
212
+ * await algorand.send.assetFreeze({
213
+ * sender: 'MANAGERADDRESS',
214
+ * assetId: 123456n,
215
+ * account: 'ACCOUNTADDRESS',
216
+ * frozen: true,
217
+ * lease: 'lease',
218
+ * note: 'note',
219
+ * // You wouldn't normally set this field
220
+ * firstValidRound: 1000n,
221
+ * validityWindow: 10,
222
+ * extraFee: (1000).microAlgo(),
223
+ * staticFee: (1000).microAlgo(),
224
+ * // Max fee doesn't make sense with extraFee AND staticFee
225
+ * // already specified, but here for completeness
226
+ * maxFee: (3000).microAlgo(),
227
+ * // Signer only needed if you want to provide one,
228
+ * // generally you'd register it with AlgorandClient
229
+ * // against the sender and not need to pass it in
230
+ * signer: transactionSigner,
231
+ * maxRoundsToWaitForConfirmation: 5,
232
+ * suppressLog: true,
233
+ * })
234
+ * ```
235
+ * @returns The result of the asset freeze transaction and the transaction that was sent
236
+ */
237
+ assetFreeze: (params: CommonTransactionParams & {
238
+ assetId: bigint;
239
+ account: ReadableAddress;
240
+ frozen: boolean;
241
+ } & SendParams) => Promise<SendSingleTransactionResult>;
242
+ /**
243
+ * Destroys an Algorand Standard Asset.
244
+ *
245
+ * Created assets can be destroyed only by the asset manager account.
246
+ * All of the assets must be owned by the creator of the asset before
247
+ * the asset can be deleted.
248
+ *
249
+ * @param params The parameters for the asset destroy transaction
250
+ *
251
+ * @example Basic example
252
+ * ```typescript
253
+ * await algorand.send.assetDestroy({ sender: "MANAGERADDRESS", assetId: 123456n })
254
+ * ```
255
+ * @example Advanced example
256
+ * ```typescript
257
+ * await algorand.send.assetDestroy({
258
+ * sender: 'MANAGERADDRESS',
259
+ * assetId: 123456n,
260
+ * lease: 'lease',
261
+ * note: 'note',
262
+ * // You wouldn't normally set this field
263
+ * firstValidRound: 1000n,
264
+ * validityWindow: 10,
265
+ * extraFee: (1000).microAlgo(),
266
+ * staticFee: (1000).microAlgo(),
267
+ * // Max fee doesn't make sense with extraFee AND staticFee
268
+ * // already specified, but here for completeness
269
+ * maxFee: (3000).microAlgo(),
270
+ * // Signer only needed if you want to provide one,
271
+ * // generally you'd register it with AlgorandClient
272
+ * // against the sender and not need to pass it in
273
+ * signer: transactionSigner,
274
+ * maxRoundsToWaitForConfirmation: 5,
275
+ * suppressLog: true,
276
+ * })
277
+ * ```
278
+ * @returns The result of the asset destroy transaction and the transaction that was sent
279
+ */
280
+ assetDestroy: (params: CommonTransactionParams & {
281
+ assetId: bigint;
282
+ } & SendParams) => Promise<SendSingleTransactionResult>;
283
+ /**
284
+ * Transfer an Algorand Standard Asset.
285
+ *
286
+ * @param params The parameters for the asset transfer transaction
287
+ *
288
+ * @example Basic example
289
+ * ```typescript
290
+ * await algorand.send.assetTransfer({ sender: "HOLDERADDRESS", assetId: 123456n, amount: 1n, receiver: "RECEIVERADDRESS" })
291
+ * ```
292
+ * @example Advanced example (with clawback)
293
+ * ```typescript
294
+ * await algorand.send.assetTransfer({
295
+ * sender: 'CLAWBACKADDRESS',
296
+ * assetId: 123456n,
297
+ * amount: 1n,
298
+ * receiver: 'RECEIVERADDRESS',
299
+ * clawbackTarget: 'HOLDERADDRESS',
300
+ * // This field needs to be used with caution
301
+ * closeAssetTo: 'ADDRESSTOCLOSETO'
302
+ * lease: 'lease',
303
+ * note: 'note',
304
+ * // You wouldn't normally set this field
305
+ * firstValidRound: 1000n,
306
+ * validityWindow: 10,
307
+ * extraFee: (1000).microAlgo(),
308
+ * staticFee: (1000).microAlgo(),
309
+ * // Max fee doesn't make sense with extraFee AND staticFee
310
+ * // already specified, but here for completeness
311
+ * maxFee: (3000).microAlgo(),
312
+ * // Signer only needed if you want to provide one,
313
+ * // generally you'd register it with AlgorandClient
314
+ * // against the sender and not need to pass it in
315
+ * signer: transactionSigner,
316
+ * maxRoundsToWaitForConfirmation: 5,
317
+ * suppressLog: true,
318
+ * })
319
+ * ```
320
+ * @returns The result of the asset transfer transaction and the transaction that was sent
321
+ */
322
+ assetTransfer: (params: CommonTransactionParams & {
323
+ assetId: bigint;
324
+ amount: bigint;
325
+ receiver: ReadableAddress;
326
+ clawbackTarget?: ReadableAddress | undefined;
327
+ closeAssetTo?: ReadableAddress | undefined;
328
+ } & SendParams) => Promise<SendSingleTransactionResult>;
329
+ /**
330
+ * Opt an account into an Algorand Standard Asset.
331
+ *
332
+ * @param params The parameters for the asset opt-in transaction
333
+ *
334
+ * @example Basic example
335
+ * ```typescript
336
+ * await algorand.send.assetOptIn({ sender: "SENDERADDRESS", assetId: 123456n })
337
+ * ```
338
+ * @example Advanced example
339
+ * ```typescript
340
+ * await algorand.send.assetOptIn({
341
+ * sender: 'SENDERADDRESS',
342
+ * assetId: 123456n,
343
+ * lease: 'lease',
344
+ * note: 'note',
345
+ * // You wouldn't normally set this field
346
+ * firstValidRound: 1000n,
347
+ * validityWindow: 10,
348
+ * extraFee: (1000).microAlgo(),
349
+ * staticFee: (1000).microAlgo(),
350
+ * // Max fee doesn't make sense with extraFee AND staticFee
351
+ * // already specified, but here for completeness
352
+ * maxFee: (3000).microAlgo(),
353
+ * // Signer only needed if you want to provide one,
354
+ * // generally you'd register it with AlgorandClient
355
+ * // against the sender and not need to pass it in
356
+ * signer: transactionSigner,
357
+ * maxRoundsToWaitForConfirmation: 5,
358
+ * suppressLog: true,
359
+ * })
360
+ * ```
361
+ * @returns The result of the asset opt-in transaction and the transaction that was sent
362
+ */
363
+ assetOptIn: (params: CommonTransactionParams & {
364
+ assetId: bigint;
365
+ } & SendParams) => Promise<SendSingleTransactionResult>;
366
+ /**
367
+ * Opt an account out of an Algorand Standard Asset.
368
+ *
369
+ * *Note:* If the account has a balance of the asset,
370
+ * it will not be able to opt-out unless `ensureZeroBalance`
371
+ * is set to `false` (but then the account will lose the assets).
372
+ *
373
+ * @param params The parameters for the asset opt-out transaction
374
+ *
375
+ * @example Basic example (without creator, will be retrieved from algod)
376
+ * ```typescript
377
+ * await algorand.send.assetOptOut({ sender: "SENDERADDRESS", assetId: 123456n, ensureZeroBalance: true })
378
+ * ```
379
+ * @example Basic example (with creator)
380
+ * ```typescript
381
+ * await algorand.send.assetOptOut({ sender: "SENDERADDRESS", creator: "CREATORADDRESS", assetId: 123456n, ensureZeroBalance: true })
382
+ * ```
383
+ * @example Advanced example
384
+ * ```typescript
385
+ * await algorand.send.assetOptOut({
386
+ * sender: 'SENDERADDRESS',
387
+ * assetId: 123456n,
388
+ * creator: 'CREATORADDRESS',
389
+ * ensureZeroBalance: true,
390
+ * lease: 'lease',
391
+ * note: 'note',
392
+ * // You wouldn't normally set this field
393
+ * firstValidRound: 1000n,
394
+ * validityWindow: 10,
395
+ * extraFee: (1000).microAlgo(),
396
+ * staticFee: (1000).microAlgo(),
397
+ * // Max fee doesn't make sense with extraFee AND staticFee
398
+ * // already specified, but here for completeness
399
+ * maxFee: (3000).microAlgo(),
400
+ * // Signer only needed if you want to provide one,
401
+ * // generally you'd register it with AlgorandClient
402
+ * // against the sender and not need to pass it in
403
+ * signer: transactionSigner,
404
+ * maxRoundsToWaitForConfirmation: 5,
405
+ * suppressLog: true,
406
+ * })
407
+ * ```
408
+ * @returns The result of the asset opt-out transaction and the transaction that was sent
409
+ */
410
+ assetOptOut: (params: Omit<AssetOptOutParams, 'creator'> & {
411
+ /** Optional asset creator account address; if not specified it will be retrieved from algod */
412
+ creator?: ReadableAddress;
413
+ /** Whether or not to check if the account has a zero balance first or not.
233
414
  *
234
- * @param params The parameters for the asset destroy transaction
235
- *
236
- * @example Basic example
237
- * ```typescript
238
- * await algorand.send.assetDestroy({ sender: "MANAGERADDRESS", assetId: 123456n })
239
- * ```
240
- * @example Advanced example
241
- * ```typescript
242
- * await algorand.send.assetDestroy({
243
- * sender: 'MANAGERADDRESS',
244
- * assetId: 123456n,
245
- * lease: 'lease',
246
- * note: 'note',
247
- * // You wouldn't normally set this field
248
- * firstValidRound: 1000n,
249
- * validityWindow: 10,
250
- * extraFee: (1000).microAlgo(),
251
- * staticFee: (1000).microAlgo(),
252
- * // Max fee doesn't make sense with extraFee AND staticFee
253
- * // already specified, but here for completeness
254
- * maxFee: (3000).microAlgo(),
255
- * // Signer only needed if you want to provide one,
256
- * // generally you'd register it with AlgorandClient
257
- * // against the sender and not need to pass it in
258
- * signer: transactionSigner,
259
- * maxRoundsToWaitForConfirmation: 5,
260
- * suppressLog: true,
261
- * })
262
- * ```
263
- * @returns The result of the asset destroy transaction and the transaction that was sent
264
- */
265
- assetDestroy: (params: import("./composer").CommonTransactionParams & {
266
- assetId: bigint;
267
- } & SendParams) => Promise<SendSingleTransactionResult>;
268
- /**
269
- * Transfer an Algorand Standard Asset.
270
- *
271
- * @param params The parameters for the asset transfer transaction
272
- *
273
- * @example Basic example
274
- * ```typescript
275
- * await algorand.send.assetTransfer({ sender: "HOLDERADDRESS", assetId: 123456n, amount: 1n, receiver: "RECEIVERADDRESS" })
276
- * ```
277
- * @example Advanced example (with clawback)
278
- * ```typescript
279
- * await algorand.send.assetTransfer({
280
- * sender: 'CLAWBACKADDRESS',
281
- * assetId: 123456n,
282
- * amount: 1n,
283
- * receiver: 'RECEIVERADDRESS',
284
- * clawbackTarget: 'HOLDERADDRESS',
285
- * // This field needs to be used with caution
286
- * closeAssetTo: 'ADDRESSTOCLOSETO'
287
- * lease: 'lease',
288
- * note: 'note',
289
- * // You wouldn't normally set this field
290
- * firstValidRound: 1000n,
291
- * validityWindow: 10,
292
- * extraFee: (1000).microAlgo(),
293
- * staticFee: (1000).microAlgo(),
294
- * // Max fee doesn't make sense with extraFee AND staticFee
295
- * // already specified, but here for completeness
296
- * maxFee: (3000).microAlgo(),
297
- * // Signer only needed if you want to provide one,
298
- * // generally you'd register it with AlgorandClient
299
- * // against the sender and not need to pass it in
300
- * signer: transactionSigner,
301
- * maxRoundsToWaitForConfirmation: 5,
302
- * suppressLog: true,
303
- * })
304
- * ```
305
- * @returns The result of the asset transfer transaction and the transaction that was sent
306
- */
307
- assetTransfer: (params: import("./composer").CommonTransactionParams & {
308
- assetId: bigint;
309
- amount: bigint;
310
- receiver: string | algosdk.Address;
311
- clawbackTarget?: string | algosdk.Address | undefined;
312
- closeAssetTo?: string | algosdk.Address | undefined;
313
- } & SendParams) => Promise<SendSingleTransactionResult>;
314
- /**
315
- * Opt an account into an Algorand Standard Asset.
415
+ * If this is set to `true` and the account has an asset balance it will throw an error.
316
416
  *
317
- * @param params The parameters for the asset opt-in transaction
318
- *
319
- * @example Basic example
320
- * ```typescript
321
- * await algorand.send.assetOptIn({ sender: "SENDERADDRESS", assetId: 123456n })
322
- * ```
323
- * @example Advanced example
324
- * ```typescript
325
- * await algorand.send.assetOptIn({
326
- * sender: 'SENDERADDRESS',
327
- * assetId: 123456n,
328
- * lease: 'lease',
329
- * note: 'note',
330
- * // You wouldn't normally set this field
331
- * firstValidRound: 1000n,
332
- * validityWindow: 10,
333
- * extraFee: (1000).microAlgo(),
334
- * staticFee: (1000).microAlgo(),
335
- * // Max fee doesn't make sense with extraFee AND staticFee
336
- * // already specified, but here for completeness
337
- * maxFee: (3000).microAlgo(),
338
- * // Signer only needed if you want to provide one,
339
- * // generally you'd register it with AlgorandClient
340
- * // against the sender and not need to pass it in
341
- * signer: transactionSigner,
342
- * maxRoundsToWaitForConfirmation: 5,
343
- * suppressLog: true,
344
- * })
345
- * ```
346
- * @returns The result of the asset opt-in transaction and the transaction that was sent
347
- */
348
- assetOptIn: (params: import("./composer").CommonTransactionParams & {
349
- assetId: bigint;
350
- } & SendParams) => Promise<SendSingleTransactionResult>;
351
- /**
352
- * Opt an account out of an Algorand Standard Asset.
353
- *
354
- * *Note:* If the account has a balance of the asset,
355
- * it will not be able to opt-out unless `ensureZeroBalance`
356
- * is set to `false` (but then the account will lose the assets).
357
- *
358
- * @param params The parameters for the asset opt-out transaction
359
- *
360
- * @example Basic example (without creator, will be retrieved from algod)
361
- * ```typescript
362
- * await algorand.send.assetOptOut({ sender: "SENDERADDRESS", assetId: 123456n, ensureZeroBalance: true })
363
- * ```
364
- * @example Basic example (with creator)
365
- * ```typescript
366
- * await algorand.send.assetOptOut({ sender: "SENDERADDRESS", creator: "CREATORADDRESS", assetId: 123456n, ensureZeroBalance: true })
367
- * ```
368
- * @example Advanced example
369
- * ```typescript
370
- * await algorand.send.assetOptOut({
371
- * sender: 'SENDERADDRESS',
372
- * assetId: 123456n,
373
- * creator: 'CREATORADDRESS',
374
- * ensureZeroBalance: true,
375
- * lease: 'lease',
376
- * note: 'note',
377
- * // You wouldn't normally set this field
378
- * firstValidRound: 1000n,
379
- * validityWindow: 10,
380
- * extraFee: (1000).microAlgo(),
381
- * staticFee: (1000).microAlgo(),
382
- * // Max fee doesn't make sense with extraFee AND staticFee
383
- * // already specified, but here for completeness
384
- * maxFee: (3000).microAlgo(),
385
- * // Signer only needed if you want to provide one,
386
- * // generally you'd register it with AlgorandClient
387
- * // against the sender and not need to pass it in
388
- * signer: transactionSigner,
389
- * maxRoundsToWaitForConfirmation: 5,
390
- * suppressLog: true,
391
- * })
392
- * ```
393
- * @returns The result of the asset opt-out transaction and the transaction that was sent
394
- */
395
- assetOptOut: (params: Omit<AssetOptOutParams, 'creator'> & {
396
- /** Optional asset creator account address; if not specified it will be retrieved from algod */
397
- creator?: string | Address;
398
- /** Whether or not to check if the account has a zero balance first or not.
399
- *
400
- * If this is set to `true` and the account has an asset balance it will throw an error.
401
- *
402
- * If this is set to `false` and the account has an asset balance it will lose those assets to the asset creator.
403
- */
404
- ensureZeroBalance: boolean;
405
- } & SendParams) => Promise<{
406
- groupId: string;
407
- txIds: string[];
408
- returns?: import("./app").ABIReturn[] | undefined;
409
- confirmations: algosdk.modelsv2.PendingTransactionResponse[];
410
- transactions: algosdk.Transaction[];
411
- confirmation: algosdk.modelsv2.PendingTransactionResponse;
412
- transaction: algosdk.Transaction;
413
- }>;
414
- /**
415
- * Create a smart contract.
416
- *
417
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
418
- *
419
- * @param params The parameters for the app creation transaction
420
- * @example Basic example
421
- * ```typescript
422
- * const result = await algorand.send.appCreate({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE' })
423
- * const createdAppId = result.appId
424
- * ```
425
- * @example Advanced example
426
- * ```typescript
427
- * await algorand.send.appCreate({
428
- * sender: 'CREATORADDRESS',
429
- * approvalProgram: "TEALCODE",
430
- * clearStateProgram: "TEALCODE",
431
- * schema: {
432
- * globalInts: 1,
433
- * globalByteSlices: 2,
434
- * localInts: 3,
435
- * localByteSlices: 4
436
- * },
437
- * extraProgramPages: 1,
438
- * onComplete: algosdk.OnApplicationComplete.OptInOC,
439
- * args: [new Uint8Array(1, 2, 3, 4)]
440
- * accountReferences: ["ACCOUNT_1"]
441
- * appReferences: [123n, 1234n]
442
- * assetReferences: [12345n]
443
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
444
- * accessReferences: [{ appId: 1234n }]
445
- * lease: 'lease',
446
- * note: 'note',
447
- * // You wouldn't normally set this field
448
- * firstValidRound: 1000n,
449
- * validityWindow: 10,
450
- * extraFee: (1000).microAlgo(),
451
- * staticFee: (1000).microAlgo(),
452
- * // Max fee doesn't make sense with extraFee AND staticFee
453
- * // already specified, but here for completeness
454
- * maxFee: (3000).microAlgo(),
455
- * // Signer only needed if you want to provide one,
456
- * // generally you'd register it with AlgorandClient
457
- * // against the sender and not need to pass it in
458
- * signer: transactionSigner,
459
- * maxRoundsToWaitForConfirmation: 5,
460
- * suppressLog: true,
461
- *})
462
- * ```
463
- * @returns The result of the app create transaction and the transaction that was sent
464
- */
465
- appCreate: (params: {
466
- sender: string | algosdk.Address;
467
- maxFee?: import("./amount").AlgoAmount | undefined;
468
- note?: string | Uint8Array | undefined;
469
- args?: Uint8Array[] | undefined;
470
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
471
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
472
- lease?: string | Uint8Array | undefined;
473
- rekeyTo?: string | algosdk.Address | undefined;
474
- staticFee?: import("./amount").AlgoAmount | undefined;
475
- extraFee?: import("./amount").AlgoAmount | undefined;
476
- validityWindow?: number | bigint | undefined;
477
- firstValidRound?: bigint | undefined;
478
- lastValidRound?: bigint | undefined;
479
- accountReferences?: (string | algosdk.Address)[] | undefined;
480
- appReferences?: bigint[] | undefined;
481
- assetReferences?: bigint[] | undefined;
482
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
483
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
484
- approvalProgram: string | Uint8Array;
485
- clearStateProgram: string | Uint8Array;
486
- schema?: {
487
- globalInts: number;
488
- globalByteSlices: number;
489
- localInts: number;
490
- localByteSlices: number;
491
- } | undefined;
492
- extraProgramPages?: number | undefined;
493
- } & SendParams) => Promise<SendAppCreateTransactionResult>;
494
- /**
495
- * Update a smart contract.
496
- *
497
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
498
- *
499
- * @param params The parameters for the app update transaction
500
- * @example Basic example
501
- * ```typescript
502
- * await algorand.send.appUpdate({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE' })
503
- * ```
504
- * @example Advanced example
505
- * ```typescript
506
- * await algorand.send.appUpdate({
507
- * sender: 'CREATORADDRESS',
508
- * approvalProgram: "TEALCODE",
509
- * clearStateProgram: "TEALCODE",
510
- * onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC,
511
- * args: [new Uint8Array(1, 2, 3, 4)]
512
- * accountReferences: ["ACCOUNT_1"]
513
- * appReferences: [123n, 1234n]
514
- * assetReferences: [12345n]
515
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
516
- * accessReferences: [{ appId: 1234n }]
517
- * lease: 'lease',
518
- * note: 'note',
519
- * // You wouldn't normally set this field
520
- * firstValidRound: 1000n,
521
- * validityWindow: 10,
522
- * extraFee: (1000).microAlgo(),
523
- * staticFee: (1000).microAlgo(),
524
- * // Max fee doesn't make sense with extraFee AND staticFee
525
- * // already specified, but here for completeness
526
- * maxFee: (3000).microAlgo(),
527
- * // Signer only needed if you want to provide one,
528
- * // generally you'd register it with AlgorandClient
529
- * // against the sender and not need to pass it in
530
- * signer: transactionSigner,
531
- * maxRoundsToWaitForConfirmation: 5,
532
- * suppressLog: true,
533
- *})
534
- * ```
535
- * @returns The result of the app update transaction and the transaction that was sent
536
- */
537
- appUpdate: (params: {
538
- sender: string | algosdk.Address;
539
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
540
- rekeyTo?: string | algosdk.Address | undefined;
541
- note?: string | Uint8Array | undefined;
542
- lease?: string | Uint8Array | undefined;
543
- staticFee?: import("./amount").AlgoAmount | undefined;
544
- extraFee?: import("./amount").AlgoAmount | undefined;
545
- maxFee?: import("./amount").AlgoAmount | undefined;
546
- validityWindow?: number | bigint | undefined;
547
- firstValidRound?: bigint | undefined;
548
- lastValidRound?: bigint | undefined;
549
- appId: bigint;
550
- onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
551
- args?: Uint8Array[] | undefined;
552
- accountReferences?: (string | algosdk.Address)[] | undefined;
553
- appReferences?: bigint[] | undefined;
554
- assetReferences?: bigint[] | undefined;
555
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
556
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
557
- approvalProgram: string | Uint8Array;
558
- clearStateProgram: string | Uint8Array;
559
- } & SendParams) => Promise<SendAppUpdateTransactionResult>;
560
- /**
561
- * Delete a smart contract.
562
- *
563
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
564
- *
565
- * @param params The parameters for the app deletion transaction
566
- * @example Basic example
567
- * ```typescript
568
- * await algorand.send.appDelete({ sender: 'CREATORADDRESS' })
569
- * ```
570
- * @example Advanced example
571
- * ```typescript
572
- * await algorand.send.appDelete({
573
- * sender: 'CREATORADDRESS',
574
- * onComplete: algosdk.OnApplicationComplete.DeleteApplicationOC,
575
- * args: [new Uint8Array(1, 2, 3, 4)]
576
- * accountReferences: ["ACCOUNT_1"]
577
- * appReferences: [123n, 1234n]
578
- * assetReferences: [12345n]
579
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
580
- * accessReferences: [{ appId: 1234n }]
581
- * lease: 'lease',
582
- * note: 'note',
583
- * // You wouldn't normally set this field
584
- * firstValidRound: 1000n,
585
- * validityWindow: 10,
586
- * extraFee: (1000).microAlgo(),
587
- * staticFee: (1000).microAlgo(),
588
- * // Max fee doesn't make sense with extraFee AND staticFee
589
- * // already specified, but here for completeness
590
- * maxFee: (3000).microAlgo(),
591
- * // Signer only needed if you want to provide one,
592
- * // generally you'd register it with AlgorandClient
593
- * // against the sender and not need to pass it in
594
- * signer: transactionSigner,
595
- * maxRoundsToWaitForConfirmation: 5,
596
- * suppressLog: true,
597
- *})
598
- * ```
599
- * @returns The result of the app delete transaction and the transaction that was sent
600
- */
601
- appDelete: (params: import("./composer").CommonTransactionParams & {
602
- appId: bigint;
603
- onComplete?: algosdk.OnApplicationComplete | undefined;
604
- args?: Uint8Array[] | undefined;
605
- accountReferences?: (string | algosdk.Address)[] | undefined;
606
- appReferences?: bigint[] | undefined;
607
- assetReferences?: bigint[] | undefined;
608
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
609
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
610
- } & {
611
- onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
612
- } & SendParams) => Promise<SendAppTransactionResult>;
613
- /**
614
- * Call a smart contract.
615
- *
616
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
617
- *
618
- * @param params The parameters for the app call transaction
619
- * @example Basic example
620
- * ```typescript
621
- * await algorand.send.appCall({ sender: 'CREATORADDRESS' })
622
- * ```
623
- * @example Advanced example
624
- * ```typescript
625
- * await algorand.send.appCall({
626
- * sender: 'CREATORADDRESS',
627
- * onComplete: algosdk.OnApplicationComplete.OptInOC,
628
- * args: [new Uint8Array(1, 2, 3, 4)]
629
- * accountReferences: ["ACCOUNT_1"]
630
- * appReferences: [123n, 1234n]
631
- * assetReferences: [12345n]
632
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
633
- * accessReferences: [{ appId: 1234n }]
634
- * lease: 'lease',
635
- * note: 'note',
636
- * // You wouldn't normally set this field
637
- * firstValidRound: 1000n,
638
- * validityWindow: 10,
639
- * extraFee: (1000).microAlgo(),
640
- * staticFee: (1000).microAlgo(),
641
- * // Max fee doesn't make sense with extraFee AND staticFee
642
- * // already specified, but here for completeness
643
- * maxFee: (3000).microAlgo(),
644
- * // Signer only needed if you want to provide one,
645
- * // generally you'd register it with AlgorandClient
646
- * // against the sender and not need to pass it in
647
- * signer: transactionSigner,
648
- * maxRoundsToWaitForConfirmation: 5,
649
- * suppressLog: true,
650
- *})
651
- * ```
652
- * @returns The result of the app call transaction and the transaction that was sent
653
- */
654
- appCall: (params: import("./composer").CommonTransactionParams & {
655
- appId: bigint;
656
- onComplete?: algosdk.OnApplicationComplete | undefined;
657
- args?: Uint8Array[] | undefined;
658
- accountReferences?: (string | algosdk.Address)[] | undefined;
659
- appReferences?: bigint[] | undefined;
660
- assetReferences?: bigint[] | undefined;
661
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
662
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
663
- } & {
664
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.ClearStateOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
665
- } & SendParams) => Promise<SendAppTransactionResult>;
666
- /**
667
- * Create a smart contract via an ABI method.
668
- *
669
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
670
- *
671
- * @param params The parameters for the app creation transaction
672
- * @example Basic example
673
- * ```typescript
674
- * const method = new ABIMethod({
675
- * name: 'method',
676
- * args: [{ name: 'arg1', type: 'string' }],
677
- * returns: { type: 'string' },
678
- * })
679
- * const result = await algorand.send.appCreateMethodCall({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE', method: method, args: ["arg1_value"] })
680
- * const createdAppId = result.appId
681
- * ```
682
- * @example Advanced example
683
- * ```typescript
684
- * const method = new ABIMethod({
685
- * name: 'method',
686
- * args: [{ name: 'arg1', type: 'string' }],
687
- * returns: { type: 'string' },
688
- * })
689
- * await algorand.send.appCreateMethodCall({
690
- * sender: 'CREATORADDRESS',
691
- * method: method,
692
- * args: ["arg1_value"],
693
- * approvalProgram: "TEALCODE",
694
- * clearStateProgram: "TEALCODE",
695
- * schema: {
696
- * globalInts: 1,
697
- * globalByteSlices: 2,
698
- * localInts: 3,
699
- * localByteSlices: 4
700
- * },
701
- * extraProgramPages: 1,
702
- * onComplete: algosdk.OnApplicationComplete.OptInOC,
703
- * args: [new Uint8Array(1, 2, 3, 4)]
704
- * accountReferences: ["ACCOUNT_1"]
705
- * appReferences: [123n, 1234n]
706
- * assetReferences: [12345n]
707
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
708
- * accessReferences: [{ appId: 1234n }]
709
- * lease: 'lease',
710
- * note: 'note',
711
- * // You wouldn't normally set this field
712
- * firstValidRound: 1000n,
713
- * validityWindow: 10,
714
- * extraFee: (1000).microAlgo(),
715
- * staticFee: (1000).microAlgo(),
716
- * // Max fee doesn't make sense with extraFee AND staticFee
717
- * // already specified, but here for completeness
718
- * maxFee: (3000).microAlgo(),
719
- * // Signer only needed if you want to provide one,
720
- * // generally you'd register it with AlgorandClient
721
- * // against the sender and not need to pass it in
722
- * signer: transactionSigner,
723
- * maxRoundsToWaitForConfirmation: 5,
724
- * suppressLog: true,
725
- *})
726
- * ```
727
- * @returns The result of the application ABI method create transaction and the transaction that was sent
728
- */
729
- appCreateMethodCall: (params: {
730
- sender: string | algosdk.Address;
731
- maxFee?: import("./amount").AlgoAmount | undefined;
732
- approvalProgram: string | Uint8Array;
733
- clearStateProgram: string | Uint8Array;
734
- note?: string | Uint8Array | undefined;
735
- schema?: {
736
- globalInts: number;
737
- globalByteSlices: number;
738
- localInts: number;
739
- localByteSlices: number;
740
- } | undefined;
741
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
742
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
743
- lease?: string | Uint8Array | undefined;
744
- rekeyTo?: string | algosdk.Address | undefined;
745
- extraProgramPages?: number | undefined;
746
- staticFee?: import("./amount").AlgoAmount | undefined;
747
- extraFee?: import("./amount").AlgoAmount | undefined;
748
- validityWindow?: number | bigint | undefined;
749
- firstValidRound?: bigint | undefined;
750
- lastValidRound?: bigint | undefined;
751
- accountReferences?: (string | algosdk.Address)[] | undefined;
752
- appReferences?: bigint[] | undefined;
753
- assetReferences?: bigint[] | undefined;
754
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
755
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
756
- } & {
757
- method: algosdk.ABIMethod;
758
- args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
759
- sender: string | algosdk.Address;
760
- maxFee?: import("./amount").AlgoAmount | undefined;
761
- note?: string | Uint8Array | undefined;
762
- args?: Uint8Array[] | undefined;
763
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
764
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
765
- lease?: string | Uint8Array | undefined;
766
- rekeyTo?: string | algosdk.Address | undefined;
767
- staticFee?: import("./amount").AlgoAmount | undefined;
768
- extraFee?: import("./amount").AlgoAmount | undefined;
769
- validityWindow?: number | bigint | undefined;
770
- firstValidRound?: bigint | undefined;
771
- lastValidRound?: bigint | undefined;
772
- accountReferences?: (string | algosdk.Address)[] | undefined;
773
- appReferences?: bigint[] | undefined;
774
- assetReferences?: bigint[] | undefined;
775
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
776
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
777
- approvalProgram: string | Uint8Array;
778
- clearStateProgram: string | Uint8Array;
779
- schema?: {
780
- globalInts: number;
781
- globalByteSlices: number;
782
- localInts: number;
783
- localByteSlices: number;
784
- } | undefined;
785
- extraProgramPages?: number | undefined;
786
- }> | import("./composer").AppMethodCall<{
787
- sender: string | algosdk.Address;
788
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
789
- rekeyTo?: string | algosdk.Address | undefined;
790
- note?: string | Uint8Array | undefined;
791
- lease?: string | Uint8Array | undefined;
792
- staticFee?: import("./amount").AlgoAmount | undefined;
793
- extraFee?: import("./amount").AlgoAmount | undefined;
794
- maxFee?: import("./amount").AlgoAmount | undefined;
795
- validityWindow?: number | bigint | undefined;
796
- firstValidRound?: bigint | undefined;
797
- lastValidRound?: bigint | undefined;
798
- appId: bigint;
799
- onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
800
- args?: Uint8Array[] | undefined;
801
- accountReferences?: (string | algosdk.Address)[] | undefined;
802
- appReferences?: bigint[] | undefined;
803
- assetReferences?: bigint[] | undefined;
804
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
805
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
806
- approvalProgram: string | Uint8Array;
807
- clearStateProgram: string | Uint8Array;
808
- }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
809
- } & SendParams) => Promise<SendAppCreateTransactionResult>;
810
- /**
811
- * Update a smart contract via an ABI method.
812
- *
813
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
814
- *
815
- * @param params The parameters for the app update transaction
816
- * @example Basic example
817
- * ```typescript
818
- * const method = new ABIMethod({
819
- * name: 'method',
820
- * args: [{ name: 'arg1', type: 'string' }],
821
- * returns: { type: 'string' },
822
- * })
823
- * await algorand.send.appUpdateMethodCall({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE', method: method, args: ["arg1_value"] })
824
- * ```
825
- * @example Advanced example
826
- * ```typescript
827
- * const method = new ABIMethod({
828
- * name: 'method',
829
- * args: [{ name: 'arg1', type: 'string' }],
830
- * returns: { type: 'string' },
831
- * })
832
- * await algorand.send.appUpdateMethodCall({
833
- * sender: 'CREATORADDRESS',
834
- * method: method,
835
- * args: ["arg1_value"],
836
- * approvalProgram: "TEALCODE",
837
- * clearStateProgram: "TEALCODE",
838
- * onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC,
839
- * args: [new Uint8Array(1, 2, 3, 4)]
840
- * accountReferences: ["ACCOUNT_1"]
841
- * appReferences: [123n, 1234n]
842
- * assetReferences: [12345n]
843
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
844
- * accessReferences: [{ appId: 1234n }]
845
- * lease: 'lease',
846
- * note: 'note',
847
- * // You wouldn't normally set this field
848
- * firstValidRound: 1000n,
849
- * validityWindow: 10,
850
- * extraFee: (1000).microAlgo(),
851
- * staticFee: (1000).microAlgo(),
852
- * // Max fee doesn't make sense with extraFee AND staticFee
853
- * // already specified, but here for completeness
854
- * maxFee: (3000).microAlgo(),
855
- * // Signer only needed if you want to provide one,
856
- * // generally you'd register it with AlgorandClient
857
- * // against the sender and not need to pass it in
858
- * signer: transactionSigner,
859
- * maxRoundsToWaitForConfirmation: 5,
860
- * suppressLog: true,
861
- *})
862
- * ```
863
- * @returns The result of the application ABI method update transaction and the transaction that was sent
864
- */
865
- appUpdateMethodCall: (params: {
866
- sender: string | algosdk.Address;
867
- maxFee?: import("./amount").AlgoAmount | undefined;
868
- approvalProgram: string | Uint8Array;
869
- clearStateProgram: string | Uint8Array;
870
- note?: string | Uint8Array | undefined;
871
- appId: bigint;
872
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
873
- onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
874
- lease?: string | Uint8Array | undefined;
875
- rekeyTo?: string | algosdk.Address | undefined;
876
- staticFee?: import("./amount").AlgoAmount | undefined;
877
- extraFee?: import("./amount").AlgoAmount | undefined;
878
- validityWindow?: number | bigint | undefined;
879
- firstValidRound?: bigint | undefined;
880
- lastValidRound?: bigint | undefined;
881
- accountReferences?: (string | algosdk.Address)[] | undefined;
882
- appReferences?: bigint[] | undefined;
883
- assetReferences?: bigint[] | undefined;
884
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
885
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
886
- } & {
887
- method: algosdk.ABIMethod;
888
- args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
889
- sender: string | algosdk.Address;
890
- maxFee?: import("./amount").AlgoAmount | undefined;
891
- note?: string | Uint8Array | undefined;
892
- args?: Uint8Array[] | undefined;
893
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
894
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
895
- lease?: string | Uint8Array | undefined;
896
- rekeyTo?: string | algosdk.Address | undefined;
897
- staticFee?: import("./amount").AlgoAmount | undefined;
898
- extraFee?: import("./amount").AlgoAmount | undefined;
899
- validityWindow?: number | bigint | undefined;
900
- firstValidRound?: bigint | undefined;
901
- lastValidRound?: bigint | undefined;
902
- accountReferences?: (string | algosdk.Address)[] | undefined;
903
- appReferences?: bigint[] | undefined;
904
- assetReferences?: bigint[] | undefined;
905
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
906
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
907
- approvalProgram: string | Uint8Array;
908
- clearStateProgram: string | Uint8Array;
909
- schema?: {
910
- globalInts: number;
911
- globalByteSlices: number;
912
- localInts: number;
913
- localByteSlices: number;
914
- } | undefined;
915
- extraProgramPages?: number | undefined;
916
- }> | import("./composer").AppMethodCall<{
917
- sender: string | algosdk.Address;
918
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
919
- rekeyTo?: string | algosdk.Address | undefined;
920
- note?: string | Uint8Array | undefined;
921
- lease?: string | Uint8Array | undefined;
922
- staticFee?: import("./amount").AlgoAmount | undefined;
923
- extraFee?: import("./amount").AlgoAmount | undefined;
924
- maxFee?: import("./amount").AlgoAmount | undefined;
925
- validityWindow?: number | bigint | undefined;
926
- firstValidRound?: bigint | undefined;
927
- lastValidRound?: bigint | undefined;
928
- appId: bigint;
929
- onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
930
- args?: Uint8Array[] | undefined;
931
- accountReferences?: (string | algosdk.Address)[] | undefined;
932
- appReferences?: bigint[] | undefined;
933
- assetReferences?: bigint[] | undefined;
934
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
935
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
936
- approvalProgram: string | Uint8Array;
937
- clearStateProgram: string | Uint8Array;
938
- }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
939
- } & SendParams) => Promise<SendAppUpdateTransactionResult>;
940
- /**
941
- * Delete a smart contract via an ABI method.
942
- *
943
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
944
- *
945
- * @param params The parameters for the app deletion transaction
946
- * @example Basic example
947
- * ```typescript
948
- * const method = new ABIMethod({
949
- * name: 'method',
950
- * args: [{ name: 'arg1', type: 'string' }],
951
- * returns: { type: 'string' },
952
- * })
953
- * await algorand.send.appDeleteMethodCall({ sender: 'CREATORADDRESS', method: method, args: ["arg1_value"] })
954
- * ```
955
- * @example Advanced example
956
- * ```typescript
957
- * const method = new ABIMethod({
958
- * name: 'method',
959
- * args: [{ name: 'arg1', type: 'string' }],
960
- * returns: { type: 'string' },
961
- * })
962
- * await algorand.send.appDeleteMethodCall({
963
- * sender: 'CREATORADDRESS',
964
- * method: method,
965
- * args: ["arg1_value"],
966
- * onComplete: algosdk.OnApplicationComplete.DeleteApplicationOC,
967
- * args: [new Uint8Array(1, 2, 3, 4)]
968
- * accountReferences: ["ACCOUNT_1"]
969
- * appReferences: [123n, 1234n]
970
- * assetReferences: [12345n]
971
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
972
- * accessReferences: [{ appId: 1234n }]
973
- * lease: 'lease',
974
- * note: 'note',
975
- * // You wouldn't normally set this field
976
- * firstValidRound: 1000n,
977
- * validityWindow: 10,
978
- * extraFee: (1000).microAlgo(),
979
- * staticFee: (1000).microAlgo(),
980
- * // Max fee doesn't make sense with extraFee AND staticFee
981
- * // already specified, but here for completeness
982
- * maxFee: (3000).microAlgo(),
983
- * // Signer only needed if you want to provide one,
984
- * // generally you'd register it with AlgorandClient
985
- * // against the sender and not need to pass it in
986
- * signer: transactionSigner,
987
- * maxRoundsToWaitForConfirmation: 5,
988
- * suppressLog: true,
989
- *})
990
- * ```
991
- * @returns The result of the application ABI method delete transaction and the transaction that was sent
992
- */
993
- appDeleteMethodCall: (params: {
994
- sender: string | algosdk.Address;
995
- maxFee?: import("./amount").AlgoAmount | undefined;
996
- note?: string | Uint8Array | undefined;
997
- appId: bigint;
998
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
999
- onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1000
- lease?: string | Uint8Array | undefined;
1001
- rekeyTo?: string | algosdk.Address | undefined;
1002
- staticFee?: import("./amount").AlgoAmount | undefined;
1003
- extraFee?: import("./amount").AlgoAmount | undefined;
1004
- validityWindow?: number | bigint | undefined;
1005
- firstValidRound?: bigint | undefined;
1006
- lastValidRound?: bigint | undefined;
1007
- accountReferences?: (string | algosdk.Address)[] | undefined;
1008
- appReferences?: bigint[] | undefined;
1009
- assetReferences?: bigint[] | undefined;
1010
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1011
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1012
- } & {
1013
- method: algosdk.ABIMethod;
1014
- args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
1015
- sender: string | algosdk.Address;
1016
- maxFee?: import("./amount").AlgoAmount | undefined;
1017
- note?: string | Uint8Array | undefined;
1018
- args?: Uint8Array[] | undefined;
1019
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1020
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1021
- lease?: string | Uint8Array | undefined;
1022
- rekeyTo?: string | algosdk.Address | undefined;
1023
- staticFee?: import("./amount").AlgoAmount | undefined;
1024
- extraFee?: import("./amount").AlgoAmount | undefined;
1025
- validityWindow?: number | bigint | undefined;
1026
- firstValidRound?: bigint | undefined;
1027
- lastValidRound?: bigint | undefined;
1028
- accountReferences?: (string | algosdk.Address)[] | undefined;
1029
- appReferences?: bigint[] | undefined;
1030
- assetReferences?: bigint[] | undefined;
1031
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1032
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1033
- approvalProgram: string | Uint8Array;
1034
- clearStateProgram: string | Uint8Array;
1035
- schema?: {
1036
- globalInts: number;
1037
- globalByteSlices: number;
1038
- localInts: number;
1039
- localByteSlices: number;
1040
- } | undefined;
1041
- extraProgramPages?: number | undefined;
1042
- }> | import("./composer").AppMethodCall<{
1043
- sender: string | algosdk.Address;
1044
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1045
- rekeyTo?: string | algosdk.Address | undefined;
1046
- note?: string | Uint8Array | undefined;
1047
- lease?: string | Uint8Array | undefined;
1048
- staticFee?: import("./amount").AlgoAmount | undefined;
1049
- extraFee?: import("./amount").AlgoAmount | undefined;
1050
- maxFee?: import("./amount").AlgoAmount | undefined;
1051
- validityWindow?: number | bigint | undefined;
1052
- firstValidRound?: bigint | undefined;
1053
- lastValidRound?: bigint | undefined;
1054
- appId: bigint;
1055
- onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
1056
- args?: Uint8Array[] | undefined;
1057
- accountReferences?: (string | algosdk.Address)[] | undefined;
1058
- appReferences?: bigint[] | undefined;
1059
- assetReferences?: bigint[] | undefined;
1060
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1061
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1062
- approvalProgram: string | Uint8Array;
1063
- clearStateProgram: string | Uint8Array;
1064
- }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
1065
- } & SendParams) => Promise<SendAppTransactionResult>;
1066
- /**
1067
- * Call a smart contract via an ABI method.
1068
- *
1069
- * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
1070
- *
1071
- * @param params The parameters for the app call transaction
1072
- * @example Basic example
1073
- * ```typescript
1074
- * const method = new ABIMethod({
1075
- * name: 'method',
1076
- * args: [{ name: 'arg1', type: 'string' }],
1077
- * returns: { type: 'string' },
1078
- * })
1079
- * await algorand.send.appCallMethodCall({ sender: 'CREATORADDRESS', method: method, args: ["arg1_value"] })
1080
- * ```
1081
- * @example Advanced example
1082
- * ```typescript
1083
- * const method = new ABIMethod({
1084
- * name: 'method',
1085
- * args: [{ name: 'arg1', type: 'string' }],
1086
- * returns: { type: 'string' },
1087
- * })
1088
- * await algorand.send.appCallMethodCall({
1089
- * sender: 'CREATORADDRESS',
1090
- * method: method,
1091
- * args: ["arg1_value"],
1092
- * onComplete: algosdk.OnApplicationComplete.OptInOC,
1093
- * args: [new Uint8Array(1, 2, 3, 4)]
1094
- * accountReferences: ["ACCOUNT_1"]
1095
- * appReferences: [123n, 1234n]
1096
- * assetReferences: [12345n]
1097
- * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
1098
- * accessReferences: [{ appId: 1234n }]
1099
- * lease: 'lease',
1100
- * note: 'note',
1101
- * // You wouldn't normally set this field
1102
- * firstValidRound: 1000n,
1103
- * validityWindow: 10,
1104
- * extraFee: (1000).microAlgo(),
1105
- * staticFee: (1000).microAlgo(),
1106
- * // Max fee doesn't make sense with extraFee AND staticFee
1107
- * // already specified, but here for completeness
1108
- * maxFee: (3000).microAlgo(),
1109
- * // Signer only needed if you want to provide one,
1110
- * // generally you'd register it with AlgorandClient
1111
- * // against the sender and not need to pass it in
1112
- * signer: transactionSigner,
1113
- * maxRoundsToWaitForConfirmation: 5,
1114
- * suppressLog: true,
1115
- *})
1116
- * ```
1117
- * @returns The result of the application ABI method call transaction and the transaction that was sent
1118
- */
1119
- appCallMethodCall: (params: {
1120
- sender: string | algosdk.Address;
1121
- maxFee?: import("./amount").AlgoAmount | undefined;
1122
- note?: string | Uint8Array | undefined;
1123
- appId: bigint;
1124
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1125
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1126
- lease?: string | Uint8Array | undefined;
1127
- rekeyTo?: string | algosdk.Address | undefined;
1128
- staticFee?: import("./amount").AlgoAmount | undefined;
1129
- extraFee?: import("./amount").AlgoAmount | undefined;
1130
- validityWindow?: number | bigint | undefined;
1131
- firstValidRound?: bigint | undefined;
1132
- lastValidRound?: bigint | undefined;
1133
- accountReferences?: (string | algosdk.Address)[] | undefined;
1134
- appReferences?: bigint[] | undefined;
1135
- assetReferences?: bigint[] | undefined;
1136
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1137
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1138
- } & {
1139
- method: algosdk.ABIMethod;
1140
- args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
1141
- sender: string | algosdk.Address;
1142
- maxFee?: import("./amount").AlgoAmount | undefined;
1143
- note?: string | Uint8Array | undefined;
1144
- args?: Uint8Array[] | undefined;
1145
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1146
- onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
1147
- lease?: string | Uint8Array | undefined;
1148
- rekeyTo?: string | algosdk.Address | undefined;
1149
- staticFee?: import("./amount").AlgoAmount | undefined;
1150
- extraFee?: import("./amount").AlgoAmount | undefined;
1151
- validityWindow?: number | bigint | undefined;
1152
- firstValidRound?: bigint | undefined;
1153
- lastValidRound?: bigint | undefined;
1154
- accountReferences?: (string | algosdk.Address)[] | undefined;
1155
- appReferences?: bigint[] | undefined;
1156
- assetReferences?: bigint[] | undefined;
1157
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1158
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1159
- approvalProgram: string | Uint8Array;
1160
- clearStateProgram: string | Uint8Array;
1161
- schema?: {
1162
- globalInts: number;
1163
- globalByteSlices: number;
1164
- localInts: number;
1165
- localByteSlices: number;
1166
- } | undefined;
1167
- extraProgramPages?: number | undefined;
1168
- }> | import("./composer").AppMethodCall<{
1169
- sender: string | algosdk.Address;
1170
- signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
1171
- rekeyTo?: string | algosdk.Address | undefined;
1172
- note?: string | Uint8Array | undefined;
1173
- lease?: string | Uint8Array | undefined;
1174
- staticFee?: import("./amount").AlgoAmount | undefined;
1175
- extraFee?: import("./amount").AlgoAmount | undefined;
1176
- maxFee?: import("./amount").AlgoAmount | undefined;
1177
- validityWindow?: number | bigint | undefined;
1178
- firstValidRound?: bigint | undefined;
1179
- lastValidRound?: bigint | undefined;
1180
- appId: bigint;
1181
- onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
1182
- args?: Uint8Array[] | undefined;
1183
- accountReferences?: (string | algosdk.Address)[] | undefined;
1184
- appReferences?: bigint[] | undefined;
1185
- assetReferences?: bigint[] | undefined;
1186
- boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1187
- accessReferences?: import("./app-manager").AccessReference[] | undefined;
1188
- approvalProgram: string | Uint8Array;
1189
- clearStateProgram: string | Uint8Array;
1190
- }> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
1191
- } & SendParams) => Promise<SendAppTransactionResult>;
1192
- /**
1193
- * Register an online key.
1194
- * @param params The parameters for the key registration transaction
1195
- * @example Basic example
1196
- * ```typescript
1197
- * const result = await algorand.send.onlineKeyRegistration({
1198
- * sender: 'SENDERADDRESS',
1199
- * voteKey: Uint8Array.from(Buffer.from("voteKeyBase64", 'base64')),
1200
- * selectionKey: Uint8Array.from(Buffer.from("selectionKeyBase64", 'base64')),
1201
- * stateProofKey: Uint8Array.from(Buffer.from("stateProofKeyBase64", 'base64')),
1202
- * voteFirst: 1n,
1203
- * voteLast: 1000n,
1204
- * voteKeyDilution: 1n,
1205
- * })
1206
- * ```
1207
- * @example Advanced example
1208
- * ```typescript
1209
- * const result = await algorand.send.onlineKeyRegistration({
1210
- * sender: 'SENDERADDRESS',
1211
- * voteKey: Uint8Array.from(Buffer.from("voteKeyBase64", 'base64')),
1212
- * selectionKey: Uint8Array.from(Buffer.from("selectionKeyBase64", 'base64')),
1213
- * stateProofKey: Uint8Array.from(Buffer.from("stateProofKeyBase64", 'base64')),
1214
- * voteFirst: 1n,
1215
- * voteLast: 1000n,
1216
- * voteKeyDilution: 1n,
1217
- * lease: 'lease',
1218
- * note: 'note',
1219
- * // Use this with caution, it's generally better to use algorand.account.rekeyAccount
1220
- * rekeyTo: 'REKEYTOADDRESS',
1221
- * // You wouldn't normally set this field
1222
- * firstValidRound: 1000n,
1223
- * validityWindow: 10,
1224
- * extraFee: (1000).microAlgo(),
1225
- * staticFee: (1000).microAlgo(),
1226
- * // Max fee doesn't make sense with extraFee AND staticFee
1227
- * // already specified, but here for completeness
1228
- * maxFee: (3000).microAlgo(),
1229
- * })
1230
- * ```
1231
- * @returns The result of the online key registration transaction and the transaction that was sent
1232
- */
1233
- onlineKeyRegistration: (params: import("./composer").CommonTransactionParams & {
1234
- voteKey: Uint8Array;
1235
- selectionKey: Uint8Array;
1236
- voteFirst: bigint;
1237
- voteLast: bigint;
1238
- voteKeyDilution: bigint;
1239
- stateProofKey?: Uint8Array | undefined;
1240
- } & SendParams) => Promise<SendSingleTransactionResult>;
1241
- /**
1242
- * Register an offline key.
1243
- * @param params The parameters for the key registration transaction
1244
- * @example Basic example
1245
- * ```typescript
1246
- * const result = await algorand.send.offlineKeyRegistration({
1247
- * sender: 'SENDERADDRESS',
1248
- * })
1249
- * ```
1250
- * @example Advanced example
1251
- * ```typescript
1252
- * const result = await algorand.send.offlineKeyRegistration({
1253
- * sender: 'SENDERADDRESS',
1254
- * lease: 'lease',
1255
- * note: 'note',
1256
- * // Use this with caution, it's generally better to use algorand.account.rekeyAccount
1257
- * rekeyTo: 'REKEYTOADDRESS',
1258
- * // You wouldn't normally set this field
1259
- * firstValidRound: 1000n,
1260
- * validityWindow: 10,
1261
- * extraFee: (1000).microAlgo(),
1262
- * staticFee: (1000).microAlgo(),
1263
- * // Max fee doesn't make sense with extraFee AND staticFee
1264
- * // already specified, but here for completeness
1265
- * maxFee: (3000).microAlgo(),
1266
- * })
1267
- * ```
1268
- * @returns The result of the offline key registration transaction and the transaction that was sent
417
+ * If this is set to `false` and the account has an asset balance it will lose those assets to the asset creator.
1269
418
  */
1270
- offlineKeyRegistration: (params: import("./composer").CommonTransactionParams & {
1271
- preventAccountFromEverParticipatingAgain?: boolean | undefined;
1272
- } & SendParams) => Promise<SendSingleTransactionResult>;
419
+ ensureZeroBalance: boolean;
420
+ } & SendParams) => Promise<{
421
+ groupId: string | undefined;
422
+ txIds: string[];
423
+ returns?: ABIReturn[] | undefined;
424
+ confirmations: PendingTransactionResponse[];
425
+ transactions: Transaction[];
426
+ confirmation: PendingTransactionResponse;
427
+ transaction: Transaction;
428
+ }>;
429
+ /**
430
+ * Create a smart contract.
431
+ *
432
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
433
+ *
434
+ * @param params The parameters for the app creation transaction
435
+ * @example Basic example
436
+ * ```typescript
437
+ * const result = await algorand.send.appCreate({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE' })
438
+ * const createdAppId = result.appId
439
+ * ```
440
+ * @example Advanced example
441
+ * ```typescript
442
+ * await algorand.send.appCreate({
443
+ * sender: 'CREATORADDRESS',
444
+ * approvalProgram: "TEALCODE",
445
+ * clearStateProgram: "TEALCODE",
446
+ * schema: {
447
+ * globalInts: 1,
448
+ * globalByteSlices: 2,
449
+ * localInts: 3,
450
+ * localByteSlices: 4
451
+ * },
452
+ * extraProgramPages: 1,
453
+ * onComplete: OnApplicationComplete.OptIn,
454
+ * args: [new Uint8Array(1, 2, 3, 4)]
455
+ * accountReferences: ["ACCOUNT_1"]
456
+ * appReferences: [123n, 1234n]
457
+ * assetReferences: [12345n]
458
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
459
+ * accessReferences: [{ appId: 1234n }]
460
+ * lease: 'lease',
461
+ * note: 'note',
462
+ * // You wouldn't normally set this field
463
+ * firstValidRound: 1000n,
464
+ * validityWindow: 10,
465
+ * extraFee: (1000).microAlgo(),
466
+ * staticFee: (1000).microAlgo(),
467
+ * // Max fee doesn't make sense with extraFee AND staticFee
468
+ * // already specified, but here for completeness
469
+ * maxFee: (3000).microAlgo(),
470
+ * // Signer only needed if you want to provide one,
471
+ * // generally you'd register it with AlgorandClient
472
+ * // against the sender and not need to pass it in
473
+ * signer: transactionSigner,
474
+ * maxRoundsToWaitForConfirmation: 5,
475
+ * suppressLog: true,
476
+ *})
477
+ * ```
478
+ * @returns The result of the app create transaction and the transaction that was sent
479
+ */
480
+ appCreate: (params: {
481
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
482
+ sender: SendingAddress;
483
+ rekeyTo?: ReadableAddress | undefined;
484
+ note?: string | Uint8Array | undefined;
485
+ lease?: string | Uint8Array | undefined;
486
+ staticFee?: AlgoAmount | undefined;
487
+ extraFee?: AlgoAmount | undefined;
488
+ maxFee?: AlgoAmount | undefined;
489
+ validityWindow?: number | bigint | undefined;
490
+ firstValidRound?: bigint | undefined;
491
+ lastValidRound?: bigint | undefined;
492
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
493
+ args?: Uint8Array[] | undefined;
494
+ accountReferences?: ReadableAddress[] | undefined;
495
+ appReferences?: bigint[] | undefined;
496
+ assetReferences?: bigint[] | undefined;
497
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
498
+ accessReferences?: AccessReference[] | undefined;
499
+ rejectVersion?: number | undefined;
500
+ approvalProgram: string | Uint8Array;
501
+ clearStateProgram: string | Uint8Array;
502
+ schema?: {
503
+ globalInts: number;
504
+ globalByteSlices: number;
505
+ localInts: number;
506
+ localByteSlices: number;
507
+ } | undefined;
508
+ extraProgramPages?: number | undefined;
509
+ } & SendParams) => Promise<SendAppCreateTransactionResult>;
510
+ /**
511
+ * Update a smart contract.
512
+ *
513
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
514
+ *
515
+ * @param params The parameters for the app update transaction
516
+ * @example Basic example
517
+ * ```typescript
518
+ * await algorand.send.appUpdate({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE' })
519
+ * ```
520
+ * @example Advanced example
521
+ * ```typescript
522
+ * await algorand.send.appUpdate({
523
+ * sender: 'CREATORADDRESS',
524
+ * approvalProgram: "TEALCODE",
525
+ * clearStateProgram: "TEALCODE",
526
+ * onComplete: OnApplicationComplete.UpdateApplication,
527
+ * args: [new Uint8Array(1, 2, 3, 4)]
528
+ * accountReferences: ["ACCOUNT_1"]
529
+ * appReferences: [123n, 1234n]
530
+ * assetReferences: [12345n]
531
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
532
+ * accessReferences: [{ appId: 1234n }]
533
+ * lease: 'lease',
534
+ * note: 'note',
535
+ * // You wouldn't normally set this field
536
+ * firstValidRound: 1000n,
537
+ * validityWindow: 10,
538
+ * extraFee: (1000).microAlgo(),
539
+ * staticFee: (1000).microAlgo(),
540
+ * // Max fee doesn't make sense with extraFee AND staticFee
541
+ * // already specified, but here for completeness
542
+ * maxFee: (3000).microAlgo(),
543
+ * // Signer only needed if you want to provide one,
544
+ * // generally you'd register it with AlgorandClient
545
+ * // against the sender and not need to pass it in
546
+ * signer: transactionSigner,
547
+ * maxRoundsToWaitForConfirmation: 5,
548
+ * suppressLog: true,
549
+ *})
550
+ * ```
551
+ * @returns The result of the app update transaction and the transaction that was sent
552
+ */
553
+ appUpdate: (params: {
554
+ sender: SendingAddress;
555
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
556
+ rekeyTo?: ReadableAddress | undefined;
557
+ note?: string | Uint8Array | undefined;
558
+ lease?: string | Uint8Array | undefined;
559
+ staticFee?: AlgoAmount | undefined;
560
+ extraFee?: AlgoAmount | undefined;
561
+ maxFee?: AlgoAmount | undefined;
562
+ validityWindow?: number | bigint | undefined;
563
+ firstValidRound?: bigint | undefined;
564
+ lastValidRound?: bigint | undefined;
565
+ appId: bigint;
566
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
567
+ args?: Uint8Array[] | undefined;
568
+ accountReferences?: ReadableAddress[] | undefined;
569
+ appReferences?: bigint[] | undefined;
570
+ assetReferences?: bigint[] | undefined;
571
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
572
+ accessReferences?: AccessReference[] | undefined;
573
+ rejectVersion?: number | undefined;
574
+ approvalProgram: string | Uint8Array;
575
+ clearStateProgram: string | Uint8Array;
576
+ } & SendParams) => Promise<SendAppUpdateTransactionResult>;
577
+ /**
578
+ * Delete a smart contract.
579
+ *
580
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
581
+ *
582
+ * @param params The parameters for the app deletion transaction
583
+ * @example Basic example
584
+ * ```typescript
585
+ * await algorand.send.appDelete({ sender: 'CREATORADDRESS' })
586
+ * ```
587
+ * @example Advanced example
588
+ * ```typescript
589
+ * await algorand.send.appDelete({
590
+ * sender: 'CREATORADDRESS',
591
+ * onComplete: OnApplicationComplete.DeleteApplication,
592
+ * args: [new Uint8Array(1, 2, 3, 4)]
593
+ * accountReferences: ["ACCOUNT_1"]
594
+ * appReferences: [123n, 1234n]
595
+ * assetReferences: [12345n]
596
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
597
+ * accessReferences: [{ appId: 1234n }]
598
+ * lease: 'lease',
599
+ * note: 'note',
600
+ * // You wouldn't normally set this field
601
+ * firstValidRound: 1000n,
602
+ * validityWindow: 10,
603
+ * extraFee: (1000).microAlgo(),
604
+ * staticFee: (1000).microAlgo(),
605
+ * // Max fee doesn't make sense with extraFee AND staticFee
606
+ * // already specified, but here for completeness
607
+ * maxFee: (3000).microAlgo(),
608
+ * // Signer only needed if you want to provide one,
609
+ * // generally you'd register it with AlgorandClient
610
+ * // against the sender and not need to pass it in
611
+ * signer: transactionSigner,
612
+ * maxRoundsToWaitForConfirmation: 5,
613
+ * suppressLog: true,
614
+ *})
615
+ * ```
616
+ * @returns The result of the app delete transaction and the transaction that was sent
617
+ */
618
+ appDelete: (params: CommonTransactionParams & {
619
+ appId: bigint;
620
+ onComplete?: OnApplicationComplete | undefined;
621
+ args?: Uint8Array[] | undefined;
622
+ accountReferences?: ReadableAddress[] | undefined;
623
+ appReferences?: bigint[] | undefined;
624
+ assetReferences?: bigint[] | undefined;
625
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
626
+ accessReferences?: AccessReference[] | undefined;
627
+ rejectVersion?: number | undefined;
628
+ } & {
629
+ onComplete?: OnApplicationComplete.DeleteApplication | undefined;
630
+ } & SendParams) => Promise<SendAppTransactionResult>;
631
+ /**
632
+ * Call a smart contract.
633
+ *
634
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
635
+ *
636
+ * @param params The parameters for the app call transaction
637
+ * @example Basic example
638
+ * ```typescript
639
+ * await algorand.send.appCall({ sender: 'CREATORADDRESS' })
640
+ * ```
641
+ * @example Advanced example
642
+ * ```typescript
643
+ * await algorand.send.appCall({
644
+ * sender: 'CREATORADDRESS',
645
+ * onComplete: OnApplicationComplete.OptIn,
646
+ * args: [new Uint8Array(1, 2, 3, 4)]
647
+ * accountReferences: ["ACCOUNT_1"]
648
+ * appReferences: [123n, 1234n]
649
+ * assetReferences: [12345n]
650
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
651
+ * accessReferences: [{ appId: 1234n }]
652
+ * lease: 'lease',
653
+ * note: 'note',
654
+ * // You wouldn't normally set this field
655
+ * firstValidRound: 1000n,
656
+ * validityWindow: 10,
657
+ * extraFee: (1000).microAlgo(),
658
+ * staticFee: (1000).microAlgo(),
659
+ * // Max fee doesn't make sense with extraFee AND staticFee
660
+ * // already specified, but here for completeness
661
+ * maxFee: (3000).microAlgo(),
662
+ * // Signer only needed if you want to provide one,
663
+ * // generally you'd register it with AlgorandClient
664
+ * // against the sender and not need to pass it in
665
+ * signer: transactionSigner,
666
+ * maxRoundsToWaitForConfirmation: 5,
667
+ * suppressLog: true,
668
+ *})
669
+ * ```
670
+ * @returns The result of the app call transaction and the transaction that was sent
671
+ */
672
+ appCall: (params: CommonTransactionParams & {
673
+ appId: bigint;
674
+ onComplete?: OnApplicationComplete | undefined;
675
+ args?: Uint8Array[] | undefined;
676
+ accountReferences?: ReadableAddress[] | undefined;
677
+ appReferences?: bigint[] | undefined;
678
+ assetReferences?: bigint[] | undefined;
679
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
680
+ accessReferences?: AccessReference[] | undefined;
681
+ rejectVersion?: number | undefined;
682
+ } & {
683
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.ClearState | OnApplicationComplete.DeleteApplication | undefined;
684
+ } & SendParams) => Promise<SendAppTransactionResult>;
685
+ /**
686
+ * Create a smart contract via an ABI method.
687
+ *
688
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
689
+ *
690
+ * @param params The parameters for the app creation transaction
691
+ * @example Basic example
692
+ * ```typescript
693
+ * const method = new ABIMethod({
694
+ * name: 'method',
695
+ * args: [{ name: 'arg1', type: 'string' }],
696
+ * returns: { type: 'string' },
697
+ * })
698
+ * const result = await algorand.send.appCreateMethodCall({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE', method: method, args: ["arg1_value"] })
699
+ * const createdAppId = result.appId
700
+ * ```
701
+ * @example Advanced example
702
+ * ```typescript
703
+ * const method = new ABIMethod({
704
+ * name: 'method',
705
+ * args: [{ name: 'arg1', type: 'string' }],
706
+ * returns: { type: 'string' },
707
+ * })
708
+ * await algorand.send.appCreateMethodCall({
709
+ * sender: 'CREATORADDRESS',
710
+ * method: method,
711
+ * args: ["arg1_value"],
712
+ * approvalProgram: "TEALCODE",
713
+ * clearStateProgram: "TEALCODE",
714
+ * schema: {
715
+ * globalInts: 1,
716
+ * globalByteSlices: 2,
717
+ * localInts: 3,
718
+ * localByteSlices: 4
719
+ * },
720
+ * extraProgramPages: 1,
721
+ * onComplete: OnApplicationComplete.OptIn,
722
+ * args: [new Uint8Array(1, 2, 3, 4)]
723
+ * accountReferences: ["ACCOUNT_1"]
724
+ * appReferences: [123n, 1234n]
725
+ * assetReferences: [12345n]
726
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
727
+ * accessReferences: [{ appId: 1234n }]
728
+ * lease: 'lease',
729
+ * note: 'note',
730
+ * // You wouldn't normally set this field
731
+ * firstValidRound: 1000n,
732
+ * validityWindow: 10,
733
+ * extraFee: (1000).microAlgo(),
734
+ * staticFee: (1000).microAlgo(),
735
+ * // Max fee doesn't make sense with extraFee AND staticFee
736
+ * // already specified, but here for completeness
737
+ * maxFee: (3000).microAlgo(),
738
+ * // Signer only needed if you want to provide one,
739
+ * // generally you'd register it with AlgorandClient
740
+ * // against the sender and not need to pass it in
741
+ * signer: transactionSigner,
742
+ * maxRoundsToWaitForConfirmation: 5,
743
+ * suppressLog: true,
744
+ *})
745
+ * ```
746
+ * @returns The result of the application ABI method create transaction and the transaction that was sent
747
+ */
748
+ appCreateMethodCall: (params: {
749
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
750
+ sender: SendingAddress;
751
+ rekeyTo?: ReadableAddress | undefined;
752
+ note?: string | Uint8Array | undefined;
753
+ lease?: string | Uint8Array | undefined;
754
+ staticFee?: AlgoAmount | undefined;
755
+ extraFee?: AlgoAmount | undefined;
756
+ maxFee?: AlgoAmount | undefined;
757
+ validityWindow?: number | bigint | undefined;
758
+ firstValidRound?: bigint | undefined;
759
+ lastValidRound?: bigint | undefined;
760
+ schema?: {
761
+ globalInts: number;
762
+ globalByteSlices: number;
763
+ localInts: number;
764
+ localByteSlices: number;
765
+ } | undefined;
766
+ approvalProgram: string | Uint8Array;
767
+ clearStateProgram: string | Uint8Array;
768
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
769
+ accountReferences?: ReadableAddress[] | undefined;
770
+ appReferences?: bigint[] | undefined;
771
+ assetReferences?: bigint[] | undefined;
772
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
773
+ accessReferences?: AccessReference[] | undefined;
774
+ rejectVersion?: number | undefined;
775
+ extraProgramPages?: number | undefined;
776
+ method: ABIMethod;
777
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
778
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
779
+ sender: SendingAddress;
780
+ rekeyTo?: ReadableAddress | undefined;
781
+ note?: string | Uint8Array | undefined;
782
+ lease?: string | Uint8Array | undefined;
783
+ staticFee?: AlgoAmount | undefined;
784
+ extraFee?: AlgoAmount | undefined;
785
+ maxFee?: AlgoAmount | undefined;
786
+ validityWindow?: number | bigint | undefined;
787
+ firstValidRound?: bigint | undefined;
788
+ lastValidRound?: bigint | undefined;
789
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
790
+ args?: Uint8Array[] | undefined;
791
+ accountReferences?: ReadableAddress[] | undefined;
792
+ appReferences?: bigint[] | undefined;
793
+ assetReferences?: bigint[] | undefined;
794
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
795
+ accessReferences?: AccessReference[] | undefined;
796
+ rejectVersion?: number | undefined;
797
+ approvalProgram: string | Uint8Array;
798
+ clearStateProgram: string | Uint8Array;
799
+ schema?: {
800
+ globalInts: number;
801
+ globalByteSlices: number;
802
+ localInts: number;
803
+ localByteSlices: number;
804
+ } | undefined;
805
+ extraProgramPages?: number | undefined;
806
+ }> | AppMethodCall<{
807
+ sender: SendingAddress;
808
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
809
+ rekeyTo?: ReadableAddress | undefined;
810
+ note?: string | Uint8Array | undefined;
811
+ lease?: string | Uint8Array | undefined;
812
+ staticFee?: AlgoAmount | undefined;
813
+ extraFee?: AlgoAmount | undefined;
814
+ maxFee?: AlgoAmount | undefined;
815
+ validityWindow?: number | bigint | undefined;
816
+ firstValidRound?: bigint | undefined;
817
+ lastValidRound?: bigint | undefined;
818
+ appId: bigint;
819
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
820
+ args?: Uint8Array[] | undefined;
821
+ accountReferences?: ReadableAddress[] | undefined;
822
+ appReferences?: bigint[] | undefined;
823
+ assetReferences?: bigint[] | undefined;
824
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
825
+ accessReferences?: AccessReference[] | undefined;
826
+ rejectVersion?: number | undefined;
827
+ approvalProgram: string | Uint8Array;
828
+ clearStateProgram: string | Uint8Array;
829
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
830
+ } & SendParams) => Promise<SendAppCreateTransactionResult>;
831
+ /**
832
+ * Update a smart contract via an ABI method.
833
+ *
834
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
835
+ *
836
+ * @param params The parameters for the app update transaction
837
+ * @example Basic example
838
+ * ```typescript
839
+ * const method = new ABIMethod({
840
+ * name: 'method',
841
+ * args: [{ name: 'arg1', type: 'string' }],
842
+ * returns: { type: 'string' },
843
+ * })
844
+ * await algorand.send.appUpdateMethodCall({ sender: 'CREATORADDRESS', approvalProgram: 'TEALCODE', clearStateProgram: 'TEALCODE', method: method, args: ["arg1_value"] })
845
+ * ```
846
+ * @example Advanced example
847
+ * ```typescript
848
+ * const method = new ABIMethod({
849
+ * name: 'method',
850
+ * args: [{ name: 'arg1', type: 'string' }],
851
+ * returns: { type: 'string' },
852
+ * })
853
+ * await algorand.send.appUpdateMethodCall({
854
+ * sender: 'CREATORADDRESS',
855
+ * method: method,
856
+ * args: ["arg1_value"],
857
+ * approvalProgram: "TEALCODE",
858
+ * clearStateProgram: "TEALCODE",
859
+ * onComplete: OnApplicationComplete.UpdateApplication,
860
+ * args: [new Uint8Array(1, 2, 3, 4)]
861
+ * accountReferences: ["ACCOUNT_1"]
862
+ * appReferences: [123n, 1234n]
863
+ * assetReferences: [12345n]
864
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
865
+ * accessReferences: [{ appId: 1234n }]
866
+ * lease: 'lease',
867
+ * note: 'note',
868
+ * // You wouldn't normally set this field
869
+ * firstValidRound: 1000n,
870
+ * validityWindow: 10,
871
+ * extraFee: (1000).microAlgo(),
872
+ * staticFee: (1000).microAlgo(),
873
+ * // Max fee doesn't make sense with extraFee AND staticFee
874
+ * // already specified, but here for completeness
875
+ * maxFee: (3000).microAlgo(),
876
+ * // Signer only needed if you want to provide one,
877
+ * // generally you'd register it with AlgorandClient
878
+ * // against the sender and not need to pass it in
879
+ * signer: transactionSigner,
880
+ * maxRoundsToWaitForConfirmation: 5,
881
+ * suppressLog: true,
882
+ *})
883
+ * ```
884
+ * @returns The result of the application ABI method update transaction and the transaction that was sent
885
+ */
886
+ appUpdateMethodCall: (params: {
887
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
888
+ sender: SendingAddress;
889
+ rekeyTo?: ReadableAddress | undefined;
890
+ note?: string | Uint8Array | undefined;
891
+ lease?: string | Uint8Array | undefined;
892
+ staticFee?: AlgoAmount | undefined;
893
+ extraFee?: AlgoAmount | undefined;
894
+ maxFee?: AlgoAmount | undefined;
895
+ validityWindow?: number | bigint | undefined;
896
+ firstValidRound?: bigint | undefined;
897
+ lastValidRound?: bigint | undefined;
898
+ approvalProgram: string | Uint8Array;
899
+ clearStateProgram: string | Uint8Array;
900
+ appId: bigint;
901
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
902
+ accountReferences?: ReadableAddress[] | undefined;
903
+ appReferences?: bigint[] | undefined;
904
+ assetReferences?: bigint[] | undefined;
905
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
906
+ accessReferences?: AccessReference[] | undefined;
907
+ rejectVersion?: number | undefined;
908
+ method: ABIMethod;
909
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
910
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
911
+ sender: SendingAddress;
912
+ rekeyTo?: ReadableAddress | undefined;
913
+ note?: string | Uint8Array | undefined;
914
+ lease?: string | Uint8Array | undefined;
915
+ staticFee?: AlgoAmount | undefined;
916
+ extraFee?: AlgoAmount | undefined;
917
+ maxFee?: AlgoAmount | undefined;
918
+ validityWindow?: number | bigint | undefined;
919
+ firstValidRound?: bigint | undefined;
920
+ lastValidRound?: bigint | undefined;
921
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
922
+ args?: Uint8Array[] | undefined;
923
+ accountReferences?: ReadableAddress[] | undefined;
924
+ appReferences?: bigint[] | undefined;
925
+ assetReferences?: bigint[] | undefined;
926
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
927
+ accessReferences?: AccessReference[] | undefined;
928
+ rejectVersion?: number | undefined;
929
+ approvalProgram: string | Uint8Array;
930
+ clearStateProgram: string | Uint8Array;
931
+ schema?: {
932
+ globalInts: number;
933
+ globalByteSlices: number;
934
+ localInts: number;
935
+ localByteSlices: number;
936
+ } | undefined;
937
+ extraProgramPages?: number | undefined;
938
+ }> | AppMethodCall<{
939
+ sender: SendingAddress;
940
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
941
+ rekeyTo?: ReadableAddress | undefined;
942
+ note?: string | Uint8Array | undefined;
943
+ lease?: string | Uint8Array | undefined;
944
+ staticFee?: AlgoAmount | undefined;
945
+ extraFee?: AlgoAmount | undefined;
946
+ maxFee?: AlgoAmount | undefined;
947
+ validityWindow?: number | bigint | undefined;
948
+ firstValidRound?: bigint | undefined;
949
+ lastValidRound?: bigint | undefined;
950
+ appId: bigint;
951
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
952
+ args?: Uint8Array[] | undefined;
953
+ accountReferences?: ReadableAddress[] | undefined;
954
+ appReferences?: bigint[] | undefined;
955
+ assetReferences?: bigint[] | undefined;
956
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
957
+ accessReferences?: AccessReference[] | undefined;
958
+ rejectVersion?: number | undefined;
959
+ approvalProgram: string | Uint8Array;
960
+ clearStateProgram: string | Uint8Array;
961
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
962
+ } & SendParams) => Promise<SendAppUpdateTransactionResult>;
963
+ /**
964
+ * Delete a smart contract via an ABI method.
965
+ *
966
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
967
+ *
968
+ * @param params The parameters for the app deletion transaction
969
+ * @example Basic example
970
+ * ```typescript
971
+ * const method = new ABIMethod({
972
+ * name: 'method',
973
+ * args: [{ name: 'arg1', type: 'string' }],
974
+ * returns: { type: 'string' },
975
+ * })
976
+ * await algorand.send.appDeleteMethodCall({ sender: 'CREATORADDRESS', method: method, args: ["arg1_value"] })
977
+ * ```
978
+ * @example Advanced example
979
+ * ```typescript
980
+ * const method = new ABIMethod({
981
+ * name: 'method',
982
+ * args: [{ name: 'arg1', type: 'string' }],
983
+ * returns: { type: 'string' },
984
+ * })
985
+ * await algorand.send.appDeleteMethodCall({
986
+ * sender: 'CREATORADDRESS',
987
+ * method: method,
988
+ * args: ["arg1_value"],
989
+ * onComplete: OnApplicationComplete.DeleteApplication,
990
+ * args: [new Uint8Array(1, 2, 3, 4)]
991
+ * accountReferences: ["ACCOUNT_1"]
992
+ * appReferences: [123n, 1234n]
993
+ * assetReferences: [12345n]
994
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
995
+ * accessReferences: [{ appId: 1234n }]
996
+ * lease: 'lease',
997
+ * note: 'note',
998
+ * // You wouldn't normally set this field
999
+ * firstValidRound: 1000n,
1000
+ * validityWindow: 10,
1001
+ * extraFee: (1000).microAlgo(),
1002
+ * staticFee: (1000).microAlgo(),
1003
+ * // Max fee doesn't make sense with extraFee AND staticFee
1004
+ * // already specified, but here for completeness
1005
+ * maxFee: (3000).microAlgo(),
1006
+ * // Signer only needed if you want to provide one,
1007
+ * // generally you'd register it with AlgorandClient
1008
+ * // against the sender and not need to pass it in
1009
+ * signer: transactionSigner,
1010
+ * maxRoundsToWaitForConfirmation: 5,
1011
+ * suppressLog: true,
1012
+ *})
1013
+ * ```
1014
+ * @returns The result of the application ABI method delete transaction and the transaction that was sent
1015
+ */
1016
+ appDeleteMethodCall: (params: {
1017
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1018
+ sender: SendingAddress;
1019
+ rekeyTo?: ReadableAddress | undefined;
1020
+ note?: string | Uint8Array | undefined;
1021
+ lease?: string | Uint8Array | undefined;
1022
+ staticFee?: AlgoAmount | undefined;
1023
+ extraFee?: AlgoAmount | undefined;
1024
+ maxFee?: AlgoAmount | undefined;
1025
+ validityWindow?: number | bigint | undefined;
1026
+ firstValidRound?: bigint | undefined;
1027
+ lastValidRound?: bigint | undefined;
1028
+ appId: bigint;
1029
+ onComplete?: OnApplicationComplete.DeleteApplication | undefined;
1030
+ accountReferences?: ReadableAddress[] | undefined;
1031
+ appReferences?: bigint[] | undefined;
1032
+ assetReferences?: bigint[] | undefined;
1033
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1034
+ accessReferences?: AccessReference[] | undefined;
1035
+ rejectVersion?: number | undefined;
1036
+ method: ABIMethod;
1037
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
1038
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1039
+ sender: SendingAddress;
1040
+ rekeyTo?: ReadableAddress | undefined;
1041
+ note?: string | Uint8Array | undefined;
1042
+ lease?: string | Uint8Array | undefined;
1043
+ staticFee?: AlgoAmount | undefined;
1044
+ extraFee?: AlgoAmount | undefined;
1045
+ maxFee?: AlgoAmount | undefined;
1046
+ validityWindow?: number | bigint | undefined;
1047
+ firstValidRound?: bigint | undefined;
1048
+ lastValidRound?: bigint | undefined;
1049
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1050
+ args?: Uint8Array[] | undefined;
1051
+ accountReferences?: ReadableAddress[] | undefined;
1052
+ appReferences?: bigint[] | undefined;
1053
+ assetReferences?: bigint[] | undefined;
1054
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1055
+ accessReferences?: AccessReference[] | undefined;
1056
+ rejectVersion?: number | undefined;
1057
+ approvalProgram: string | Uint8Array;
1058
+ clearStateProgram: string | Uint8Array;
1059
+ schema?: {
1060
+ globalInts: number;
1061
+ globalByteSlices: number;
1062
+ localInts: number;
1063
+ localByteSlices: number;
1064
+ } | undefined;
1065
+ extraProgramPages?: number | undefined;
1066
+ }> | AppMethodCall<{
1067
+ sender: SendingAddress;
1068
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1069
+ rekeyTo?: ReadableAddress | undefined;
1070
+ note?: string | Uint8Array | undefined;
1071
+ lease?: string | Uint8Array | undefined;
1072
+ staticFee?: AlgoAmount | undefined;
1073
+ extraFee?: AlgoAmount | undefined;
1074
+ maxFee?: AlgoAmount | undefined;
1075
+ validityWindow?: number | bigint | undefined;
1076
+ firstValidRound?: bigint | undefined;
1077
+ lastValidRound?: bigint | undefined;
1078
+ appId: bigint;
1079
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1080
+ args?: Uint8Array[] | undefined;
1081
+ accountReferences?: ReadableAddress[] | undefined;
1082
+ appReferences?: bigint[] | undefined;
1083
+ assetReferences?: bigint[] | undefined;
1084
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1085
+ accessReferences?: AccessReference[] | undefined;
1086
+ rejectVersion?: number | undefined;
1087
+ approvalProgram: string | Uint8Array;
1088
+ clearStateProgram: string | Uint8Array;
1089
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1090
+ } & SendParams) => Promise<SendAppTransactionResult>;
1091
+ /**
1092
+ * Call a smart contract via an ABI method.
1093
+ *
1094
+ * Note: you may prefer to use `algorand.client` to get an app client for more advanced functionality.
1095
+ *
1096
+ * @param params The parameters for the app call transaction
1097
+ * @example Basic example
1098
+ * ```typescript
1099
+ * const method = new ABIMethod({
1100
+ * name: 'method',
1101
+ * args: [{ name: 'arg1', type: 'string' }],
1102
+ * returns: { type: 'string' },
1103
+ * })
1104
+ * await algorand.send.appCallMethodCall({ sender: 'CREATORADDRESS', method: method, args: ["arg1_value"] })
1105
+ * ```
1106
+ * @example Advanced example
1107
+ * ```typescript
1108
+ * const method = new ABIMethod({
1109
+ * name: 'method',
1110
+ * args: [{ name: 'arg1', type: 'string' }],
1111
+ * returns: { type: 'string' },
1112
+ * })
1113
+ * await algorand.send.appCallMethodCall({
1114
+ * sender: 'CREATORADDRESS',
1115
+ * method: method,
1116
+ * args: ["arg1_value"],
1117
+ * onComplete: OnApplicationComplete.OptIn,
1118
+ * args: [new Uint8Array(1, 2, 3, 4)]
1119
+ * accountReferences: ["ACCOUNT_1"]
1120
+ * appReferences: [123n, 1234n]
1121
+ * assetReferences: [12345n]
1122
+ * boxReferences: ["box1", {appId: 1234n, name: "box2"}]
1123
+ * accessReferences: [{ appId: 1234n }]
1124
+ * lease: 'lease',
1125
+ * note: 'note',
1126
+ * // You wouldn't normally set this field
1127
+ * firstValidRound: 1000n,
1128
+ * validityWindow: 10,
1129
+ * extraFee: (1000).microAlgo(),
1130
+ * staticFee: (1000).microAlgo(),
1131
+ * // Max fee doesn't make sense with extraFee AND staticFee
1132
+ * // already specified, but here for completeness
1133
+ * maxFee: (3000).microAlgo(),
1134
+ * // Signer only needed if you want to provide one,
1135
+ * // generally you'd register it with AlgorandClient
1136
+ * // against the sender and not need to pass it in
1137
+ * signer: transactionSigner,
1138
+ * maxRoundsToWaitForConfirmation: 5,
1139
+ * suppressLog: true,
1140
+ *})
1141
+ * ```
1142
+ * @returns The result of the application ABI method call transaction and the transaction that was sent
1143
+ */
1144
+ appCallMethodCall: (params: {
1145
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1146
+ sender: SendingAddress;
1147
+ rekeyTo?: ReadableAddress | undefined;
1148
+ note?: string | Uint8Array | undefined;
1149
+ lease?: string | Uint8Array | undefined;
1150
+ staticFee?: AlgoAmount | undefined;
1151
+ extraFee?: AlgoAmount | undefined;
1152
+ maxFee?: AlgoAmount | undefined;
1153
+ validityWindow?: number | bigint | undefined;
1154
+ firstValidRound?: bigint | undefined;
1155
+ lastValidRound?: bigint | undefined;
1156
+ appId: bigint;
1157
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
1158
+ accountReferences?: ReadableAddress[] | undefined;
1159
+ appReferences?: bigint[] | undefined;
1160
+ assetReferences?: bigint[] | undefined;
1161
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1162
+ accessReferences?: AccessReference[] | undefined;
1163
+ rejectVersion?: number | undefined;
1164
+ method: ABIMethod;
1165
+ args?: (Transaction | ABIValue | TransactionWithSigner | Promise<Transaction> | AppMethodCall<{
1166
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1167
+ sender: SendingAddress;
1168
+ rekeyTo?: ReadableAddress | undefined;
1169
+ note?: string | Uint8Array | undefined;
1170
+ lease?: string | Uint8Array | undefined;
1171
+ staticFee?: AlgoAmount | undefined;
1172
+ extraFee?: AlgoAmount | undefined;
1173
+ maxFee?: AlgoAmount | undefined;
1174
+ validityWindow?: number | bigint | undefined;
1175
+ firstValidRound?: bigint | undefined;
1176
+ lastValidRound?: bigint | undefined;
1177
+ onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
1178
+ args?: Uint8Array[] | undefined;
1179
+ accountReferences?: ReadableAddress[] | undefined;
1180
+ appReferences?: bigint[] | undefined;
1181
+ assetReferences?: bigint[] | undefined;
1182
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1183
+ accessReferences?: AccessReference[] | undefined;
1184
+ rejectVersion?: number | undefined;
1185
+ approvalProgram: string | Uint8Array;
1186
+ clearStateProgram: string | Uint8Array;
1187
+ schema?: {
1188
+ globalInts: number;
1189
+ globalByteSlices: number;
1190
+ localInts: number;
1191
+ localByteSlices: number;
1192
+ } | undefined;
1193
+ extraProgramPages?: number | undefined;
1194
+ }> | AppMethodCall<{
1195
+ sender: SendingAddress;
1196
+ signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
1197
+ rekeyTo?: ReadableAddress | undefined;
1198
+ note?: string | Uint8Array | undefined;
1199
+ lease?: string | Uint8Array | undefined;
1200
+ staticFee?: AlgoAmount | undefined;
1201
+ extraFee?: AlgoAmount | undefined;
1202
+ maxFee?: AlgoAmount | undefined;
1203
+ validityWindow?: number | bigint | undefined;
1204
+ firstValidRound?: bigint | undefined;
1205
+ lastValidRound?: bigint | undefined;
1206
+ appId: bigint;
1207
+ onComplete?: OnApplicationComplete.UpdateApplication | undefined;
1208
+ args?: Uint8Array[] | undefined;
1209
+ accountReferences?: ReadableAddress[] | undefined;
1210
+ appReferences?: bigint[] | undefined;
1211
+ assetReferences?: bigint[] | undefined;
1212
+ boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
1213
+ accessReferences?: AccessReference[] | undefined;
1214
+ rejectVersion?: number | undefined;
1215
+ approvalProgram: string | Uint8Array;
1216
+ clearStateProgram: string | Uint8Array;
1217
+ }> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
1218
+ } & SendParams) => Promise<SendAppTransactionResult>;
1219
+ /**
1220
+ * Register an online key.
1221
+ * @param params The parameters for the key registration transaction
1222
+ * @example Basic example
1223
+ * ```typescript
1224
+ * const result = await algorand.send.onlineKeyRegistration({
1225
+ * sender: 'SENDERADDRESS',
1226
+ * voteKey: Uint8Array.from(Buffer.from("voteKeyBase64", 'base64')),
1227
+ * selectionKey: Uint8Array.from(Buffer.from("selectionKeyBase64", 'base64')),
1228
+ * stateProofKey: Uint8Array.from(Buffer.from("stateProofKeyBase64", 'base64')),
1229
+ * voteFirst: 1n,
1230
+ * voteLast: 1000n,
1231
+ * voteKeyDilution: 1n,
1232
+ * })
1233
+ * ```
1234
+ * @example Advanced example
1235
+ * ```typescript
1236
+ * const result = await algorand.send.onlineKeyRegistration({
1237
+ * sender: 'SENDERADDRESS',
1238
+ * voteKey: Uint8Array.from(Buffer.from("voteKeyBase64", 'base64')),
1239
+ * selectionKey: Uint8Array.from(Buffer.from("selectionKeyBase64", 'base64')),
1240
+ * stateProofKey: Uint8Array.from(Buffer.from("stateProofKeyBase64", 'base64')),
1241
+ * voteFirst: 1n,
1242
+ * voteLast: 1000n,
1243
+ * voteKeyDilution: 1n,
1244
+ * lease: 'lease',
1245
+ * note: 'note',
1246
+ * // Use this with caution, it's generally better to use algorand.account.rekeyAccount
1247
+ * rekeyTo: 'REKEYTOADDRESS',
1248
+ * // You wouldn't normally set this field
1249
+ * firstValidRound: 1000n,
1250
+ * validityWindow: 10,
1251
+ * extraFee: (1000).microAlgo(),
1252
+ * staticFee: (1000).microAlgo(),
1253
+ * // Max fee doesn't make sense with extraFee AND staticFee
1254
+ * // already specified, but here for completeness
1255
+ * maxFee: (3000).microAlgo(),
1256
+ * })
1257
+ * ```
1258
+ * @returns The result of the online key registration transaction and the transaction that was sent
1259
+ */
1260
+ onlineKeyRegistration: (params: CommonTransactionParams & {
1261
+ voteKey: Uint8Array;
1262
+ selectionKey: Uint8Array;
1263
+ voteFirst: bigint;
1264
+ voteLast: bigint;
1265
+ voteKeyDilution: bigint;
1266
+ stateProofKey?: Uint8Array | undefined;
1267
+ } & SendParams) => Promise<SendSingleTransactionResult>;
1268
+ /**
1269
+ * Register an offline key.
1270
+ * @param params The parameters for the key registration transaction
1271
+ * @example Basic example
1272
+ * ```typescript
1273
+ * const result = await algorand.send.offlineKeyRegistration({
1274
+ * sender: 'SENDERADDRESS',
1275
+ * })
1276
+ * ```
1277
+ * @example Advanced example
1278
+ * ```typescript
1279
+ * const result = await algorand.send.offlineKeyRegistration({
1280
+ * sender: 'SENDERADDRESS',
1281
+ * lease: 'lease',
1282
+ * note: 'note',
1283
+ * // Use this with caution, it's generally better to use algorand.account.rekeyAccount
1284
+ * rekeyTo: 'REKEYTOADDRESS',
1285
+ * // You wouldn't normally set this field
1286
+ * firstValidRound: 1000n,
1287
+ * validityWindow: 10,
1288
+ * extraFee: (1000).microAlgo(),
1289
+ * staticFee: (1000).microAlgo(),
1290
+ * // Max fee doesn't make sense with extraFee AND staticFee
1291
+ * // already specified, but here for completeness
1292
+ * maxFee: (3000).microAlgo(),
1293
+ * })
1294
+ * ```
1295
+ * @returns The result of the offline key registration transaction and the transaction that was sent
1296
+ */
1297
+ offlineKeyRegistration: (params: CommonTransactionParams & {
1298
+ preventAccountFromEverParticipatingAgain?: boolean | undefined;
1299
+ } & SendParams) => Promise<SendSingleTransactionResult>;
1273
1300
  }
1301
+ //#endregion
1302
+ export { AlgorandClientTransactionSender };
1303
+ //# sourceMappingURL=algorand-client-transaction-sender.d.ts.map