@aeternity/aepp-sdk 13.2.2 → 13.3.0

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 (494) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/bin/aesophia_cli +0 -0
  4. package/bin/aesophia_cli_8 +0 -0
  5. package/dist/aepp-sdk.browser-script.js +1 -1
  6. package/dist/aepp-sdk.browser-script.js.map +1 -1
  7. package/dist/aepp-sdk.browser.js +1 -1
  8. package/dist/aepp-sdk.browser.js.map +1 -1
  9. package/dist/aepp-sdk.js +9171 -7086
  10. package/dist/aepp-sdk.js.map +1 -1
  11. package/es/AeSdk.d.ts +3 -0
  12. package/es/AeSdk.mjs +12 -12
  13. package/es/AeSdk.mjs.map +1 -1
  14. package/es/AeSdkAepp.d.ts +0 -1
  15. package/es/AeSdkAepp.mjs +12 -16
  16. package/es/AeSdkAepp.mjs.map +1 -1
  17. package/es/AeSdkBase.d.ts +61 -6
  18. package/es/AeSdkBase.mjs +150 -69
  19. package/es/AeSdkBase.mjs.map +1 -1
  20. package/es/AeSdkMethods.d.ts +19 -7
  21. package/es/AeSdkMethods.mjs +39 -38
  22. package/es/AeSdkMethods.mjs.map +1 -1
  23. package/es/AeSdkWallet.mjs +86 -55
  24. package/es/AeSdkWallet.mjs.map +1 -1
  25. package/es/Middleware.mjs +31 -27
  26. package/es/Middleware.mjs.map +1 -1
  27. package/es/MiddlewareSubscriber.mjs +5 -14
  28. package/es/MiddlewareSubscriber.mjs.map +1 -1
  29. package/es/Node.d.ts +10 -2
  30. package/es/Node.mjs +53 -54
  31. package/es/Node.mjs.map +1 -1
  32. package/es/account/Base.d.ts +39 -3
  33. package/es/account/Base.mjs +35 -1
  34. package/es/account/Base.mjs.map +1 -1
  35. package/es/account/Generalized.d.ts +2 -0
  36. package/es/account/Generalized.mjs +15 -6
  37. package/es/account/Generalized.mjs.map +1 -1
  38. package/es/account/Ledger.d.ts +2 -0
  39. package/es/account/Ledger.mjs +14 -5
  40. package/es/account/Ledger.mjs.map +1 -1
  41. package/es/account/LedgerFactory.mjs +4 -6
  42. package/es/account/LedgerFactory.mjs.map +1 -1
  43. package/es/account/Memory.d.ts +15 -4
  44. package/es/account/Memory.mjs +96 -31
  45. package/es/account/Memory.mjs.map +1 -1
  46. package/es/account/Rpc.d.ts +16 -5
  47. package/es/account/Rpc.mjs +94 -21
  48. package/es/account/Rpc.mjs.map +1 -1
  49. package/es/aens.d.ts +17 -44
  50. package/es/aens.mjs +32 -71
  51. package/es/aens.mjs.map +1 -1
  52. package/es/aepp-wallet-communication/connection/Browser.mjs +3 -4
  53. package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
  54. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  55. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +7 -5
  56. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
  57. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +8 -9
  58. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
  59. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +7 -7
  60. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
  61. package/es/aepp-wallet-communication/rpc/types.d.ts +14 -0
  62. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
  63. package/es/aepp-wallet-communication/schema.d.ts +2 -0
  64. package/es/aepp-wallet-communication/schema.mjs +2 -0
  65. package/es/aepp-wallet-communication/schema.mjs.map +1 -1
  66. package/es/aepp-wallet-communication/wallet-detector.mjs +4 -5
  67. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
  68. package/es/apis/compiler/compiler.mjs.map +1 -1
  69. package/es/apis/compiler/models/index.d.ts +1 -0
  70. package/es/apis/compiler/models/index.mjs.map +1 -1
  71. package/es/apis/compiler/models/mappers.mjs +13 -0
  72. package/es/apis/compiler/models/mappers.mjs.map +1 -1
  73. package/es/apis/compiler/models/parameters.mjs.map +1 -1
  74. package/es/apis/middleware/middleware.d.ts +23 -5
  75. package/es/apis/middleware/middleware.mjs +114 -18
  76. package/es/apis/middleware/middleware.mjs.map +1 -1
  77. package/es/apis/middleware/models/index.d.ts +164 -15
  78. package/es/apis/middleware/models/index.mjs +53 -3
  79. package/es/apis/middleware/models/index.mjs.map +1 -1
  80. package/es/apis/middleware/models/mappers.d.ts +8 -1
  81. package/es/apis/middleware/models/mappers.mjs +376 -3
  82. package/es/apis/middleware/models/mappers.mjs.map +1 -1
  83. package/es/apis/middleware/models/parameters.d.ts +6 -3
  84. package/es/apis/middleware/models/parameters.mjs +38 -11
  85. package/es/apis/middleware/models/parameters.mjs.map +1 -1
  86. package/es/apis/node/models/index.d.ts +66 -2
  87. package/es/apis/node/models/index.mjs.map +1 -1
  88. package/es/apis/node/models/mappers.d.ts +5 -1
  89. package/es/apis/node/models/mappers.mjs +229 -7
  90. package/es/apis/node/models/mappers.mjs.map +1 -1
  91. package/es/apis/node/models/parameters.d.ts +2 -2
  92. package/es/apis/node/models/parameters.mjs +2 -2
  93. package/es/apis/node/models/parameters.mjs.map +1 -1
  94. package/es/apis/node/node.d.ts +24 -3
  95. package/es/apis/node/node.mjs +135 -3
  96. package/es/apis/node/node.mjs.map +1 -1
  97. package/es/chain.d.ts +14 -44
  98. package/es/chain.mjs +125 -219
  99. package/es/chain.mjs.map +1 -1
  100. package/es/channel/Base.d.ts +3 -47
  101. package/es/channel/Base.mjs +21 -54
  102. package/es/channel/Base.mjs.map +1 -1
  103. package/es/channel/Contract.d.ts +16 -25
  104. package/es/channel/Contract.mjs +39 -63
  105. package/es/channel/Contract.mjs.map +1 -1
  106. package/es/channel/Spend.d.ts +0 -8
  107. package/es/channel/Spend.mjs +17 -29
  108. package/es/channel/Spend.mjs.map +1 -1
  109. package/es/channel/handlers.mjs +1 -1
  110. package/es/channel/handlers.mjs.map +1 -1
  111. package/es/channel/internal.d.ts +104 -5
  112. package/es/channel/internal.mjs +26 -34
  113. package/es/channel/internal.mjs.map +1 -1
  114. package/es/contract/Contract.d.ts +9 -1
  115. package/es/contract/Contract.mjs +67 -73
  116. package/es/contract/Contract.mjs.map +1 -1
  117. package/es/contract/compiler/Base.d.ts +14 -8
  118. package/es/contract/compiler/Base.mjs.map +1 -1
  119. package/es/contract/compiler/Cli.d.ts +5 -9
  120. package/es/contract/compiler/Cli.mjs +45 -23
  121. package/es/contract/compiler/Cli.mjs.map +1 -1
  122. package/es/contract/compiler/Cli8.d.ts +13 -0
  123. package/es/contract/compiler/Cli8.mjs +22 -0
  124. package/es/contract/compiler/Cli8.mjs.map +1 -0
  125. package/es/contract/compiler/Http.d.ts +3 -9
  126. package/es/contract/compiler/Http.mjs +28 -16
  127. package/es/contract/compiler/Http.mjs.map +1 -1
  128. package/es/contract/compiler/HttpNode.d.ts +2 -5
  129. package/es/contract/compiler/HttpNode.mjs.map +1 -1
  130. package/es/contract/delegation-signature.d.ts +2 -1
  131. package/es/contract/delegation-signature.mjs +18 -14
  132. package/es/contract/delegation-signature.mjs.map +1 -1
  133. package/es/contract/ga.d.ts +1 -2
  134. package/es/contract/ga.mjs +23 -25
  135. package/es/contract/ga.mjs.map +1 -1
  136. package/es/deprecated.d.ts +38 -0
  137. package/es/deprecated.mjs +45 -0
  138. package/es/deprecated.mjs.map +1 -1
  139. package/es/index-browser.d.ts +10 -5
  140. package/es/index-browser.mjs +9 -5
  141. package/es/index-browser.mjs.map +1 -1
  142. package/es/index.d.ts +1 -0
  143. package/es/index.mjs +1 -0
  144. package/es/index.mjs.map +1 -1
  145. package/es/oracle.d.ts +6 -37
  146. package/es/oracle.mjs +32 -66
  147. package/es/oracle.mjs.map +1 -1
  148. package/es/send-transaction.d.ts +53 -0
  149. package/es/send-transaction.mjs +109 -0
  150. package/es/send-transaction.mjs.map +1 -0
  151. package/es/spend.d.ts +4 -3
  152. package/es/spend.mjs +6 -1
  153. package/es/spend.mjs.map +1 -1
  154. package/es/tx/builder/common.d.ts +29 -0
  155. package/es/tx/builder/common.mjs +42 -0
  156. package/es/tx/builder/common.mjs.map +1 -0
  157. package/es/tx/builder/constants.d.ts +4 -4
  158. package/es/tx/builder/constants.mjs +6 -15
  159. package/es/tx/builder/constants.mjs.map +1 -1
  160. package/es/tx/builder/delegation/index.d.ts +20 -0
  161. package/es/tx/builder/delegation/index.mjs +24 -0
  162. package/es/tx/builder/delegation/index.mjs.map +1 -0
  163. package/es/tx/builder/delegation/schema.d.ts +130 -0
  164. package/es/tx/builder/delegation/schema.generated.d.ts +141 -0
  165. package/es/tx/builder/delegation/schema.generated.mjs +2 -0
  166. package/es/tx/builder/delegation/schema.generated.mjs.map +1 -0
  167. package/es/tx/builder/delegation/schema.mjs +54 -0
  168. package/es/tx/builder/delegation/schema.mjs.map +1 -0
  169. package/es/tx/builder/field-types/abi-version.mjs +8 -11
  170. package/es/tx/builder/field-types/abi-version.mjs.map +1 -1
  171. package/es/tx/builder/field-types/address.mjs +1 -4
  172. package/es/tx/builder/field-types/address.mjs.map +1 -1
  173. package/es/tx/builder/field-types/coin-amount.d.ts +2 -2
  174. package/es/tx/builder/field-types/coin-amount.mjs +6 -6
  175. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
  176. package/es/tx/builder/field-types/ct-version.mjs +3 -4
  177. package/es/tx/builder/field-types/ct-version.mjs.map +1 -1
  178. package/es/tx/builder/field-types/entry.mjs +7 -13
  179. package/es/tx/builder/field-types/entry.mjs.map +1 -1
  180. package/es/tx/builder/field-types/fee.d.ts +19 -11
  181. package/es/tx/builder/field-types/fee.mjs +56 -38
  182. package/es/tx/builder/field-types/fee.mjs.map +1 -1
  183. package/es/tx/builder/field-types/gas-limit.mjs +13 -15
  184. package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
  185. package/es/tx/builder/field-types/gas-price.d.ts +10 -2
  186. package/es/tx/builder/field-types/gas-price.mjs +52 -3
  187. package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
  188. package/es/tx/builder/field-types/index.d.ts +31 -29
  189. package/es/tx/builder/field-types/index.mjs +31 -29
  190. package/es/tx/builder/field-types/index.mjs.map +1 -1
  191. package/es/tx/builder/field-types/map.mjs +20 -31
  192. package/es/tx/builder/field-types/map.mjs.map +1 -1
  193. package/es/tx/builder/field-types/mptree.mjs +14 -29
  194. package/es/tx/builder/field-types/mptree.mjs.map +1 -1
  195. package/es/tx/builder/field-types/name-fee.d.ts +1 -1
  196. package/es/tx/builder/field-types/name-fee.mjs +1 -1
  197. package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
  198. package/es/tx/builder/field-types/nonce.d.ts +1 -0
  199. package/es/tx/builder/field-types/nonce.mjs +2 -0
  200. package/es/tx/builder/field-types/nonce.mjs.map +1 -1
  201. package/es/tx/builder/field-types/pointers.mjs +4 -7
  202. package/es/tx/builder/field-types/pointers.mjs.map +1 -1
  203. package/es/tx/builder/field-types/pointers2.d.ts +23 -0
  204. package/es/tx/builder/field-types/pointers2.mjs +65 -0
  205. package/es/tx/builder/field-types/pointers2.mjs.map +1 -0
  206. package/es/tx/builder/field-types/query-fee.d.ts +19 -0
  207. package/es/tx/builder/field-types/query-fee.mjs +20 -0
  208. package/es/tx/builder/field-types/query-fee.mjs.map +1 -0
  209. package/es/tx/builder/field-types/ttl.d.ts +9 -1
  210. package/es/tx/builder/field-types/ttl.mjs +19 -8
  211. package/es/tx/builder/field-types/ttl.mjs.map +1 -1
  212. package/es/tx/builder/field-types/with-default.d.ts +7 -0
  213. package/es/tx/builder/field-types/with-default.mjs +9 -0
  214. package/es/tx/builder/field-types/with-default.mjs.map +1 -0
  215. package/es/tx/builder/field-types/with-formatting.d.ts +7 -0
  216. package/es/tx/builder/field-types/with-formatting.mjs +9 -0
  217. package/es/tx/builder/field-types/with-formatting.mjs.map +1 -0
  218. package/es/tx/builder/field-types/wrapped.mjs +6 -8
  219. package/es/tx/builder/field-types/wrapped.mjs.map +1 -1
  220. package/es/tx/builder/helpers.d.ts +2 -2
  221. package/es/tx/builder/helpers.mjs +12 -21
  222. package/es/tx/builder/helpers.mjs.map +1 -1
  223. package/es/tx/builder/index.d.ts +17 -10
  224. package/es/tx/builder/index.mjs +39 -65
  225. package/es/tx/builder/index.mjs.map +1 -1
  226. package/es/tx/builder/schema.d.ts +478 -257
  227. package/es/tx/builder/schema.generated.d.ts +39 -3
  228. package/es/tx/builder/schema.generated.mjs.map +1 -1
  229. package/es/tx/builder/schema.mjs +48 -36
  230. package/es/tx/builder/schema.mjs.map +1 -1
  231. package/es/tx/execution-cost.d.ts +6 -5
  232. package/es/tx/execution-cost.mjs +16 -17
  233. package/es/tx/execution-cost.mjs.map +1 -1
  234. package/es/tx/transaction-signer.mjs +1 -4
  235. package/es/tx/transaction-signer.mjs.map +1 -1
  236. package/es/tx/validator.mjs +61 -42
  237. package/es/tx/validator.mjs.map +1 -1
  238. package/es/utils/amount-formatter.mjs +15 -22
  239. package/es/utils/amount-formatter.mjs.map +1 -1
  240. package/es/utils/autorest.d.ts +2 -3
  241. package/es/utils/autorest.mjs +40 -24
  242. package/es/utils/autorest.mjs.map +1 -1
  243. package/es/utils/bytes.mjs +1 -2
  244. package/es/utils/bytes.mjs.map +1 -1
  245. package/es/utils/crypto.d.ts +8 -4
  246. package/es/utils/crypto.mjs +17 -13
  247. package/es/utils/crypto.mjs.map +1 -1
  248. package/es/utils/errors.d.ts +6 -0
  249. package/es/utils/errors.mjs +12 -6
  250. package/es/utils/errors.mjs.map +1 -1
  251. package/es/utils/hd-wallet.d.ts +2 -0
  252. package/es/utils/hd-wallet.mjs +6 -5
  253. package/es/utils/hd-wallet.mjs.map +1 -1
  254. package/es/utils/json-big.mjs +2 -10
  255. package/es/utils/json-big.mjs.map +1 -1
  256. package/es/utils/jwt.d.ts +53 -0
  257. package/es/utils/jwt.mjs +120 -0
  258. package/es/utils/jwt.mjs.map +1 -0
  259. package/es/utils/keystore.d.ts +6 -2
  260. package/es/utils/keystore.mjs +8 -16
  261. package/es/utils/keystore.mjs.map +1 -1
  262. package/es/utils/typed-data.mjs +1 -0
  263. package/es/utils/typed-data.mjs.map +1 -1
  264. package/es/utils/wrap-proxy.d.ts +2 -0
  265. package/es/utils/wrap-proxy.mjs +15 -0
  266. package/es/utils/wrap-proxy.mjs.map +1 -0
  267. package/package.json +57 -51
  268. package/src/AeSdk.ts +3 -0
  269. package/src/AeSdkAepp.ts +0 -1
  270. package/src/AeSdkBase.ts +97 -10
  271. package/src/AeSdkMethods.ts +37 -33
  272. package/src/AeSdkWallet.ts +22 -3
  273. package/src/Middleware.ts +16 -8
  274. package/src/MiddlewareSubscriber.ts +1 -1
  275. package/src/Node.ts +37 -18
  276. package/src/account/Base.ts +62 -3
  277. package/src/account/Generalized.ts +10 -0
  278. package/src/account/Ledger.ts +10 -0
  279. package/src/account/Memory.ts +83 -9
  280. package/src/account/Rpc.ts +69 -6
  281. package/src/aens.ts +35 -56
  282. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +3 -0
  283. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +2 -2
  284. package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -2
  285. package/src/aepp-wallet-communication/rpc/types.ts +13 -0
  286. package/src/aepp-wallet-communication/schema.ts +2 -0
  287. package/src/apis/compiler/compiler.ts +93 -93
  288. package/src/apis/compiler/models/index.ts +1 -0
  289. package/src/apis/compiler/models/mappers.ts +178 -165
  290. package/src/apis/compiler/models/parameters.ts +18 -18
  291. package/src/apis/middleware/middleware.ts +462 -341
  292. package/src/apis/middleware/models/index.ts +258 -56
  293. package/src/apis/middleware/models/mappers.ts +2357 -1919
  294. package/src/apis/middleware/models/parameters.ts +172 -142
  295. package/src/apis/node/models/index.ts +79 -2
  296. package/src/apis/node/models/mappers.ts +1529 -1302
  297. package/src/apis/node/models/parameters.ts +51 -51
  298. package/src/apis/node/node.ts +420 -275
  299. package/src/chain.ts +42 -128
  300. package/src/channel/Base.ts +14 -47
  301. package/src/channel/Contract.ts +18 -26
  302. package/src/channel/Spend.ts +0 -8
  303. package/src/channel/internal.ts +115 -13
  304. package/src/contract/Contract.ts +26 -8
  305. package/src/contract/compiler/Base.ts +15 -8
  306. package/src/contract/compiler/Cli.ts +37 -21
  307. package/src/contract/compiler/Cli8.ts +17 -0
  308. package/src/contract/compiler/Http.ts +24 -14
  309. package/src/contract/compiler/HttpNode.ts +2 -2
  310. package/src/contract/delegation-signature.ts +11 -5
  311. package/src/contract/ga.ts +4 -3
  312. package/src/deprecated.ts +36 -0
  313. package/src/index-browser.ts +14 -7
  314. package/src/index.ts +1 -0
  315. package/src/oracle.ts +11 -54
  316. package/src/send-transaction.ts +136 -0
  317. package/src/spend.ts +25 -11
  318. package/src/tx/builder/common.ts +74 -0
  319. package/src/tx/builder/constants.ts +6 -9
  320. package/src/tx/builder/delegation/index.ts +28 -0
  321. package/src/tx/builder/delegation/schema.generated.ts +143 -0
  322. package/src/tx/builder/delegation/schema.ts +61 -0
  323. package/src/tx/builder/field-types/coin-amount.ts +3 -2
  324. package/src/tx/builder/field-types/entry.ts +1 -4
  325. package/src/tx/builder/field-types/fee.ts +71 -43
  326. package/src/tx/builder/field-types/gas-limit.ts +4 -4
  327. package/src/tx/builder/field-types/gas-price.ts +58 -2
  328. package/src/tx/builder/field-types/index.ts +31 -59
  329. package/src/tx/builder/field-types/name-fee.ts +1 -1
  330. package/src/tx/builder/field-types/nonce.ts +7 -1
  331. package/src/tx/builder/field-types/pointers2.ts +62 -0
  332. package/src/tx/builder/field-types/query-fee.ts +25 -0
  333. package/src/tx/builder/field-types/ttl.ts +13 -3
  334. package/src/tx/builder/field-types/with-default.ts +18 -0
  335. package/src/tx/builder/field-types/with-formatting.ts +18 -0
  336. package/src/tx/builder/helpers.ts +2 -2
  337. package/src/tx/builder/index.ts +42 -59
  338. package/src/tx/builder/schema.generated.ts +39 -3
  339. package/src/tx/builder/schema.ts +55 -29
  340. package/src/tx/execution-cost.ts +6 -5
  341. package/src/tx/validator.ts +31 -5
  342. package/src/utils/autorest.ts +36 -27
  343. package/src/utils/crypto.ts +23 -13
  344. package/src/utils/errors.ts +10 -0
  345. package/src/utils/hd-wallet.ts +2 -0
  346. package/src/utils/jwt.ts +126 -0
  347. package/src/utils/keystore.ts +6 -2
  348. package/src/utils/wrap-proxy.ts +24 -0
  349. package/types-legacy/ts4.2/AeSdk.d.ts +3 -0
  350. package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -1
  351. package/types-legacy/ts4.2/AeSdkBase.d.ts +61 -6
  352. package/types-legacy/ts4.2/AeSdkMethods.d.ts +19 -7
  353. package/types-legacy/ts4.2/Node.d.ts +14 -1
  354. package/types-legacy/ts4.2/account/Base.d.ts +39 -3
  355. package/types-legacy/ts4.2/account/Generalized.d.ts +2 -0
  356. package/types-legacy/ts4.2/account/Ledger.d.ts +2 -0
  357. package/types-legacy/ts4.2/account/Memory.d.ts +15 -4
  358. package/types-legacy/ts4.2/account/Rpc.d.ts +16 -5
  359. package/types-legacy/ts4.2/aens.d.ts +17 -44
  360. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  361. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +14 -0
  362. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +2 -0
  363. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -0
  364. package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +23 -5
  365. package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +164 -15
  366. package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +8 -1
  367. package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +6 -3
  368. package/types-legacy/ts4.2/apis/node/models/index.d.ts +66 -2
  369. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +5 -1
  370. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +2 -2
  371. package/types-legacy/ts4.2/apis/node/node.d.ts +24 -3
  372. package/types-legacy/ts4.2/chain.d.ts +14 -44
  373. package/types-legacy/ts4.2/channel/Base.d.ts +3 -47
  374. package/types-legacy/ts4.2/channel/Contract.d.ts +16 -25
  375. package/types-legacy/ts4.2/channel/Spend.d.ts +0 -8
  376. package/types-legacy/ts4.2/channel/internal.d.ts +104 -5
  377. package/types-legacy/ts4.2/contract/Contract.d.ts +9 -1
  378. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +14 -8
  379. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +5 -9
  380. package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +13 -0
  381. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +3 -9
  382. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +2 -5
  383. package/types-legacy/ts4.2/contract/delegation-signature.d.ts +2 -1
  384. package/types-legacy/ts4.2/contract/ga.d.ts +1 -2
  385. package/types-legacy/ts4.2/deprecated.d.ts +38 -0
  386. package/types-legacy/ts4.2/index-browser.d.ts +10 -5
  387. package/types-legacy/ts4.2/index.d.ts +1 -0
  388. package/types-legacy/ts4.2/oracle.d.ts +6 -37
  389. package/types-legacy/ts4.2/send-transaction.d.ts +53 -0
  390. package/types-legacy/ts4.2/spend.d.ts +4 -3
  391. package/types-legacy/ts4.2/tx/builder/common.d.ts +32 -0
  392. package/types-legacy/ts4.2/tx/builder/constants.d.ts +4 -4
  393. package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +20 -0
  394. package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +136 -0
  395. package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +141 -0
  396. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +2 -2
  397. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +19 -11
  398. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +10 -2
  399. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +31 -29
  400. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +1 -1
  401. package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +1 -0
  402. package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +26 -0
  403. package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +19 -0
  404. package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +9 -1
  405. package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +7 -0
  406. package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +7 -0
  407. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +2 -2
  408. package/types-legacy/ts4.2/tx/builder/index.d.ts +17 -10
  409. package/types-legacy/ts4.2/tx/builder/schema.d.ts +482 -257
  410. package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +39 -3
  411. package/types-legacy/ts4.2/tx/execution-cost.d.ts +6 -5
  412. package/types-legacy/ts4.2/utils/autorest.d.ts +2 -3
  413. package/types-legacy/ts4.2/utils/crypto.d.ts +8 -4
  414. package/types-legacy/ts4.2/utils/errors.d.ts +6 -0
  415. package/types-legacy/ts4.2/utils/hd-wallet.d.ts +2 -0
  416. package/types-legacy/ts4.2/utils/jwt.d.ts +53 -0
  417. package/types-legacy/ts4.2/utils/keystore.d.ts +6 -2
  418. package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +2 -0
  419. package/types-legacy/ts4.5/AeSdk.d.ts +3 -0
  420. package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -1
  421. package/types-legacy/ts4.5/AeSdkBase.d.ts +61 -6
  422. package/types-legacy/ts4.5/AeSdkMethods.d.ts +19 -7
  423. package/types-legacy/ts4.5/Node.d.ts +14 -1
  424. package/types-legacy/ts4.5/account/Base.d.ts +39 -3
  425. package/types-legacy/ts4.5/account/Generalized.d.ts +2 -0
  426. package/types-legacy/ts4.5/account/Ledger.d.ts +2 -0
  427. package/types-legacy/ts4.5/account/Memory.d.ts +15 -4
  428. package/types-legacy/ts4.5/account/Rpc.d.ts +16 -5
  429. package/types-legacy/ts4.5/aens.d.ts +17 -44
  430. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  431. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +14 -0
  432. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +2 -0
  433. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -0
  434. package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +23 -5
  435. package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +164 -15
  436. package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +8 -1
  437. package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +6 -3
  438. package/types-legacy/ts4.5/apis/node/models/index.d.ts +66 -2
  439. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +5 -1
  440. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +2 -2
  441. package/types-legacy/ts4.5/apis/node/node.d.ts +24 -3
  442. package/types-legacy/ts4.5/chain.d.ts +14 -44
  443. package/types-legacy/ts4.5/channel/Base.d.ts +3 -47
  444. package/types-legacy/ts4.5/channel/Contract.d.ts +16 -25
  445. package/types-legacy/ts4.5/channel/Spend.d.ts +0 -8
  446. package/types-legacy/ts4.5/channel/internal.d.ts +104 -5
  447. package/types-legacy/ts4.5/contract/Contract.d.ts +9 -1
  448. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +14 -8
  449. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +5 -9
  450. package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +13 -0
  451. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +3 -9
  452. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +2 -5
  453. package/types-legacy/ts4.5/contract/delegation-signature.d.ts +2 -1
  454. package/types-legacy/ts4.5/contract/ga.d.ts +1 -2
  455. package/types-legacy/ts4.5/deprecated.d.ts +38 -0
  456. package/types-legacy/ts4.5/index-browser.d.ts +10 -5
  457. package/types-legacy/ts4.5/index.d.ts +1 -0
  458. package/types-legacy/ts4.5/oracle.d.ts +6 -37
  459. package/types-legacy/ts4.5/send-transaction.d.ts +53 -0
  460. package/types-legacy/ts4.5/spend.d.ts +4 -3
  461. package/types-legacy/ts4.5/tx/builder/common.d.ts +32 -0
  462. package/types-legacy/ts4.5/tx/builder/constants.d.ts +4 -4
  463. package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +20 -0
  464. package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +136 -0
  465. package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +141 -0
  466. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +2 -2
  467. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +19 -11
  468. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +10 -2
  469. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +31 -29
  470. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +1 -1
  471. package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +1 -0
  472. package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +26 -0
  473. package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +19 -0
  474. package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +9 -1
  475. package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +7 -0
  476. package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +7 -0
  477. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +2 -2
  478. package/types-legacy/ts4.5/tx/builder/index.d.ts +17 -10
  479. package/types-legacy/ts4.5/tx/builder/schema.d.ts +482 -257
  480. package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +39 -3
  481. package/types-legacy/ts4.5/tx/execution-cost.d.ts +6 -5
  482. package/types-legacy/ts4.5/utils/autorest.d.ts +2 -3
  483. package/types-legacy/ts4.5/utils/crypto.d.ts +8 -4
  484. package/types-legacy/ts4.5/utils/errors.d.ts +6 -0
  485. package/types-legacy/ts4.5/utils/hd-wallet.d.ts +2 -0
  486. package/types-legacy/ts4.5/utils/jwt.d.ts +53 -0
  487. package/types-legacy/ts4.5/utils/keystore.d.ts +6 -2
  488. package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +2 -0
  489. package/es/tx/builder/field-types/deposit.d.ts +0 -15
  490. package/es/tx/builder/field-types/deposit.mjs +0 -18
  491. package/es/tx/builder/field-types/deposit.mjs.map +0 -1
  492. package/src/tx/builder/field-types/deposit.ts +0 -23
  493. package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +0 -15
  494. package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +0 -15
