@algorandfoundation/algokit-utils 9.2.0 → 10.0.0-alpha.10

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