@@ -8,6 +8,8 @@ export interface Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplica
8
8
  export interface Activity {
9
9
  /** The block hash */
10
10
  blockHash: string;
11
+ /** The time in which the block happened */
12
+ blockTime?: number;
11
13
  /** The block height */
12
14
  height: number;
13
15
  /** Any object */
@@ -282,8 +284,10 @@ export interface Channel {
282
284
  initiator?: string;
283
285
  /** Amount owned by initiator */
284
286
  initiatorAmount?: number;
285
- /** The last height in which the channel was updated */
287
+ /** The last height in which the channel was updated on chain */
286
288
  lastUpdatedHeight?: string;
289
+ /** The block time in which the channel was last updated */
290
+ lastUpdatedTime?: number;
287
291
  /** The transaction type of the last transaction that updated the channel */
288
292
  lastUpdatedTxType?: string;
289
293
  /** Amount of heights locked after a solo closing */
@@ -345,6 +349,16 @@ export interface ContractLog {
345
349
  parentContractId?: number;
346
350
  }
347
351
 
352
+ /** Contract creation info */
353
+ export interface Contract {
354
+ aexnType?: string;
355
+ blockHash?: string;
356
+ /** Any object */
357
+ createTx?: Record<string, unknown>;
358
+ sourceTxHash?: string;
359
+ sourceTxType?: string;
360
+ }
361
+
348
362
  export interface PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0 {
349
363
  data?: DeltaStat[];
350
364
  }
@@ -361,6 +375,8 @@ export interface DeltaStat {
361
375
  devReward?: number;
362
376
  /** The generation */
363
377
  height?: number;
378
+ /** The last transaction hash for this height */
379
+ lastTxHash?: string;
364
380
  /** The number of names activated */
365
381
  namesActivated?: number;
366
382
  /** The number of names expired */
@@ -473,6 +489,7 @@ export interface Name {
473
489
  }
474
490
 
475
491
  export interface NameInfo {
492
+ activationTime?: number;
476
493
  activeFrom?: number;
477
494
  claims?: number[];
478
495
  expireHeight?: number;
@@ -558,6 +575,10 @@ export interface NameUpdate {
558
575
  tx?: Record<string, unknown>;
559
576
  }
560
577
 
578
+ export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
579
+ data?: Oracle[];
580
+ }
581
+
561
582
  export interface Oracle {
562
583
  /** The oracle active status */
563
584
  active: boolean;
@@ -573,6 +594,8 @@ export interface Oracle {
573
594
  queryFee: number;
574
595
  /** The tx index when the oracle is registered */
575
596
  register: number;
597
+ /** The block time in which the oracle was registered */
598
+ registerTime?: number;
576
599
  }
577
600
 
578
601
  /** The oracle's query and response formats */
@@ -583,8 +606,74 @@ export interface OracleExtendsItem {
583
606
  response: string;
584
607
  }
585
608
 
586
- export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
587
- data?: Oracle[];
609
+ export interface Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0 {
610
+ data?: OracleQuery[];
611
+ }
612
+
613
+ export interface OracleQuery {
614
+ /** The hash of the block in which it ocurred */
615
+ blockHash: string;
616
+ /** The time of the block */
617
+ blockTime: number;
618
+ /** The transaction fee */
619
+ fee: number;
620
+ /** The block height */
621
+ height: number;
622
+ /** The nonce */
623
+ nonce: number;
624
+ /** The oracle ID of this query */
625
+ oracleId: string;
626
+ /** Base64 encoding of the query */
627
+ query: string;
628
+ /** The query fee */
629
+ queryFee: number;
630
+ /** The query ID */
631
+ queryId: string;
632
+ /** Expiration of the query */
633
+ queryTtl: Record<string, unknown>;
634
+ response?: OracleResponse;
635
+ /** Expiration of the response */
636
+ responseTtl: Record<string, unknown>;
637
+ /** The creator of the query */
638
+ senderId: string;
639
+ /** The hash of the transaction in which the query was created */
640
+ sourceTxHash: string;
641
+ /** The type of the transaction in which the query was created, it can be either via a contract call or a query transaction */
642
+ sourceTxType: string;
643
+ /** Transaction TTL */
644
+ ttl: number;
645
+ }
646
+
647
+ export interface OracleResponse {
648
+ /** The hash of the block in which it ocurred */
649
+ blockHash: string;
650
+ /** The time of the block */
651
+ blockTime: number;
652
+ /** The transaction fee */
653
+ fee: number;
654
+ /** The block height */
655
+ height: number;
656
+ /** The nonce */
657
+ nonce: number;
658
+ /** The oracle ID of this response */
659
+ oracleId: string;
660
+ query?: OracleResponse;
661
+ /** The query ID */
662
+ queryId: string;
663
+ /** Base64 encoding of the response */
664
+ response: string;
665
+ /** Expiration of the response */
666
+ responseTtl: Record<string, unknown>;
667
+ /** The hash of the transaction in which the response was created */
668
+ sourceTxHash: string;
669
+ /** The type of the transaction in which the response was created, it can be either via a contract call or a respond transaction */
670
+ sourceTxType: string;
671
+ /** Transaction TTL */
672
+ ttl: number;
673
+ }
674
+
675
+ export interface Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0 {
676
+ data?: OracleResponse[];
588
677
  }
589
678
 
590
679
  export interface Status {
@@ -639,6 +728,8 @@ export interface TotalStat {
639
728
  devReward?: number;
640
729
  /** The generation */
641
730
  height?: number;
731
+ /** The last transaction hash for this height */
732
+ lastTxHash?: string;
642
733
  /** The number of names activated */
643
734
  namesActivated?: number;
644
735
  /** The number of names expired */
@@ -876,6 +967,14 @@ export interface PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema
876
967
  extends PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0,
877
968
  PaginatedResponse {}
878
969
 
970
+ export interface Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema
971
+ extends Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0,
972
+ PaginatedResponse {}
973
+
974
+ export interface Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema
975
+ extends Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0,
976
+ PaginatedResponse {}
977
+
879
978
  export interface Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema
880
979
  extends PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0,
881
980
  PaginatedResponse {}
@@ -913,7 +1012,7 @@ export enum KnownEnum0 {
913
1012
  /** Transfers */
914
1013
  Transfers = "transfers",
915
1014
  /** Claims */
916
- Claims = "claims"
1015
+ Claims = "claims",
917
1016
  }
918
1017
 
919
1018
  /**
@@ -936,7 +1035,7 @@ export enum KnownEnum1 {
936
1035
  /** Forward */
937
1036
  Forward = "forward",
938
1037
  /** Backward */
939
- Backward = "backward"
1038
+ Backward = "backward",
940
1039
  }
941
1040
 
942
1041
  /**
@@ -1004,7 +1103,7 @@ export enum KnownActivityType {
1004
1103
  /** ChannelClientReconnectTxEvent */
1005
1104
  ChannelClientReconnectTxEvent = "ChannelClientReconnectTxEvent",
1006
1105
  /** PayingForTxEvent */
1007
- PayingForTxEvent = "PayingForTxEvent"
1106
+ PayingForTxEvent = "PayingForTxEvent",
1008
1107
  }
1009
1108
 
1010
1109
  /**
@@ -1044,28 +1143,70 @@ export type ActivityType = string;
1044
1143
 
1045
1144
  /** Known values of {@link Enum3} that the service accepts. */
1046
1145
  export enum KnownEnum3 {
1146
+ /** Creation */
1147
+ Creation = "creation",
1148
+ /** Name */
1149
+ Name = "name",
1150
+ /** Symbol */
1151
+ Symbol = "symbol",
1152
+ }
1153
+
1154
+ /**
1155
+ * Defines values for Enum3. \
1156
+ * {@link KnownEnum3} can be used interchangeably with Enum3,
1157
+ * this enum contains the known values that the service supports.
1158
+ * ### Known values supported by the service
1159
+ * **creation** \
1160
+ * **name** \
1161
+ * **symbol**
1162
+ */
1163
+ export type Enum3 = string;
1164
+
1165
+ /** Known values of {@link Enum4} that the service accepts. */
1166
+ export enum KnownEnum4 {
1167
+ /** Creation */
1168
+ Creation = "creation",
1169
+ /** Name */
1170
+ Name = "name",
1171
+ /** Symbol */
1172
+ Symbol = "symbol",
1173
+ }
1174
+
1175
+ /**
1176
+ * Defines values for Enum4. \
1177
+ * {@link KnownEnum4} can be used interchangeably with Enum4,
1178
+ * this enum contains the known values that the service supports.
1179
+ * ### Known values supported by the service
1180
+ * **creation** \
1181
+ * **name** \
1182
+ * **symbol**
1183
+ */
1184
+ export type Enum4 = string;
1185
+
1186
+ /** Known values of {@link Enum5} that the service accepts. */
1187
+ export enum KnownEnum5 {
1047
1188
  /** Active */
1048
1189
  Active = "active",
1049
1190
  /** Inactive */
1050
- Inactive = "inactive"
1191
+ Inactive = "inactive",
1051
1192
  }
1052
1193
 
1053
1194
  /**
1054
- * Defines values for Enum3. \
1055
- * {@link KnownEnum3} can be used interchangeably with Enum3,
1195
+ * Defines values for Enum5. \
1196
+ * {@link KnownEnum5} can be used interchangeably with Enum5,
1056
1197
  * this enum contains the known values that the service supports.
1057
1198
  * ### Known values supported by the service
1058
1199
  * **active** \
1059
1200
  * **inactive**
1060
1201
  */
1061
- export type Enum3 = string;
1202
+ export type Enum5 = string;
1062
1203
 
1063
1204
  /** Known values of {@link NameStatus} that the service accepts. */
1064
1205
  export enum KnownNameStatus {
1065
1206
  /** Name */
1066
1207
  Name = "name",
1067
1208
  /** Auction */
1068
- Auction = "auction"
1209
+ Auction = "auction",
1069
1210
  }
1070
1211
 
1071
1212
  /**
@@ -1081,7 +1222,7 @@ export type NameStatus = string;
1081
1222
  /** Known values of {@link AuctionInfoStatus} that the service accepts. */
1082
1223
  export enum KnownAuctionInfoStatus {
1083
1224
  /** Auction */
1084
- Auction = "auction"
1225
+ Auction = "auction",
1085
1226
  }
1086
1227
 
1087
1228
  /**
@@ -1100,7 +1241,7 @@ export enum KnownGet200ApplicationJsonAllOfPropertiesItems1Status {
1100
1241
  /** Active */
1101
1242
  Active = "active",
1102
1243
  /** Inactive */
1103
- Inactive = "inactive"
1244
+ Inactive = "inactive",
1104
1245
  }
1105
1246
 
1106
1247
  /**
@@ -1119,7 +1260,7 @@ export enum KnownTransferKind {
1119
1260
  /** RewardDev */
1120
1261
  RewardDev = "reward_dev",
1121
1262
  /** RewardBlock */
1122
- RewardBlock = "reward_block"
1263
+ RewardBlock = "reward_block",
1123
1264
  }
1124
1265
 
1125
1266
  /**
@@ -1183,7 +1324,7 @@ export enum KnownGet0ItemsItem {
1183
1324
  /** PayingFor */
1184
1325
  PayingFor = "paying_for",
1185
1326
  /** Spend */
1186
- Spend = "spend"
1327
+ Spend = "spend",
1187
1328
  }
1188
1329
 
1189
1330
  /**
@@ -1234,7 +1375,7 @@ export enum KnownGet1ItemsItem {
1234
1375
  /** PayingFor */
1235
1376
  PayingFor = "paying_for",
1236
1377
  /** Spend */
1237
- Spend = "spend"
1378
+ Spend = "spend",
1238
1379
  }
1239
1380
 
1240
1381
  /**
@@ -1279,7 +1420,7 @@ export enum KnownInternalTransferEventKind {
1279
1420
  /** FeeSpendName */
1280
1421
  FeeSpendName = "fee_spend_name",
1281
1422
  /** RewardOracle */
1282
- RewardOracle = "reward_oracle"
1423
+ RewardOracle = "reward_oracle",
1283
1424
  }
1284
1425
 
1285
1426
  /**
@@ -1323,26 +1464,32 @@ export interface GetAccountActivitiesOptionalParams
1323
1464
  }
1324
1465
 
1325
1466
  /** Contains response data for the getAccountActivities operation. */
1326
- export type GetAccountActivitiesResponse = PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema;
1467
+ export type GetAccountActivitiesResponse =
1468
+ PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema;
1327
1469
 
1328
1470
  /** Optional parameters. */
1329
1471
  export interface GetSortedAex141ContractsOptionalParams
1330
1472
  extends coreClient.OperationOptions {
1331
1473
  /** meta info field used on sorting */
1332
- by?: string;
1474
+ by?: Enum3;
1333
1475
  /** Sorts by name or symbol prefix */
1334
1476
  prefix?: string;
1335
1477
  }
1336
1478
 
1337
1479
  /** Contains response data for the getSortedAex141Contracts operation. */
1338
- export type GetSortedAex141ContractsResponse = PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
1480
+ export type GetSortedAex141ContractsResponse =
1481
+ PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
1339
1482
 
1340
1483
  /** Optional parameters. */
1341
1484
  export interface GetAex141OwnedTokensOptionalParams
1342
- extends coreClient.OperationOptions {}
1485
+ extends coreClient.OperationOptions {
1486
+ /** Collection contract pubkey */
1487
+ contract?: string;
1488
+ }
1343
1489
 
1344
1490
  /** Contains response data for the getAex141OwnedTokens operation. */
1345
- export type GetAex141OwnedTokensResponse = PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema;
1491
+ export type GetAex141OwnedTokensResponse =
1492
+ PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema;
1346
1493
 
1347
1494
  /** Optional parameters. */
1348
1495
  export interface GetAex141TokenOwnerOptionalParams
@@ -1359,21 +1506,24 @@ export interface GetAex141ContractOwnersOptionalParams
1359
1506
  extends coreClient.OperationOptions {}
1360
1507
 
1361
1508
  /** Contains response data for the getAex141ContractOwners operation. */
1362
- export type GetAex141ContractOwnersResponse = Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema;
1509
+ export type GetAex141ContractOwnersResponse =
1510
+ Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema;
1363
1511
 
1364
1512
  /** Optional parameters. */
1365
1513
  export interface GetAex141ContractTemplatesOptionalParams
1366
1514
  extends coreClient.OperationOptions {}
1367
1515
 
1368
1516
  /** Contains response data for the getAex141ContractTemplates operation. */
1369
- export type GetAex141ContractTemplatesResponse = Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema;
1517
+ export type GetAex141ContractTemplatesResponse =
1518
+ Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema;
1370
1519
 
1371
1520
  /** Optional parameters. */
1372
1521
  export interface GetAex141TemplateTokensOptionalParams
1373
1522
  extends coreClient.OperationOptions {}
1374
1523
 
1375
1524
  /** Contains response data for the getAex141TemplateTokens operation. */
1376
- export type GetAex141TemplateTokensResponse = PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema;
1525
+ export type GetAex141TemplateTokensResponse =
1526
+ PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema;
1377
1527
 
1378
1528
  /** Optional parameters. */
1379
1529
  export interface GetAex141ByContractOptionalParams
@@ -1385,21 +1535,23 @@ export type GetAex141ByContractResponse = Aex141Response;
1385
1535
  /** Optional parameters. */
1386
1536
  export interface GetSortedAex9TokensOptionalParams
1387
1537
  extends coreClient.OperationOptions {
1388
- /** meta info field used on sorting */
1389
- by?: string;
1390
1538
  /** Sorts by name or symbol */
1391
1539
  prefix?: string;
1540
+ /** meta info field used on sorting */
1541
+ by?: Enum4;
1392
1542
  }
1393
1543
 
1394
1544
  /** Contains response data for the getSortedAex9Tokens operation. */
1395
- export type GetSortedAex9TokensResponse = Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema;
1545
+ export type GetSortedAex9TokensResponse =
1546
+ Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema;
1396
1547
 
1397
1548
  /** Optional parameters. */
1398
1549
  export interface GetAex9AccountBalancesOptionalParams
1399
1550
  extends coreClient.OperationOptions {}
1400
1551
 
1401
1552
  /** Contains response data for the getAex9AccountBalances operation. */
1402
- export type GetAex9AccountBalancesResponse = Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema;
1553
+ export type GetAex9AccountBalancesResponse =
1554
+ Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema;
1403
1555
 
1404
1556
  /** Optional parameters. */
1405
1557
  export interface GetAex9TokensCountOptionalParams
@@ -1416,21 +1568,24 @@ export interface GetAex9PairTransfersOptionalParams
1416
1568
  extends coreClient.OperationOptions {}
1417
1569
 
1418
1570
  /** Contains response data for the getAex9PairTransfers operation. */
1419
- export type GetAex9PairTransfersResponse = Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema;
1571
+ export type GetAex9PairTransfersResponse =
1572
+ Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema;
1420
1573
 
1421
1574
  /** Optional parameters. */
1422
1575
  export interface GetAex9SenderTransfersOptionalParams
1423
1576
  extends coreClient.OperationOptions {}
1424
1577
 
1425
1578
  /** Contains response data for the getAex9SenderTransfers operation. */
1426
- export type GetAex9SenderTransfersResponse = Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema;
1579
+ export type GetAex9SenderTransfersResponse =
1580
+ Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema;
1427
1581
 
1428
1582
  /** Optional parameters. */
1429
1583
  export interface GetAex9RecipientTransfersOptionalParams
1430
1584
  extends coreClient.OperationOptions {}
1431
1585
 
1432
1586
  /** Contains response data for the getAex9RecipientTransfers operation. */
1433
- export type GetAex9RecipientTransfersResponse = Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema;
1587
+ export type GetAex9RecipientTransfersResponse =
1588
+ Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema;
1434
1589
 
1435
1590
  /** Optional parameters. */
1436
1591
  export interface GetAex9ContractBalancesOptionalParams
@@ -1440,21 +1595,24 @@ export interface GetAex9ContractBalancesOptionalParams
1440
1595
  }
1441
1596
 
1442
1597
  /** Contains response data for the getAex9ContractBalances operation. */
1443
- export type GetAex9ContractBalancesResponse = PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema;
1598
+ export type GetAex9ContractBalancesResponse =
1599
+ PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema;
1444
1600
 
1445
1601
  /** Optional parameters. */
1446
1602
  export interface GetAex9ContractAccountBalanceOptionalParams
1447
1603
  extends coreClient.OperationOptions {}
1448
1604
 
1449
1605
  /** Contains response data for the getAex9ContractAccountBalance operation. */
1450
- export type GetAex9ContractAccountBalanceResponse = Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema;
1606
+ export type GetAex9ContractAccountBalanceResponse =
1607
+ Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema;
1451
1608
 
1452
1609
  /** Optional parameters. */
1453
1610
  export interface GetAex9ContractAccountBalanceHistoryOptionalParams
1454
1611
  extends coreClient.OperationOptions {}
1455
1612
 
1456
1613
  /** Contains response data for the getAex9ContractAccountBalanceHistory operation. */
1457
- export type GetAex9ContractAccountBalanceHistoryResponse = Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema;
1614
+ export type GetAex9ContractAccountBalanceHistoryResponse =
1615
+ Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema;
1458
1616
 
1459
1617
  /** Optional parameters. */
1460
1618
  export interface GetAex9LogsCountOptionalParams
@@ -1477,7 +1635,8 @@ export type GetAex9ByContractResponse = Aex9Response;
1477
1635
  export interface GetBlocksOptionalParams extends coreClient.OperationOptions {}
1478
1636
 
1479
1637
  /** Contains response data for the getBlocks operation. */
1480
- export type GetBlocksResponse = Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema;
1638
+ export type GetBlocksResponse =
1639
+ Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema;
1481
1640
 
1482
1641
  /** Optional parameters. */
1483
1642
  export interface GetBlockOptionalParams extends coreClient.OperationOptions {}
@@ -1495,11 +1654,12 @@ export type GetBlockByMbiResponse = Block;
1495
1654
  /** Optional parameters. */
1496
1655
  export interface GetChannelsOptionalParams extends coreClient.OperationOptions {
1497
1656
  /** Exclusively filter by active/inactive channels. */
1498
- state?: Enum3;
1657
+ state?: Enum5;
1499
1658
  }
1500
1659
 
1501
1660
  /** Contains response data for the getChannels operation. */
1502
- export type GetChannelsResponse = Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema;
1661
+ export type GetChannelsResponse =
1662
+ Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema;
1503
1663
 
1504
1664
  /** Optional parameters. */
1505
1665
  export interface GetChannelOptionalParams extends coreClient.OperationOptions {}
@@ -1512,7 +1672,8 @@ export interface GetContractsCallsOptionalParams
1512
1672
  extends coreClient.OperationOptions {}
1513
1673
 
1514
1674
  /** Contains response data for the getContractsCalls operation. */
1515
- export type GetContractsCallsResponse = Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema;
1675
+ export type GetContractsCallsResponse =
1676
+ Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema;
1516
1677
 
1517
1678
  /** Optional parameters. */
1518
1679
  export interface GetContractsLogsOptionalParams
@@ -1522,6 +1683,8 @@ export interface GetContractsLogsOptionalParams
1522
1683
  /** Name of the event */
1523
1684
  event?: string;
1524
1685
  /** Prefix of the contract called function */
1686
+ function?: string;
1687
+ /** Prefix of the contract called function */
1525
1688
  functionPrefix?: string;
1526
1689
  /** Data prefix from the contract call */
1527
1690
  data?: string;
@@ -1530,21 +1693,31 @@ export interface GetContractsLogsOptionalParams
1530
1693
  }
1531
1694
 
1532
1695
  /** Contains response data for the getContractsLogs operation. */
1533
- export type GetContractsLogsResponse = PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema;
1696
+ export type GetContractsLogsResponse =
1697
+ PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema;
1698
+
1699
+ /** Optional parameters. */
1700
+ export interface GetContractOptionalParams
1701
+ extends coreClient.OperationOptions {}
1702
+
1703
+ /** Contains response data for the getContract operation. */
1704
+ export type GetContractResponse = Contract;
1534
1705
 
1535
1706
  /** Optional parameters. */
1536
1707
  export interface GetDeltastatsOptionalParams
1537
1708
  extends coreClient.OperationOptions {}
1538
1709
 
1539
1710
  /** Contains response data for the getDeltastats operation. */
1540
- export type GetDeltastatsResponse = Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema;
1711
+ export type GetDeltastatsResponse =
1712
+ Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema;
1541
1713
 
1542
1714
  /** Optional parameters. */
1543
1715
  export interface GetKeyBlocksOptionalParams
1544
1716
  extends coreClient.OperationOptions {}
1545
1717
 
1546
1718
  /** Contains response data for the getKeyBlocks operation. */
1547
- export type GetKeyBlocksResponse = Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema;
1719
+ export type GetKeyBlocksResponse =
1720
+ Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema;
1548
1721
 
1549
1722
  /** Optional parameters. */
1550
1723
  export interface GetKeyBlockOptionalParams
@@ -1558,7 +1731,8 @@ export interface GetKeyBlockMicroBlocksOptionalParams
1558
1731
  extends coreClient.OperationOptions {}
1559
1732
 
1560
1733
  /** Contains response data for the getKeyBlockMicroBlocks operation. */
1561
- export type GetKeyBlockMicroBlocksResponse = PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema;
1734
+ export type GetKeyBlockMicroBlocksResponse =
1735
+ PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema;
1562
1736
 
1563
1737
  /** Optional parameters. */
1564
1738
  export interface GetMicroBlockOptionalParams
@@ -1572,7 +1746,8 @@ export interface GetMicroBlockTransactionsOptionalParams
1572
1746
  extends coreClient.OperationOptions {}
1573
1747
 
1574
1748
  /** Contains response data for the getMicroBlockTransactions operation. */
1575
- export type GetMicroBlockTransactionsResponse = PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema;
1749
+ export type GetMicroBlockTransactionsResponse =
1750
+ PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema;
1576
1751
 
1577
1752
  /** Optional parameters. */
1578
1753
  export interface GetNamesOptionalParams extends coreClient.OperationOptions {
@@ -1585,7 +1760,8 @@ export interface GetNamesOptionalParams extends coreClient.OperationOptions {
1585
1760
  }
1586
1761
 
1587
1762
  /** Contains response data for the getNames operation. */
1588
- export type GetNamesResponse = PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema;
1763
+ export type GetNamesResponse =
1764
+ PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema;
1589
1765
 
1590
1766
  /** Optional parameters. */
1591
1767
  export interface GetNamesAuctionsOptionalParams
@@ -1599,7 +1775,8 @@ export interface SearchNamesOptionalParams
1599
1775
  extends coreClient.OperationOptions {}
1600
1776
 
1601
1777
  /** Contains response data for the searchNames operation. */
1602
- export type SearchNamesResponse = Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema;
1778
+ export type SearchNamesResponse =
1779
+ Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema;
1603
1780
 
1604
1781
  /** Optional parameters. */
1605
1782
  export interface GetNameOptionalParams extends coreClient.OperationOptions {}
@@ -1626,7 +1803,8 @@ export interface GetNamePointeesOptionalParams
1626
1803
  extends coreClient.OperationOptions {}
1627
1804
 
1628
1805
  /** Contains response data for the getNamePointees operation. */
1629
- export type GetNamePointeesResponse = PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema;
1806
+ export type GetNamePointeesResponse =
1807
+ PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema;
1630
1808
 
1631
1809
  /** Optional parameters. */
1632
1810
  export interface GetNamePointersOptionalParams
@@ -1649,6 +1827,16 @@ export interface GetNameUpdatesOptionalParams
1649
1827
  /** Contains response data for the getNameUpdates operation. */
1650
1828
  export type GetNameUpdatesResponse = NameUpdate;
1651
1829
 
1830
+ /** Optional parameters. */
1831
+ export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
1832
+ /** oracle state (active or inactive) */
1833
+ state?: string;
1834
+ }
1835
+
1836
+ /** Contains response data for the getOracles operation. */
1837
+ export type GetOraclesResponse =
1838
+ PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
1839
+
1652
1840
  /** Optional parameters. */
1653
1841
  export interface GetOracleOptionalParams extends coreClient.OperationOptions {}
1654
1842
 
@@ -1656,10 +1844,20 @@ export interface GetOracleOptionalParams extends coreClient.OperationOptions {}
1656
1844
  export type GetOracleResponse = Oracle;
1657
1845
 
1658
1846
  /** Optional parameters. */
1659
- export interface GetOraclesOptionalParams extends coreClient.OperationOptions {}
1847
+ export interface GetOracleQueriesOptionalParams
1848
+ extends coreClient.OperationOptions {}
1660
1849
 
1661
- /** Contains response data for the getOracles operation. */
1662
- export type GetOraclesResponse = PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
1850
+ /** Contains response data for the getOracleQueries operation. */
1851
+ export type GetOracleQueriesResponse =
1852
+ Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema;
1853
+
1854
+ /** Optional parameters. */
1855
+ export interface GetOracleResponsesOptionalParams
1856
+ extends coreClient.OperationOptions {}
1857
+
1858
+ /** Contains response data for the getOracleResponses operation. */
1859
+ export type GetOracleResponsesResponse =
1860
+ Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema;
1663
1861
 
1664
1862
  /** Optional parameters. */
1665
1863
  export interface GetStatusOptionalParams extends coreClient.OperationOptions {}
@@ -1672,25 +1870,27 @@ export interface GetTotalstatsOptionalParams
1672
1870
  extends coreClient.OperationOptions {}
1673
1871
 
1674
1872
  /** Contains response data for the getTotalstats operation. */
1675
- export type GetTotalstatsResponse = Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema;
1873
+ export type GetTotalstatsResponse =
1874
+ Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema;
1676
1875
 
1677
1876
  /** Optional parameters. */
1678
1877
  export interface GetTransfersOptionalParams
1679
1878
  extends coreClient.OperationOptions {}
1680
1879
 
1681
1880
  /** Contains response data for the getTransfers operation. */
1682
- export type GetTransfersResponse = PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema;
1881
+ export type GetTransfersResponse =
1882
+ PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema;
1683
1883
 
1684
1884
  /** Optional parameters. */
1685
1885
  export interface GetTxsOptionalParams extends coreClient.OperationOptions {
1886
+ /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1887
+ contract?: string;
1686
1888
  /** The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1687
1889
  type?: Get0ItemsItem[];
1688
1890
  /** The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1689
1891
  typeGroup?: Get1ItemsItem[];
1690
1892
  /** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1691
1893
  account?: string;
1692
- /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1693
- contract?: string;
1694
1894
  /** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1695
1895
  channel?: string;
1696
1896
  /** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
@@ -1704,7 +1904,8 @@ export interface GetTxsOptionalParams extends coreClient.OperationOptions {
1704
1904
  }
1705
1905
 
1706
1906
  /** Contains response data for the getTxs operation. */
1707
- export type GetTxsResponse = PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema;
1907
+ export type GetTxsResponse =
1908
+ PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema;
1708
1909
 
1709
1910
  /** Optional parameters. */
1710
1911
  export interface GetTxCountOptionalParams extends coreClient.OperationOptions {
@@ -1725,7 +1926,8 @@ export interface GetTxCountByIdOptionalParams
1725
1926
  extends coreClient.OperationOptions {}
1726
1927
 
1727
1928
  /** Contains response data for the getTxCountById operation. */
1728
- export type GetTxCountByIdResponse = Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema;
1929
+ export type GetTxCountByIdResponse =
1930
+ Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema;
1729
1931
 
1730
1932
  /** Optional parameters. */
1731
1933
  export interface GetTxOptionalParams extends coreClient.OperationOptions {}