@aeternity/aepp-sdk 13.3.3 → 14.1.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 (1034) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +15 -21
  3. package/bin/aesophia_cli +0 -0
  4. package/dist/aepp-sdk.browser-script.cjs +3 -0
  5. package/dist/aepp-sdk.browser-script.cjs.LICENSE.txt +12 -0
  6. package/dist/aepp-sdk.browser-script.cjs.map +1 -0
  7. package/dist/aepp-sdk.browser.cjs +3 -0
  8. package/dist/aepp-sdk.browser.cjs.map +1 -0
  9. package/dist/aepp-sdk.cjs +38244 -0
  10. package/dist/aepp-sdk.cjs.map +1 -0
  11. package/es/AeSdk.d.ts +4 -4
  12. package/es/AeSdk.js +76 -0
  13. package/es/AeSdk.js.map +1 -0
  14. package/es/AeSdkAepp.d.ts +13 -8
  15. package/es/AeSdkAepp.js +153 -0
  16. package/es/AeSdkAepp.js.map +1 -0
  17. package/es/AeSdkBase.d.ts +15 -41
  18. package/es/AeSdkBase.js +235 -0
  19. package/es/AeSdkBase.js.map +1 -0
  20. package/es/AeSdkMethods.d.ts +11 -34
  21. package/es/AeSdkMethods.js +81 -0
  22. package/es/AeSdkMethods.js.map +1 -0
  23. package/es/AeSdkWallet.d.ts +13 -8
  24. package/es/AeSdkWallet.js +347 -0
  25. package/es/AeSdkWallet.js.map +1 -0
  26. package/es/Middleware.d.ts +14 -26
  27. package/es/Middleware.js +102 -0
  28. package/es/Middleware.js.map +1 -0
  29. package/es/MiddlewareSubscriber.d.ts +5 -3
  30. package/es/MiddlewareSubscriber.js +169 -0
  31. package/es/MiddlewareSubscriber.js.map +1 -0
  32. package/es/Node.d.ts +11 -22
  33. package/es/Node.js +121 -0
  34. package/es/Node.js.map +1 -0
  35. package/es/account/Base.d.ts +14 -66
  36. package/es/account/Base.js +7 -0
  37. package/es/account/Base.js.map +1 -0
  38. package/es/account/BaseFactory.d.ts +20 -0
  39. package/es/account/BaseFactory.js +29 -0
  40. package/es/account/BaseFactory.js.map +1 -0
  41. package/es/account/Generalized.d.ts +7 -6
  42. package/es/account/Generalized.js +117 -0
  43. package/es/account/Generalized.js.map +1 -0
  44. package/es/account/Ledger.d.ts +8 -7
  45. package/es/account/Ledger.js +116 -0
  46. package/es/account/Ledger.js.map +1 -0
  47. package/es/account/LedgerFactory.d.ts +18 -16
  48. package/es/account/LedgerFactory.js +86 -0
  49. package/es/account/LedgerFactory.js.map +1 -0
  50. package/es/account/Memory.d.ts +11 -22
  51. package/es/account/Memory.js +106 -0
  52. package/es/account/Memory.js.map +1 -0
  53. package/es/account/Metamask.d.ts +34 -0
  54. package/es/account/Metamask.js +89 -0
  55. package/es/account/Metamask.js.map +1 -0
  56. package/es/account/MetamaskFactory.d.ts +58 -0
  57. package/es/account/MetamaskFactory.js +164 -0
  58. package/es/account/MetamaskFactory.js.map +1 -0
  59. package/es/account/MnemonicFactory.d.ts +45 -0
  60. package/es/account/MnemonicFactory.js +112 -0
  61. package/es/account/MnemonicFactory.js.map +1 -0
  62. package/es/account/Rpc.d.ts +10 -19
  63. package/es/account/Rpc.js +94 -0
  64. package/es/account/Rpc.js.map +1 -0
  65. package/es/aens.d.ts +144 -165
  66. package/es/aens.js +292 -0
  67. package/es/aens.js.map +1 -0
  68. package/es/aepp-wallet-communication/WalletConnectorFrame.d.ts +25 -0
  69. package/es/aepp-wallet-communication/WalletConnectorFrame.js +39 -0
  70. package/es/aepp-wallet-communication/WalletConnectorFrame.js.map +1 -0
  71. package/es/aepp-wallet-communication/WalletConnectorFrameBase.d.ts +43 -0
  72. package/es/aepp-wallet-communication/WalletConnectorFrameBase.js +110 -0
  73. package/es/aepp-wallet-communication/WalletConnectorFrameBase.js.map +1 -0
  74. package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.d.ts +27 -0
  75. package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js +43 -0
  76. package/es/aepp-wallet-communication/WalletConnectorFrameWithNode.js.map +1 -0
  77. package/es/aepp-wallet-communication/connection/Browser.js +53 -0
  78. package/es/aepp-wallet-communication/connection/Browser.js.map +1 -0
  79. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +2 -2
  80. package/es/aepp-wallet-communication/connection/BrowserRuntime.js +54 -0
  81. package/es/aepp-wallet-communication/connection/BrowserRuntime.js.map +1 -0
  82. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +2 -2
  83. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js +90 -0
  84. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.js.map +1 -0
  85. package/es/aepp-wallet-communication/connection-proxy.d.ts +2 -2
  86. package/es/aepp-wallet-communication/connection-proxy.js +17 -0
  87. package/es/aepp-wallet-communication/connection-proxy.js.map +1 -0
  88. package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +1 -1
  89. package/es/aepp-wallet-communication/rpc/RpcClient.js +119 -0
  90. package/es/aepp-wallet-communication/rpc/RpcClient.js.map +1 -0
  91. package/es/aepp-wallet-communication/rpc/types.d.ts +13 -19
  92. package/es/aepp-wallet-communication/rpc/types.js +3 -0
  93. package/es/aepp-wallet-communication/rpc/types.js.map +1 -0
  94. package/es/aepp-wallet-communication/schema.d.ts +10 -3
  95. package/es/aepp-wallet-communication/schema.js +202 -0
  96. package/es/aepp-wallet-communication/schema.js.map +1 -0
  97. package/es/aepp-wallet-communication/wallet-detector.d.ts +4 -4
  98. package/es/aepp-wallet-communication/wallet-detector.js +44 -0
  99. package/es/aepp-wallet-communication/wallet-detector.js.map +1 -0
  100. package/es/apis/compiler/compiler.d.ts +2 -2
  101. package/es/apis/compiler/compiler.js +513 -0
  102. package/es/apis/compiler/compiler.js.map +1 -0
  103. package/es/apis/compiler/index.d.ts +2 -2
  104. package/es/apis/compiler/index.js +3 -0
  105. package/es/apis/compiler/index.js.map +1 -0
  106. package/es/apis/compiler/models/index.js +2 -0
  107. package/es/apis/compiler/models/index.js.map +1 -0
  108. package/es/apis/compiler/models/mappers.js +554 -0
  109. package/es/apis/compiler/models/mappers.js.map +1 -0
  110. package/es/apis/compiler/models/parameters.js +67 -0
  111. package/es/apis/compiler/models/parameters.js.map +1 -0
  112. package/es/apis/middleware/index.d.ts +2 -2
  113. package/es/apis/middleware/index.js +3 -0
  114. package/es/apis/middleware/index.js.map +1 -0
  115. package/es/apis/middleware/middleware.d.ts +222 -124
  116. package/es/apis/middleware/middleware.js +2146 -0
  117. package/es/apis/middleware/middleware.js.map +1 -0
  118. package/es/apis/middleware/models/index.d.ts +2062 -1198
  119. package/es/apis/middleware/models/index.js +2 -0
  120. package/es/apis/middleware/models/index.js.map +1 -0
  121. package/es/apis/middleware/models/mappers.d.ts +206 -81
  122. package/es/apis/middleware/models/mappers.js +9315 -0
  123. package/es/apis/middleware/models/mappers.js.map +1 -0
  124. package/es/apis/middleware/models/parameters.d.ts +78 -13
  125. package/es/apis/middleware/models/parameters.js +1164 -0
  126. package/es/apis/middleware/models/parameters.js.map +1 -0
  127. package/es/apis/node/index.d.ts +2 -2
  128. package/es/apis/node/index.js +3 -0
  129. package/es/apis/node/index.js.map +1 -0
  130. package/es/apis/node/models/index.d.ts +683 -631
  131. package/es/apis/node/models/index.js +2 -0
  132. package/es/apis/node/models/index.js.map +1 -0
  133. package/es/apis/node/models/mappers.d.ts +58 -55
  134. package/es/apis/node/models/mappers.js +5450 -0
  135. package/es/apis/node/models/mappers.js.map +1 -0
  136. package/es/apis/node/models/parameters.d.ts +5 -5
  137. package/es/apis/node/models/parameters.js +165 -0
  138. package/es/apis/node/models/parameters.js.map +1 -0
  139. package/es/apis/node/node.d.ts +113 -96
  140. package/es/apis/node/node.js +1292 -0
  141. package/es/apis/node/node.js.map +1 -0
  142. package/es/chain.d.ts +39 -26
  143. package/es/chain.js +448 -0
  144. package/es/chain.js.map +1 -0
  145. package/es/channel/Base.d.ts +12 -14
  146. package/es/channel/Base.js +246 -0
  147. package/es/channel/Base.js.map +1 -0
  148. package/es/channel/Contract.d.ts +12 -9
  149. package/es/channel/Contract.js +385 -0
  150. package/es/channel/Contract.js.map +1 -0
  151. package/es/channel/Spend.d.ts +10 -10
  152. package/es/channel/Spend.js +357 -0
  153. package/es/channel/Spend.js.map +1 -0
  154. package/es/channel/handlers.d.ts +4 -3
  155. package/es/channel/handlers.js +394 -0
  156. package/es/channel/handlers.js.map +1 -0
  157. package/es/channel/internal.d.ts +11 -10
  158. package/es/channel/internal.js +224 -0
  159. package/es/channel/internal.js.map +1 -0
  160. package/es/contract/Contract.d.ts +30 -21
  161. package/es/contract/Contract.js +535 -0
  162. package/es/contract/Contract.js.map +1 -0
  163. package/es/contract/compiler/Base.d.ts +2 -1
  164. package/es/contract/compiler/Base.js +6 -0
  165. package/es/contract/compiler/Base.js.map +1 -0
  166. package/es/contract/compiler/Cli.d.ts +4 -3
  167. package/es/contract/compiler/Cli.js +169 -0
  168. package/es/contract/compiler/Cli.js.map +1 -0
  169. package/es/contract/compiler/Http.d.ts +5 -4
  170. package/es/contract/compiler/Http.js +125 -0
  171. package/es/contract/compiler/Http.js.map +1 -0
  172. package/es/contract/compiler/HttpNode.d.ts +3 -3
  173. package/es/contract/compiler/HttpNode.js +29 -0
  174. package/es/contract/compiler/HttpNode.js.map +1 -0
  175. package/es/contract/compiler/getFileSystem.d.ts +1 -0
  176. package/es/contract/compiler/getFileSystem.js +33 -0
  177. package/es/contract/compiler/getFileSystem.js.map +1 -0
  178. package/es/contract/ga.d.ts +11 -15
  179. package/es/contract/ga.js +136 -0
  180. package/es/contract/ga.js.map +1 -0
  181. package/es/index-browser.d.ts +86 -51
  182. package/es/index-browser.js +85 -0
  183. package/es/index-browser.js.map +1 -0
  184. package/es/index.d.ts +4 -5
  185. package/es/index.js +5 -0
  186. package/es/index.js.map +1 -0
  187. package/es/oracle/Oracle.d.ts +79 -0
  188. package/es/oracle/Oracle.js +183 -0
  189. package/es/oracle/Oracle.js.map +1 -0
  190. package/es/oracle/OracleBase.d.ts +54 -0
  191. package/es/oracle/OracleBase.js +74 -0
  192. package/es/oracle/OracleBase.js.map +1 -0
  193. package/es/oracle/OracleClient.d.ts +60 -0
  194. package/es/oracle/OracleClient.js +105 -0
  195. package/es/oracle/OracleClient.js.map +1 -0
  196. package/es/send-transaction.d.ts +8 -8
  197. package/es/send-transaction.js +110 -0
  198. package/es/send-transaction.js.map +1 -0
  199. package/es/spend.d.ts +8 -13
  200. package/es/spend.js +93 -0
  201. package/es/spend.js.map +1 -0
  202. package/es/tx/builder/SchemaTypes.d.ts +3 -3
  203. package/es/tx/builder/SchemaTypes.js +2 -0
  204. package/es/tx/builder/SchemaTypes.js.map +1 -0
  205. package/es/tx/builder/common.d.ts +2 -2
  206. package/es/tx/builder/common.js +41 -0
  207. package/es/tx/builder/common.js.map +1 -0
  208. package/es/tx/builder/constants.d.ts +53 -27
  209. package/es/tx/builder/constants.js +170 -0
  210. package/es/tx/builder/constants.js.map +1 -0
  211. package/es/tx/builder/delegation/index.d.ts +3 -3
  212. package/es/tx/builder/delegation/index.js +24 -0
  213. package/es/tx/builder/delegation/index.js.map +1 -0
  214. package/es/tx/builder/delegation/schema.d.ts +21 -4
  215. package/es/tx/builder/delegation/schema.generated.d.ts +2 -2
  216. package/es/tx/builder/delegation/schema.generated.js +2 -0
  217. package/es/tx/builder/delegation/schema.generated.js.map +1 -0
  218. package/es/tx/builder/delegation/schema.js +83 -0
  219. package/es/tx/builder/delegation/schema.js.map +1 -0
  220. package/es/tx/builder/entry/constants.d.ts +35 -0
  221. package/es/tx/builder/entry/constants.js +45 -0
  222. package/es/tx/builder/entry/constants.js.map +1 -0
  223. package/es/tx/builder/entry/index.d.ts +38 -0
  224. package/es/tx/builder/entry/index.js +36 -0
  225. package/es/tx/builder/entry/index.js.map +1 -0
  226. package/es/tx/builder/entry/schema.d.ts +1030 -0
  227. package/es/tx/builder/entry/schema.generated.d.ts +607 -0
  228. package/es/tx/builder/entry/schema.generated.js +2 -0
  229. package/es/tx/builder/entry/schema.generated.js.map +1 -0
  230. package/es/tx/builder/entry/schema.js +204 -0
  231. package/es/tx/builder/entry/schema.js.map +1 -0
  232. package/es/tx/builder/field-types/abi-version.d.ts +4 -5
  233. package/es/tx/builder/field-types/abi-version.js +34 -0
  234. package/es/tx/builder/field-types/abi-version.js.map +1 -0
  235. package/es/tx/builder/field-types/address.d.ts +2 -3
  236. package/es/tx/builder/field-types/address.js +46 -0
  237. package/es/tx/builder/field-types/address.js.map +1 -0
  238. package/es/tx/builder/field-types/array.js +11 -0
  239. package/es/tx/builder/field-types/array.js.map +1 -0
  240. package/es/tx/builder/field-types/boolean.d.ts +0 -1
  241. package/es/tx/builder/field-types/boolean.js +10 -0
  242. package/es/tx/builder/field-types/boolean.js.map +1 -0
  243. package/es/tx/builder/field-types/coin-amount.d.ts +3 -4
  244. package/es/tx/builder/field-types/coin-amount.js +18 -0
  245. package/es/tx/builder/field-types/coin-amount.js.map +1 -0
  246. package/es/tx/builder/field-types/ct-version.d.ts +4 -19
  247. package/es/tx/builder/field-types/ct-version.js +57 -0
  248. package/es/tx/builder/field-types/ct-version.js.map +1 -0
  249. package/es/tx/builder/field-types/encoded.d.ts +1 -2
  250. package/es/tx/builder/field-types/encoded.js +18 -0
  251. package/es/tx/builder/field-types/encoded.js.map +1 -0
  252. package/es/tx/builder/field-types/entry.d.ts +5 -6
  253. package/es/tx/builder/field-types/entry.js +26 -0
  254. package/es/tx/builder/field-types/entry.js.map +1 -0
  255. package/es/tx/builder/field-types/enumeration.d.ts +0 -1
  256. package/es/tx/builder/field-types/enumeration.js +27 -0
  257. package/es/tx/builder/field-types/enumeration.js.map +1 -0
  258. package/es/tx/builder/field-types/fee.d.ts +8 -9
  259. package/es/tx/builder/field-types/fee.js +160 -0
  260. package/es/tx/builder/field-types/fee.js.map +1 -0
  261. package/es/tx/builder/field-types/field.d.ts +0 -1
  262. package/es/tx/builder/field-types/field.js +10 -0
  263. package/es/tx/builder/field-types/field.js.map +1 -0
  264. package/es/tx/builder/field-types/gas-limit.d.ts +4 -5
  265. package/es/tx/builder/field-types/gas-limit.js +31 -0
  266. package/es/tx/builder/field-types/gas-limit.js.map +1 -0
  267. package/es/tx/builder/field-types/gas-price.d.ts +10 -8
  268. package/es/tx/builder/field-types/gas-price.js +53 -0
  269. package/es/tx/builder/field-types/gas-price.js.map +1 -0
  270. package/es/tx/builder/field-types/interface.d.ts +7 -0
  271. package/es/tx/builder/field-types/interface.js +2 -0
  272. package/es/tx/builder/field-types/interface.js.map +1 -0
  273. package/es/tx/builder/field-types/map.d.ts +6 -7
  274. package/es/tx/builder/field-types/map.js +38 -0
  275. package/es/tx/builder/field-types/map.js.map +1 -0
  276. package/es/tx/builder/field-types/mptree.d.ts +12 -13
  277. package/es/tx/builder/field-types/mptree.js +223 -0
  278. package/es/tx/builder/field-types/mptree.js.map +1 -0
  279. package/es/tx/builder/field-types/name-fee.d.ts +3 -4
  280. package/es/tx/builder/field-types/name-fee.js +22 -0
  281. package/es/tx/builder/field-types/name-fee.js.map +1 -0
  282. package/es/tx/builder/field-types/name-id.d.ts +2 -3
  283. package/es/tx/builder/field-types/name-id.js +14 -0
  284. package/es/tx/builder/field-types/name-id.js.map +1 -0
  285. package/es/tx/builder/field-types/name.d.ts +1 -2
  286. package/es/tx/builder/field-types/name.js +16 -0
  287. package/es/tx/builder/field-types/name.js.map +1 -0
  288. package/es/tx/builder/field-types/nonce.d.ts +6 -4
  289. package/es/tx/builder/field-types/nonce.js +40 -0
  290. package/es/tx/builder/field-types/nonce.js.map +1 -0
  291. package/es/tx/builder/field-types/pointers.d.ts +9 -18
  292. package/es/tx/builder/field-types/pointers.js +69 -0
  293. package/es/tx/builder/field-types/pointers.js.map +1 -0
  294. package/es/tx/builder/field-types/query-fee.d.ts +4 -5
  295. package/es/tx/builder/field-types/query-fee.js +21 -0
  296. package/es/tx/builder/field-types/query-fee.js.map +1 -0
  297. package/es/tx/builder/field-types/raw.d.ts +0 -1
  298. package/es/tx/builder/field-types/raw.js +10 -0
  299. package/es/tx/builder/field-types/raw.js.map +1 -0
  300. package/es/tx/builder/field-types/short-u-int-const.d.ts +0 -1
  301. package/es/tx/builder/field-types/short-u-int-const.js +20 -0
  302. package/es/tx/builder/field-types/short-u-int-const.js.map +1 -0
  303. package/es/tx/builder/field-types/short-u-int.d.ts +0 -1
  304. package/es/tx/builder/field-types/short-u-int.js +10 -0
  305. package/es/tx/builder/field-types/short-u-int.js.map +1 -0
  306. package/es/tx/builder/field-types/string.d.ts +0 -1
  307. package/es/tx/builder/field-types/string.js +10 -0
  308. package/es/tx/builder/field-types/string.js.map +1 -0
  309. package/es/tx/builder/field-types/transaction.d.ts +10 -0
  310. package/es/tx/builder/field-types/transaction.js +26 -0
  311. package/es/tx/builder/field-types/transaction.js.map +1 -0
  312. package/es/tx/builder/field-types/ttl.d.ts +6 -11
  313. package/es/tx/builder/field-types/ttl.js +32 -0
  314. package/es/tx/builder/field-types/ttl.js.map +1 -0
  315. package/es/tx/builder/field-types/u-int.d.ts +1 -2
  316. package/es/tx/builder/field-types/u-int.js +13 -0
  317. package/es/tx/builder/field-types/u-int.js.map +1 -0
  318. package/es/tx/builder/field-types/with-default.js +9 -0
  319. package/es/tx/builder/field-types/with-default.js.map +1 -0
  320. package/es/tx/builder/field-types/with-formatting.js +9 -0
  321. package/es/tx/builder/field-types/with-formatting.js.map +1 -0
  322. package/es/tx/builder/field-types/wrapped.d.ts +5 -6
  323. package/es/tx/builder/field-types/wrapped.js +20 -0
  324. package/es/tx/builder/field-types/wrapped.js.map +1 -0
  325. package/es/tx/builder/helpers.d.ts +21 -16
  326. package/es/tx/builder/helpers.js +215 -0
  327. package/es/tx/builder/helpers.js.map +1 -0
  328. package/es/tx/builder/index.d.ts +4 -13
  329. package/es/tx/builder/index.js +91 -0
  330. package/es/tx/builder/index.js.map +1 -0
  331. package/es/tx/builder/schema.d.ts +587 -1724
  332. package/es/tx/builder/schema.generated.d.ts +45 -1001
  333. package/es/tx/builder/schema.generated.js +2 -0
  334. package/es/tx/builder/schema.generated.js.map +1 -0
  335. package/es/tx/builder/schema.js +357 -0
  336. package/es/tx/builder/schema.js.map +1 -0
  337. package/es/tx/execution-cost.d.ts +5 -2
  338. package/es/tx/execution-cost.js +143 -0
  339. package/es/tx/execution-cost.js.map +1 -0
  340. package/es/tx/transaction-signer.d.ts +2 -1
  341. package/es/tx/transaction-signer.js +25 -0
  342. package/es/tx/transaction-signer.js.map +1 -0
  343. package/es/tx/validator.d.ts +2 -2
  344. package/es/tx/validator.js +207 -0
  345. package/es/tx/validator.js.map +1 -0
  346. package/es/typings/blakejs/index.d.js +2 -0
  347. package/es/typings/blakejs/index.d.js.map +1 -0
  348. package/es/typings/sha-js/index.d.js +2 -0
  349. package/es/typings/sha-js/index.d.js.map +1 -0
  350. package/es/typings/tweetnacl-auth/index.d.js +2 -0
  351. package/es/typings/tweetnacl-auth/index.d.js.map +1 -0
  352. package/es/utils/MiddlewarePage.d.ts +37 -0
  353. package/es/utils/MiddlewarePage.js +57 -0
  354. package/es/utils/MiddlewarePage.js.map +1 -0
  355. package/es/utils/amount-formatter.d.ts +19 -5
  356. package/es/utils/amount-formatter.js +113 -0
  357. package/es/utils/amount-formatter.js.map +1 -0
  358. package/es/utils/autorest.d.ts +7 -2
  359. package/es/utils/autorest.js +212 -0
  360. package/es/utils/autorest.js.map +1 -0
  361. package/es/utils/bignumber.js +21 -0
  362. package/es/utils/bignumber.js.map +1 -0
  363. package/es/utils/bytes.d.ts +2 -1
  364. package/es/utils/bytes.js +32 -0
  365. package/es/utils/bytes.js.map +1 -0
  366. package/es/utils/crypto.d.ts +48 -59
  367. package/es/utils/crypto.js +162 -0
  368. package/es/utils/crypto.js.map +1 -0
  369. package/es/utils/encoder-types.d.ts +3 -1
  370. package/es/utils/encoder-types.js +36 -0
  371. package/es/utils/encoder-types.js.map +1 -0
  372. package/es/utils/encoder.d.ts +4 -3
  373. package/es/utils/encoder.js +106 -0
  374. package/es/utils/encoder.js.map +1 -0
  375. package/es/utils/errors.d.ts +4 -10
  376. package/es/utils/errors.js +746 -0
  377. package/es/utils/errors.js.map +1 -0
  378. package/es/utils/json-big.d.ts +1 -1
  379. package/es/utils/json-big.js +25 -0
  380. package/es/utils/json-big.js.map +1 -0
  381. package/es/utils/jwt.d.ts +2 -2
  382. package/es/utils/jwt.js +112 -0
  383. package/es/utils/jwt.js.map +1 -0
  384. package/es/utils/other.d.ts +4 -4
  385. package/es/utils/other.js +48 -0
  386. package/es/utils/other.js.map +1 -0
  387. package/es/utils/semver-satisfies.js +12 -0
  388. package/es/utils/semver-satisfies.js.map +1 -0
  389. package/es/utils/string.js +18 -0
  390. package/es/utils/string.js.map +1 -0
  391. package/es/utils/typed-data.d.ts +6 -2
  392. package/es/utils/typed-data.js +58 -0
  393. package/es/utils/typed-data.js.map +1 -0
  394. package/es/utils/wrap-proxy.js +15 -0
  395. package/es/utils/wrap-proxy.js.map +1 -0
  396. package/package.json +91 -113
  397. package/bin/aesophia_cli_8 +0 -0
  398. package/dist/aepp-sdk.browser-script.js +0 -3
  399. package/dist/aepp-sdk.browser-script.js.LICENSE.txt +0 -12
  400. package/dist/aepp-sdk.browser-script.js.map +0 -1
  401. package/dist/aepp-sdk.browser.js +0 -3
  402. package/dist/aepp-sdk.browser.js.map +0 -1
  403. package/dist/aepp-sdk.js +0 -30486
  404. package/dist/aepp-sdk.js.map +0 -1
  405. package/es/AeSdk.mjs +0 -76
  406. package/es/AeSdk.mjs.map +0 -1
  407. package/es/AeSdkAepp.mjs +0 -145
  408. package/es/AeSdkAepp.mjs.map +0 -1
  409. package/es/AeSdkBase.mjs +0 -289
  410. package/es/AeSdkBase.mjs.map +0 -1
  411. package/es/AeSdkMethods.mjs +0 -92
  412. package/es/AeSdkMethods.mjs.map +0 -1
  413. package/es/AeSdkWallet.mjs +0 -368
  414. package/es/AeSdkWallet.mjs.map +0 -1
  415. package/es/Middleware.mjs +0 -94
  416. package/es/Middleware.mjs.map +0 -1
  417. package/es/MiddlewareSubscriber.mjs +0 -189
  418. package/es/MiddlewareSubscriber.mjs.map +0 -1
  419. package/es/Node.mjs +0 -148
  420. package/es/Node.mjs.map +0 -1
  421. package/es/account/Base.mjs +0 -134
  422. package/es/account/Base.mjs.map +0 -1
  423. package/es/account/Generalized.mjs +0 -129
  424. package/es/account/Generalized.mjs.map +0 -1
  425. package/es/account/Ledger.mjs +0 -131
  426. package/es/account/Ledger.mjs.map +0 -1
  427. package/es/account/LedgerFactory.mjs +0 -79
  428. package/es/account/LedgerFactory.mjs.map +0 -1
  429. package/es/account/Memory.mjs +0 -187
  430. package/es/account/Memory.mjs.map +0 -1
  431. package/es/account/Rpc.mjs +0 -178
  432. package/es/account/Rpc.mjs.map +0 -1
  433. package/es/aens.mjs +0 -290
  434. package/es/aens.mjs.map +0 -1
  435. package/es/aepp-wallet-communication/connection/Browser.mjs +0 -52
  436. package/es/aepp-wallet-communication/connection/Browser.mjs.map +0 -1
  437. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +0 -55
  438. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +0 -1
  439. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +0 -98
  440. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +0 -1
  441. package/es/aepp-wallet-communication/connection-proxy.mjs +0 -17
  442. package/es/aepp-wallet-communication/connection-proxy.mjs.map +0 -1
  443. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +0 -134
  444. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +0 -1
  445. package/es/aepp-wallet-communication/rpc/types.mjs +0 -3
  446. package/es/aepp-wallet-communication/rpc/types.mjs.map +0 -1
  447. package/es/aepp-wallet-communication/schema.mjs +0 -187
  448. package/es/aepp-wallet-communication/schema.mjs.map +0 -1
  449. package/es/aepp-wallet-communication/wallet-detector.mjs +0 -44
  450. package/es/aepp-wallet-communication/wallet-detector.mjs.map +0 -1
  451. package/es/apis/compiler/compiler.mjs +0 -513
  452. package/es/apis/compiler/compiler.mjs.map +0 -1
  453. package/es/apis/compiler/index.mjs +0 -3
  454. package/es/apis/compiler/index.mjs.map +0 -1
  455. package/es/apis/compiler/models/index.mjs +0 -2
  456. package/es/apis/compiler/models/index.mjs.map +0 -1
  457. package/es/apis/compiler/models/mappers.mjs +0 -554
  458. package/es/apis/compiler/models/mappers.mjs.map +0 -1
  459. package/es/apis/compiler/models/parameters.mjs +0 -67
  460. package/es/apis/compiler/models/parameters.mjs.map +0 -1
  461. package/es/apis/middleware/index.mjs +0 -3
  462. package/es/apis/middleware/index.mjs.map +0 -1
  463. package/es/apis/middleware/middleware.mjs +0 -1623
  464. package/es/apis/middleware/middleware.mjs.map +0 -1
  465. package/es/apis/middleware/models/index.mjs +0 -630
  466. package/es/apis/middleware/models/index.mjs.map +0 -1
  467. package/es/apis/middleware/models/mappers.mjs +0 -3707
  468. package/es/apis/middleware/models/mappers.mjs.map +0 -1
  469. package/es/apis/middleware/models/parameters.mjs +0 -444
  470. package/es/apis/middleware/models/parameters.mjs.map +0 -1
  471. package/es/apis/node/index.mjs +0 -3
  472. package/es/apis/node/index.mjs.map +0 -1
  473. package/es/apis/node/models/index.mjs +0 -2
  474. package/es/apis/node/models/index.mjs.map +0 -1
  475. package/es/apis/node/models/mappers.mjs +0 -4395
  476. package/es/apis/node/models/mappers.mjs.map +0 -1
  477. package/es/apis/node/models/parameters.mjs +0 -165
  478. package/es/apis/node/models/parameters.mjs.map +0 -1
  479. package/es/apis/node/node.mjs +0 -1240
  480. package/es/apis/node/node.mjs.map +0 -1
  481. package/es/chain.mjs +0 -441
  482. package/es/chain.mjs.map +0 -1
  483. package/es/channel/Base.mjs +0 -254
  484. package/es/channel/Base.mjs.map +0 -1
  485. package/es/channel/Contract.mjs +0 -383
  486. package/es/channel/Contract.mjs.map +0 -1
  487. package/es/channel/Spend.mjs +0 -357
  488. package/es/channel/Spend.mjs.map +0 -1
  489. package/es/channel/handlers.mjs +0 -383
  490. package/es/channel/handlers.mjs.map +0 -1
  491. package/es/channel/internal.mjs +0 -237
  492. package/es/channel/internal.mjs.map +0 -1
  493. package/es/contract/Contract.mjs +0 -540
  494. package/es/contract/Contract.mjs.map +0 -1
  495. package/es/contract/compiler/Base.mjs +0 -5
  496. package/es/contract/compiler/Base.mjs.map +0 -1
  497. package/es/contract/compiler/Cli.mjs +0 -197
  498. package/es/contract/compiler/Cli.mjs.map +0 -1
  499. package/es/contract/compiler/Cli8.d.ts +0 -13
  500. package/es/contract/compiler/Cli8.mjs +0 -22
  501. package/es/contract/compiler/Cli8.mjs.map +0 -1
  502. package/es/contract/compiler/Http.mjs +0 -126
  503. package/es/contract/compiler/Http.mjs.map +0 -1
  504. package/es/contract/compiler/HttpNode.mjs +0 -31
  505. package/es/contract/compiler/HttpNode.mjs.map +0 -1
  506. package/es/contract/compiler/getFileSystem.mjs +0 -40
  507. package/es/contract/compiler/getFileSystem.mjs.map +0 -1
  508. package/es/contract/delegation-signature.d.ts +0 -45
  509. package/es/contract/delegation-signature.mjs +0 -80
  510. package/es/contract/delegation-signature.mjs.map +0 -1
  511. package/es/contract/ga.mjs +0 -135
  512. package/es/contract/ga.mjs.map +0 -1
  513. package/es/deprecated.d.ts +0 -62
  514. package/es/deprecated.mjs +0 -87
  515. package/es/deprecated.mjs.map +0 -1
  516. package/es/index-browser.mjs +0 -49
  517. package/es/index-browser.mjs.map +0 -1
  518. package/es/index.mjs +0 -6
  519. package/es/index.mjs.map +0 -1
  520. package/es/oracle.d.ts +0 -125
  521. package/es/oracle.mjs +0 -242
  522. package/es/oracle.mjs.map +0 -1
  523. package/es/send-transaction.mjs +0 -109
  524. package/es/send-transaction.mjs.map +0 -1
  525. package/es/spend.mjs +0 -90
  526. package/es/spend.mjs.map +0 -1
  527. package/es/tx/builder/SchemaTypes.mjs +0 -2
  528. package/es/tx/builder/SchemaTypes.mjs.map +0 -1
  529. package/es/tx/builder/common.mjs +0 -42
  530. package/es/tx/builder/common.mjs.map +0 -1
  531. package/es/tx/builder/constants.mjs +0 -147
  532. package/es/tx/builder/constants.mjs.map +0 -1
  533. package/es/tx/builder/delegation/index.mjs +0 -24
  534. package/es/tx/builder/delegation/index.mjs.map +0 -1
  535. package/es/tx/builder/delegation/schema.generated.mjs +0 -2
  536. package/es/tx/builder/delegation/schema.generated.mjs.map +0 -1
  537. package/es/tx/builder/delegation/schema.mjs +0 -54
  538. package/es/tx/builder/delegation/schema.mjs.map +0 -1
  539. package/es/tx/builder/field-types/abi-version.mjs +0 -37
  540. package/es/tx/builder/field-types/abi-version.mjs.map +0 -1
  541. package/es/tx/builder/field-types/address.mjs +0 -48
  542. package/es/tx/builder/field-types/address.mjs.map +0 -1
  543. package/es/tx/builder/field-types/array.mjs +0 -11
  544. package/es/tx/builder/field-types/array.mjs.map +0 -1
  545. package/es/tx/builder/field-types/boolean.mjs +0 -13
  546. package/es/tx/builder/field-types/boolean.mjs.map +0 -1
  547. package/es/tx/builder/field-types/coin-amount.mjs +0 -18
  548. package/es/tx/builder/field-types/coin-amount.mjs.map +0 -1
  549. package/es/tx/builder/field-types/ct-version.mjs +0 -75
  550. package/es/tx/builder/field-types/ct-version.mjs.map +0 -1
  551. package/es/tx/builder/field-types/encoded.mjs +0 -21
  552. package/es/tx/builder/field-types/encoded.mjs.map +0 -1
  553. package/es/tx/builder/field-types/entry.mjs +0 -29
  554. package/es/tx/builder/field-types/entry.mjs.map +0 -1
  555. package/es/tx/builder/field-types/enumeration.mjs +0 -30
  556. package/es/tx/builder/field-types/enumeration.mjs.map +0 -1
  557. package/es/tx/builder/field-types/fee.mjs +0 -160
  558. package/es/tx/builder/field-types/fee.mjs.map +0 -1
  559. package/es/tx/builder/field-types/field.mjs +0 -13
  560. package/es/tx/builder/field-types/field.mjs.map +0 -1
  561. package/es/tx/builder/field-types/gas-limit.mjs +0 -31
  562. package/es/tx/builder/field-types/gas-limit.mjs.map +0 -1
  563. package/es/tx/builder/field-types/gas-price.mjs +0 -60
  564. package/es/tx/builder/field-types/gas-price.mjs.map +0 -1
  565. package/es/tx/builder/field-types/index.d.ts +0 -39
  566. package/es/tx/builder/field-types/index.mjs +0 -32
  567. package/es/tx/builder/field-types/index.mjs.map +0 -1
  568. package/es/tx/builder/field-types/map.mjs +0 -38
  569. package/es/tx/builder/field-types/map.mjs.map +0 -1
  570. package/es/tx/builder/field-types/mptree.mjs +0 -251
  571. package/es/tx/builder/field-types/mptree.mjs.map +0 -1
  572. package/es/tx/builder/field-types/name-fee.mjs +0 -22
  573. package/es/tx/builder/field-types/name-fee.mjs.map +0 -1
  574. package/es/tx/builder/field-types/name-id.mjs +0 -14
  575. package/es/tx/builder/field-types/name-id.mjs.map +0 -1
  576. package/es/tx/builder/field-types/name.mjs +0 -16
  577. package/es/tx/builder/field-types/name.mjs.map +0 -1
  578. package/es/tx/builder/field-types/nonce.mjs +0 -31
  579. package/es/tx/builder/field-types/nonce.mjs.map +0 -1
  580. package/es/tx/builder/field-types/pointers.mjs +0 -33
  581. package/es/tx/builder/field-types/pointers.mjs.map +0 -1
  582. package/es/tx/builder/field-types/pointers2.d.ts +0 -23
  583. package/es/tx/builder/field-types/pointers2.mjs +0 -65
  584. package/es/tx/builder/field-types/pointers2.mjs.map +0 -1
  585. package/es/tx/builder/field-types/query-fee.mjs +0 -20
  586. package/es/tx/builder/field-types/query-fee.mjs.map +0 -1
  587. package/es/tx/builder/field-types/raw.mjs +0 -13
  588. package/es/tx/builder/field-types/raw.mjs.map +0 -1
  589. package/es/tx/builder/field-types/short-u-int-const.mjs +0 -20
  590. package/es/tx/builder/field-types/short-u-int-const.mjs.map +0 -1
  591. package/es/tx/builder/field-types/short-u-int.mjs +0 -10
  592. package/es/tx/builder/field-types/short-u-int.mjs.map +0 -1
  593. package/es/tx/builder/field-types/string.mjs +0 -10
  594. package/es/tx/builder/field-types/string.mjs.map +0 -1
  595. package/es/tx/builder/field-types/ttl.mjs +0 -32
  596. package/es/tx/builder/field-types/ttl.mjs.map +0 -1
  597. package/es/tx/builder/field-types/u-int.mjs +0 -13
  598. package/es/tx/builder/field-types/u-int.mjs.map +0 -1
  599. package/es/tx/builder/field-types/with-default.mjs +0 -9
  600. package/es/tx/builder/field-types/with-default.mjs.map +0 -1
  601. package/es/tx/builder/field-types/with-formatting.mjs +0 -9
  602. package/es/tx/builder/field-types/with-formatting.mjs.map +0 -1
  603. package/es/tx/builder/field-types/wrapped.mjs +0 -20
  604. package/es/tx/builder/field-types/wrapped.mjs.map +0 -1
  605. package/es/tx/builder/helpers.mjs +0 -209
  606. package/es/tx/builder/helpers.mjs.map +0 -1
  607. package/es/tx/builder/index.mjs +0 -98
  608. package/es/tx/builder/index.mjs.map +0 -1
  609. package/es/tx/builder/schema.generated.mjs +0 -2
  610. package/es/tx/builder/schema.generated.mjs.map +0 -1
  611. package/es/tx/builder/schema.mjs +0 -513
  612. package/es/tx/builder/schema.mjs.map +0 -1
  613. package/es/tx/execution-cost.mjs +0 -139
  614. package/es/tx/execution-cost.mjs.map +0 -1
  615. package/es/tx/transaction-signer.mjs +0 -24
  616. package/es/tx/transaction-signer.mjs.map +0 -1
  617. package/es/tx/validator.mjs +0 -214
  618. package/es/tx/validator.mjs.map +0 -1
  619. package/es/typings/@aeternity__uuid/index.d.mjs +0 -2
  620. package/es/typings/@aeternity__uuid/index.d.mjs.map +0 -1
  621. package/es/typings/bip32-path/index.d.mjs +0 -2
  622. package/es/typings/bip32-path/index.d.mjs.map +0 -1
  623. package/es/typings/blakejs/index.d.mjs +0 -2
  624. package/es/typings/blakejs/index.d.mjs.map +0 -1
  625. package/es/typings/sha-js/index.d.mjs +0 -2
  626. package/es/typings/sha-js/index.d.mjs.map +0 -1
  627. package/es/typings/tweetnacl-auth/index.d.mjs +0 -2
  628. package/es/typings/tweetnacl-auth/index.d.mjs.map +0 -1
  629. package/es/utils/amount-formatter.mjs +0 -97
  630. package/es/utils/amount-formatter.mjs.map +0 -1
  631. package/es/utils/autorest.mjs +0 -141
  632. package/es/utils/autorest.mjs.map +0 -1
  633. package/es/utils/bignumber.mjs +0 -21
  634. package/es/utils/bignumber.mjs.map +0 -1
  635. package/es/utils/bytes.mjs +0 -32
  636. package/es/utils/bytes.mjs.map +0 -1
  637. package/es/utils/crypto.mjs +0 -193
  638. package/es/utils/crypto.mjs.map +0 -1
  639. package/es/utils/encoder-types.mjs +0 -35
  640. package/es/utils/encoder-types.mjs.map +0 -1
  641. package/es/utils/encoder.mjs +0 -110
  642. package/es/utils/encoder.mjs.map +0 -1
  643. package/es/utils/errors.mjs +0 -756
  644. package/es/utils/errors.mjs.map +0 -1
  645. package/es/utils/hd-wallet.d.ts +0 -61
  646. package/es/utils/hd-wallet.mjs +0 -169
  647. package/es/utils/hd-wallet.mjs.map +0 -1
  648. package/es/utils/json-big.mjs +0 -25
  649. package/es/utils/json-big.mjs.map +0 -1
  650. package/es/utils/jwt.mjs +0 -120
  651. package/es/utils/jwt.mjs.map +0 -1
  652. package/es/utils/keystore.d.ts +0 -57
  653. package/es/utils/keystore.mjs +0 -140
  654. package/es/utils/keystore.mjs.map +0 -1
  655. package/es/utils/other.mjs +0 -49
  656. package/es/utils/other.mjs.map +0 -1
  657. package/es/utils/semver-satisfies.mjs +0 -12
  658. package/es/utils/semver-satisfies.mjs.map +0 -1
  659. package/es/utils/string.mjs +0 -18
  660. package/es/utils/string.mjs.map +0 -1
  661. package/es/utils/typed-data.mjs +0 -55
  662. package/es/utils/typed-data.mjs.map +0 -1
  663. package/es/utils/wrap-proxy.mjs +0 -15
  664. package/es/utils/wrap-proxy.mjs.map +0 -1
  665. package/src/AeSdk.ts +0 -75
  666. package/src/AeSdkAepp.ts +0 -179
  667. package/src/AeSdkBase.ts +0 -315
  668. package/src/AeSdkMethods.ts +0 -149
  669. package/src/AeSdkWallet.ts +0 -383
  670. package/src/Middleware.ts +0 -149
  671. package/src/MiddlewareSubscriber.ts +0 -207
  672. package/src/Node.ts +0 -213
  673. package/src/account/Base.ts +0 -224
  674. package/src/account/Generalized.ts +0 -113
  675. package/src/account/Ledger.ts +0 -161
  676. package/src/account/LedgerFactory.ts +0 -86
  677. package/src/account/Memory.ts +0 -218
  678. package/src/account/Rpc.ts +0 -170
  679. package/src/aens.ts +0 -372
  680. package/src/aepp-wallet-communication/connection/Browser.ts +0 -54
  681. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +0 -57
  682. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +0 -105
  683. package/src/aepp-wallet-communication/connection-proxy.ts +0 -19
  684. package/src/aepp-wallet-communication/rpc/RpcClient.ts +0 -153
  685. package/src/aepp-wallet-communication/rpc/types.ts +0 -115
  686. package/src/aepp-wallet-communication/schema.ts +0 -212
  687. package/src/aepp-wallet-communication/wallet-detector.ts +0 -54
  688. package/src/apis/compiler/compiler.ts +0 -527
  689. package/src/apis/compiler/index.ts +0 -2
  690. package/src/apis/compiler/models/index.ts +0 -236
  691. package/src/apis/compiler/models/mappers.ts +0 -555
  692. package/src/apis/compiler/models/parameters.ts +0 -87
  693. package/src/apis/middleware/index.ts +0 -2
  694. package/src/apis/middleware/middleware.ts +0 -1928
  695. package/src/apis/middleware/models/index.ts +0 -1949
  696. package/src/apis/middleware/models/mappers.ts +0 -3808
  697. package/src/apis/middleware/models/parameters.ts +0 -493
  698. package/src/apis/node/index.ts +0 -2
  699. package/src/apis/node/models/index.ts +0 -1335
  700. package/src/apis/node/models/mappers.ts +0 -4508
  701. package/src/apis/node/models/parameters.ts +0 -188
  702. package/src/apis/node/node.ts +0 -1420
  703. package/src/chain.ts +0 -433
  704. package/src/channel/Base.ts +0 -302
  705. package/src/channel/Contract.ts +0 -465
  706. package/src/channel/Spend.ts +0 -385
  707. package/src/channel/handlers.ts +0 -386
  708. package/src/channel/internal.ts +0 -461
  709. package/src/contract/Contract.ts +0 -629
  710. package/src/contract/compiler/Base.ts +0 -123
  711. package/src/contract/compiler/Cli.ts +0 -173
  712. package/src/contract/compiler/Cli8.ts +0 -17
  713. package/src/contract/compiler/Http.ts +0 -134
  714. package/src/contract/compiler/HttpNode.ts +0 -32
  715. package/src/contract/compiler/getFileSystem.ts +0 -42
  716. package/src/contract/delegation-signature.ts +0 -88
  717. package/src/contract/ga.ts +0 -138
  718. package/src/deprecated.ts +0 -77
  719. package/src/index-browser.ts +0 -121
  720. package/src/index.ts +0 -6
  721. package/src/oracle.ts +0 -311
  722. package/src/send-transaction.ts +0 -136
  723. package/src/spend.ts +0 -136
  724. package/src/tx/builder/SchemaTypes.ts +0 -79
  725. package/src/tx/builder/common.ts +0 -74
  726. package/src/tx/builder/constants.ts +0 -155
  727. package/src/tx/builder/delegation/index.ts +0 -28
  728. package/src/tx/builder/delegation/schema.generated.ts +0 -143
  729. package/src/tx/builder/delegation/schema.ts +0 -61
  730. package/src/tx/builder/field-types/abi-version.ts +0 -44
  731. package/src/tx/builder/field-types/address.ts +0 -62
  732. package/src/tx/builder/field-types/array.ts +0 -19
  733. package/src/tx/builder/field-types/boolean.ts +0 -9
  734. package/src/tx/builder/field-types/coin-amount.ts +0 -26
  735. package/src/tx/builder/field-types/ct-version.ts +0 -83
  736. package/src/tx/builder/field-types/encoded.ts +0 -27
  737. package/src/tx/builder/field-types/entry.ts +0 -33
  738. package/src/tx/builder/field-types/enumeration.ts +0 -32
  739. package/src/tx/builder/field-types/fee.ts +0 -191
  740. package/src/tx/builder/field-types/field.ts +0 -9
  741. package/src/tx/builder/field-types/gas-limit.ts +0 -46
  742. package/src/tx/builder/field-types/gas-price.ts +0 -67
  743. package/src/tx/builder/field-types/index.ts +0 -40
  744. package/src/tx/builder/field-types/map.ts +0 -45
  745. package/src/tx/builder/field-types/mptree.ts +0 -243
  746. package/src/tx/builder/field-types/name-fee.ts +0 -32
  747. package/src/tx/builder/field-types/name-id.ts +0 -17
  748. package/src/tx/builder/field-types/name.ts +0 -18
  749. package/src/tx/builder/field-types/nonce.ts +0 -46
  750. package/src/tx/builder/field-types/pointers.ts +0 -41
  751. package/src/tx/builder/field-types/pointers2.ts +0 -62
  752. package/src/tx/builder/field-types/query-fee.ts +0 -25
  753. package/src/tx/builder/field-types/raw.ts +0 -9
  754. package/src/tx/builder/field-types/short-u-int-const.ts +0 -30
  755. package/src/tx/builder/field-types/short-u-int.ts +0 -11
  756. package/src/tx/builder/field-types/string.ts +0 -11
  757. package/src/tx/builder/field-types/ttl.ts +0 -34
  758. package/src/tx/builder/field-types/u-int.ts +0 -15
  759. package/src/tx/builder/field-types/with-default.ts +0 -18
  760. package/src/tx/builder/field-types/with-formatting.ts +0 -18
  761. package/src/tx/builder/field-types/wrapped.ts +0 -32
  762. package/src/tx/builder/helpers.ts +0 -252
  763. package/src/tx/builder/index.ts +0 -123
  764. package/src/tx/builder/schema.generated.ts +0 -2049
  765. package/src/tx/builder/schema.ts +0 -612
  766. package/src/tx/execution-cost.ts +0 -164
  767. package/src/tx/transaction-signer.ts +0 -27
  768. package/src/tx/validator.ts +0 -222
  769. package/src/typings/@aeternity__uuid/index.d.ts +0 -5
  770. package/src/typings/bip32-path/index.d.ts +0 -33
  771. package/src/typings/blakejs/index.d.ts +0 -5
  772. package/src/typings/sha-js/index.d.ts +0 -5
  773. package/src/typings/tweetnacl-auth/index.d.ts +0 -14
  774. package/src/utils/amount-formatter.ts +0 -98
  775. package/src/utils/autorest.ts +0 -153
  776. package/src/utils/bignumber.ts +0 -21
  777. package/src/utils/bytes.ts +0 -28
  778. package/src/utils/crypto.ts +0 -216
  779. package/src/utils/encoder-types.ts +0 -63
  780. package/src/utils/encoder.ts +0 -145
  781. package/src/utils/errors.ts +0 -777
  782. package/src/utils/hd-wallet.ts +0 -191
  783. package/src/utils/json-big.ts +0 -27
  784. package/src/utils/jwt.ts +0 -126
  785. package/src/utils/keystore.ts +0 -189
  786. package/src/utils/other.ts +0 -64
  787. package/src/utils/semver-satisfies.ts +0 -22
  788. package/src/utils/string.ts +0 -17
  789. package/src/utils/typed-data.ts +0 -69
  790. package/src/utils/wrap-proxy.ts +0 -24
  791. package/types-legacy/ts4.2/AeSdk.d.ts +0 -44
  792. package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -71
  793. package/types-legacy/ts4.2/AeSdkBase.d.ts +0 -164
  794. package/types-legacy/ts4.2/AeSdkMethods.d.ts +0 -146
  795. package/types-legacy/ts4.2/AeSdkWallet.d.ts +0 -90
  796. package/types-legacy/ts4.2/Middleware.d.ts +0 -46
  797. package/types-legacy/ts4.2/MiddlewareSubscriber.d.ts +0 -30
  798. package/types-legacy/ts4.2/Node.d.ts +0 -95
  799. package/types-legacy/ts4.2/account/Base.d.ts +0 -147
  800. package/types-legacy/ts4.2/account/Generalized.d.ts +0 -22
  801. package/types-legacy/ts4.2/account/Ledger.d.ts +0 -34
  802. package/types-legacy/ts4.2/account/LedgerFactory.d.ts +0 -39
  803. package/types-legacy/ts4.2/account/Memory.d.ts +0 -46
  804. package/types-legacy/ts4.2/account/Rpc.d.ts +0 -35
  805. package/types-legacy/ts4.2/aens.d.ts +0 -193
  806. package/types-legacy/ts4.2/aepp-wallet-communication/connection/Browser.d.ts +0 -33
  807. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
  808. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
  809. package/types-legacy/ts4.2/aepp-wallet-communication/connection-proxy.d.ts +0 -11
  810. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
  811. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +0 -120
  812. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +0 -129
  813. package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +0 -22
  814. package/types-legacy/ts4.2/apis/compiler/compiler.d.ts +0 -86
  815. package/types-legacy/ts4.2/apis/compiler/index.d.ts +0 -2
  816. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +0 -191
  817. package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +0 -22
  818. package/types-legacy/ts4.2/apis/compiler/models/parameters.d.ts +0 -12
  819. package/types-legacy/ts4.2/apis/middleware/index.d.ts +0 -2
  820. package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +0 -327
  821. package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +0 -1645
  822. package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +0 -109
  823. package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +0 -46
  824. package/types-legacy/ts4.2/apis/node/index.d.ts +0 -2
  825. package/types-legacy/ts4.2/apis/node/models/index.d.ts +0 -1129
  826. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +0 -99
  827. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +0 -17
  828. package/types-legacy/ts4.2/apis/node/node.d.ts +0 -236
  829. package/types-legacy/ts4.2/chain.d.ts +0 -227
  830. package/types-legacy/ts4.2/channel/Base.d.ts +0 -168
  831. package/types-legacy/ts4.2/channel/Contract.d.ts +0 -239
  832. package/types-legacy/ts4.2/channel/Spend.d.ts +0 -213
  833. package/types-legacy/ts4.2/channel/handlers.d.ts +0 -21
  834. package/types-legacy/ts4.2/channel/internal.d.ts +0 -232
  835. package/types-legacy/ts4.2/contract/Contract.d.ts +0 -164
  836. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +0 -104
  837. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +0 -26
  838. package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +0 -13
  839. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +0 -28
  840. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +0 -15
  841. package/types-legacy/ts4.2/contract/compiler/getFileSystem.d.ts +0 -6
  842. package/types-legacy/ts4.2/contract/delegation-signature.d.ts +0 -45
  843. package/types-legacy/ts4.2/contract/ga.d.ts +0 -59
  844. package/types-legacy/ts4.2/deprecated.d.ts +0 -62
  845. package/types-legacy/ts4.2/globals.d.ts +0 -16
  846. package/types-legacy/ts4.2/index-browser.d.ts +0 -51
  847. package/types-legacy/ts4.2/index.d.ts +0 -6
  848. package/types-legacy/ts4.2/oracle.d.ts +0 -125
  849. package/types-legacy/ts4.2/send-transaction.d.ts +0 -53
  850. package/types-legacy/ts4.2/spend.d.ts +0 -56
  851. package/types-legacy/ts4.2/tx/builder/SchemaTypes.d.ts +0 -37
  852. package/types-legacy/ts4.2/tx/builder/common.d.ts +0 -32
  853. package/types-legacy/ts4.2/tx/builder/constants.d.ts +0 -100
  854. package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +0 -20
  855. package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +0 -136
  856. package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +0 -141
  857. package/types-legacy/ts4.2/tx/builder/field-types/abi-version.d.ts +0 -19
  858. package/types-legacy/ts4.2/tx/builder/field-types/address.d.ts +0 -21
  859. package/types-legacy/ts4.2/tx/builder/field-types/array.d.ts +0 -7
  860. package/types-legacy/ts4.2/tx/builder/field-types/boolean.d.ts +0 -6
  861. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +0 -11
  862. package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +0 -72
  863. package/types-legacy/ts4.2/tx/builder/field-types/encoded.d.ts +0 -6
  864. package/types-legacy/ts4.2/tx/builder/field-types/entry.d.ts +0 -11
  865. package/types-legacy/ts4.2/tx/builder/field-types/enumeration.d.ts +0 -7
  866. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +0 -30
  867. package/types-legacy/ts4.2/tx/builder/field-types/field.d.ts +0 -6
  868. package/types-legacy/ts4.2/tx/builder/field-types/gas-limit.d.ts +0 -16
  869. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +0 -17
  870. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +0 -45
  871. package/types-legacy/ts4.2/tx/builder/field-types/map.d.ts +0 -13
  872. package/types-legacy/ts4.2/tx/builder/field-types/mptree.d.ts +0 -48
  873. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +0 -18
  874. package/types-legacy/ts4.2/tx/builder/field-types/name-id.d.ts +0 -11
  875. package/types-legacy/ts4.2/tx/builder/field-types/name.d.ts +0 -13
  876. package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +0 -15
  877. package/types-legacy/ts4.2/tx/builder/field-types/pointers.d.ts +0 -26
  878. package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +0 -26
  879. package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +0 -19
  880. package/types-legacy/ts4.2/tx/builder/field-types/raw.d.ts +0 -6
  881. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int-const.d.ts +0 -7
  882. package/types-legacy/ts4.2/tx/builder/field-types/short-u-int.d.ts +0 -6
  883. package/types-legacy/ts4.2/tx/builder/field-types/string.d.ts +0 -6
  884. package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +0 -20
  885. package/types-legacy/ts4.2/tx/builder/field-types/u-int.d.ts +0 -7
  886. package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +0 -7
  887. package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +0 -7
  888. package/types-legacy/ts4.2/tx/builder/field-types/wrapped.d.ts +0 -14
  889. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +0 -119
  890. package/types-legacy/ts4.2/tx/builder/index.d.ts +0 -62
  891. package/types-legacy/ts4.2/tx/builder/schema.d.ts +0 -3256
  892. package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +0 -2047
  893. package/types-legacy/ts4.2/tx/execution-cost.d.ts +0 -53
  894. package/types-legacy/ts4.2/tx/transaction-signer.d.ts +0 -6
  895. package/types-legacy/ts4.2/tx/validator.d.ts +0 -18
  896. package/types-legacy/ts4.2/utils/amount-formatter.d.ts +0 -41
  897. package/types-legacy/ts4.2/utils/autorest.d.ts +0 -7
  898. package/types-legacy/ts4.2/utils/bignumber.d.ts +0 -13
  899. package/types-legacy/ts4.2/utils/bytes.d.ts +0 -9
  900. package/types-legacy/ts4.2/utils/crypto.d.ts +0 -100
  901. package/types-legacy/ts4.2/utils/encoder-types.d.ts +0 -61
  902. package/types-legacy/ts4.2/utils/encoder.d.ts +0 -24
  903. package/types-legacy/ts4.2/utils/errors.d.ts +0 -464
  904. package/types-legacy/ts4.2/utils/hd-wallet.d.ts +0 -68
  905. package/types-legacy/ts4.2/utils/json-big.d.ts +0 -5
  906. package/types-legacy/ts4.2/utils/jwt.d.ts +0 -53
  907. package/types-legacy/ts4.2/utils/keystore.d.ts +0 -57
  908. package/types-legacy/ts4.2/utils/other.d.ts +0 -32
  909. package/types-legacy/ts4.2/utils/semver-satisfies.d.ts +0 -1
  910. package/types-legacy/ts4.2/utils/string.d.ts +0 -12
  911. package/types-legacy/ts4.2/utils/typed-data.d.ts +0 -58
  912. package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +0 -2
  913. package/types-legacy/ts4.5/AeSdk.d.ts +0 -44
  914. package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -71
  915. package/types-legacy/ts4.5/AeSdkBase.d.ts +0 -164
  916. package/types-legacy/ts4.5/AeSdkMethods.d.ts +0 -146
  917. package/types-legacy/ts4.5/AeSdkWallet.d.ts +0 -90
  918. package/types-legacy/ts4.5/Middleware.d.ts +0 -46
  919. package/types-legacy/ts4.5/MiddlewareSubscriber.d.ts +0 -30
  920. package/types-legacy/ts4.5/Node.d.ts +0 -95
  921. package/types-legacy/ts4.5/account/Base.d.ts +0 -147
  922. package/types-legacy/ts4.5/account/Generalized.d.ts +0 -22
  923. package/types-legacy/ts4.5/account/Ledger.d.ts +0 -34
  924. package/types-legacy/ts4.5/account/LedgerFactory.d.ts +0 -39
  925. package/types-legacy/ts4.5/account/Memory.d.ts +0 -46
  926. package/types-legacy/ts4.5/account/Rpc.d.ts +0 -35
  927. package/types-legacy/ts4.5/aens.d.ts +0 -193
  928. package/types-legacy/ts4.5/aepp-wallet-communication/connection/Browser.d.ts +0 -33
  929. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +0 -22
  930. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +0 -36
  931. package/types-legacy/ts4.5/aepp-wallet-communication/connection-proxy.d.ts +0 -11
  932. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/RpcClient.d.ts +0 -34
  933. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +0 -120
  934. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +0 -129
  935. package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +0 -22
  936. package/types-legacy/ts4.5/apis/compiler/compiler.d.ts +0 -86
  937. package/types-legacy/ts4.5/apis/compiler/index.d.ts +0 -2
  938. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +0 -191
  939. package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +0 -22
  940. package/types-legacy/ts4.5/apis/compiler/models/parameters.d.ts +0 -12
  941. package/types-legacy/ts4.5/apis/middleware/index.d.ts +0 -2
  942. package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +0 -327
  943. package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +0 -1645
  944. package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +0 -109
  945. package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +0 -46
  946. package/types-legacy/ts4.5/apis/node/index.d.ts +0 -2
  947. package/types-legacy/ts4.5/apis/node/models/index.d.ts +0 -1129
  948. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +0 -99
  949. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +0 -17
  950. package/types-legacy/ts4.5/apis/node/node.d.ts +0 -236
  951. package/types-legacy/ts4.5/chain.d.ts +0 -227
  952. package/types-legacy/ts4.5/channel/Base.d.ts +0 -168
  953. package/types-legacy/ts4.5/channel/Contract.d.ts +0 -239
  954. package/types-legacy/ts4.5/channel/Spend.d.ts +0 -213
  955. package/types-legacy/ts4.5/channel/handlers.d.ts +0 -21
  956. package/types-legacy/ts4.5/channel/internal.d.ts +0 -232
  957. package/types-legacy/ts4.5/contract/Contract.d.ts +0 -164
  958. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +0 -104
  959. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +0 -26
  960. package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +0 -13
  961. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +0 -28
  962. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +0 -15
  963. package/types-legacy/ts4.5/contract/compiler/getFileSystem.d.ts +0 -6
  964. package/types-legacy/ts4.5/contract/delegation-signature.d.ts +0 -45
  965. package/types-legacy/ts4.5/contract/ga.d.ts +0 -59
  966. package/types-legacy/ts4.5/deprecated.d.ts +0 -62
  967. package/types-legacy/ts4.5/index-browser.d.ts +0 -51
  968. package/types-legacy/ts4.5/index.d.ts +0 -5
  969. package/types-legacy/ts4.5/oracle.d.ts +0 -125
  970. package/types-legacy/ts4.5/send-transaction.d.ts +0 -53
  971. package/types-legacy/ts4.5/spend.d.ts +0 -56
  972. package/types-legacy/ts4.5/tx/builder/SchemaTypes.d.ts +0 -37
  973. package/types-legacy/ts4.5/tx/builder/common.d.ts +0 -32
  974. package/types-legacy/ts4.5/tx/builder/constants.d.ts +0 -100
  975. package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +0 -20
  976. package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +0 -136
  977. package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +0 -141
  978. package/types-legacy/ts4.5/tx/builder/field-types/abi-version.d.ts +0 -19
  979. package/types-legacy/ts4.5/tx/builder/field-types/address.d.ts +0 -21
  980. package/types-legacy/ts4.5/tx/builder/field-types/array.d.ts +0 -7
  981. package/types-legacy/ts4.5/tx/builder/field-types/boolean.d.ts +0 -6
  982. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +0 -11
  983. package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +0 -72
  984. package/types-legacy/ts4.5/tx/builder/field-types/encoded.d.ts +0 -6
  985. package/types-legacy/ts4.5/tx/builder/field-types/entry.d.ts +0 -11
  986. package/types-legacy/ts4.5/tx/builder/field-types/enumeration.d.ts +0 -7
  987. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +0 -30
  988. package/types-legacy/ts4.5/tx/builder/field-types/field.d.ts +0 -6
  989. package/types-legacy/ts4.5/tx/builder/field-types/gas-limit.d.ts +0 -16
  990. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +0 -17
  991. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +0 -45
  992. package/types-legacy/ts4.5/tx/builder/field-types/map.d.ts +0 -13
  993. package/types-legacy/ts4.5/tx/builder/field-types/mptree.d.ts +0 -48
  994. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +0 -18
  995. package/types-legacy/ts4.5/tx/builder/field-types/name-id.d.ts +0 -11
  996. package/types-legacy/ts4.5/tx/builder/field-types/name.d.ts +0 -13
  997. package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +0 -15
  998. package/types-legacy/ts4.5/tx/builder/field-types/pointers.d.ts +0 -26
  999. package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +0 -26
  1000. package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +0 -19
  1001. package/types-legacy/ts4.5/tx/builder/field-types/raw.d.ts +0 -6
  1002. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int-const.d.ts +0 -7
  1003. package/types-legacy/ts4.5/tx/builder/field-types/short-u-int.d.ts +0 -6
  1004. package/types-legacy/ts4.5/tx/builder/field-types/string.d.ts +0 -6
  1005. package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +0 -20
  1006. package/types-legacy/ts4.5/tx/builder/field-types/u-int.d.ts +0 -7
  1007. package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +0 -7
  1008. package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +0 -7
  1009. package/types-legacy/ts4.5/tx/builder/field-types/wrapped.d.ts +0 -14
  1010. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +0 -119
  1011. package/types-legacy/ts4.5/tx/builder/index.d.ts +0 -62
  1012. package/types-legacy/ts4.5/tx/builder/schema.d.ts +0 -3256
  1013. package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +0 -2047
  1014. package/types-legacy/ts4.5/tx/execution-cost.d.ts +0 -53
  1015. package/types-legacy/ts4.5/tx/transaction-signer.d.ts +0 -6
  1016. package/types-legacy/ts4.5/tx/validator.d.ts +0 -18
  1017. package/types-legacy/ts4.5/utils/amount-formatter.d.ts +0 -41
  1018. package/types-legacy/ts4.5/utils/autorest.d.ts +0 -7
  1019. package/types-legacy/ts4.5/utils/bignumber.d.ts +0 -13
  1020. package/types-legacy/ts4.5/utils/bytes.d.ts +0 -9
  1021. package/types-legacy/ts4.5/utils/crypto.d.ts +0 -100
  1022. package/types-legacy/ts4.5/utils/encoder-types.d.ts +0 -61
  1023. package/types-legacy/ts4.5/utils/encoder.d.ts +0 -24
  1024. package/types-legacy/ts4.5/utils/errors.d.ts +0 -464
  1025. package/types-legacy/ts4.5/utils/hd-wallet.d.ts +0 -68
  1026. package/types-legacy/ts4.5/utils/json-big.d.ts +0 -5
  1027. package/types-legacy/ts4.5/utils/jwt.d.ts +0 -53
  1028. package/types-legacy/ts4.5/utils/keystore.d.ts +0 -57
  1029. package/types-legacy/ts4.5/utils/other.d.ts +0 -32
  1030. package/types-legacy/ts4.5/utils/semver-satisfies.d.ts +0 -1
  1031. package/types-legacy/ts4.5/utils/string.d.ts +0 -12
  1032. package/types-legacy/ts4.5/utils/typed-data.d.ts +0 -58
  1033. package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +0 -2
  1034. /package/dist/{aepp-sdk.browser.js.LICENSE.txt → aepp-sdk.browser.cjs.LICENSE.txt} +0 -0
@@ -1,67 +1,555 @@
1
+ import { MiddlewarePage } from "../../../utils/MiddlewarePage.js";
1
2
  import * as coreClient from "@azure/core-client";
2
- export interface Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchemaAllof0 {
3
- data?: Activity[];
4
- }
5
3
  /** Activity related to an account */
6
4
  export interface Activity {
7
- /** The block hash */
8
- blockHash: string;
9
- /** The time in which the block happened */
10
- blockTime?: number;
5
+ /** Micro block hash */
6
+ blockHash: `mh_${string}`;
7
+ blockTime: Date;
11
8
  /** The block height */
12
9
  height: number;
13
- /** Any object */
14
- payload: Record<string, unknown>;
15
10
  /** The event type */
16
11
  type: ActivityType;
12
+ /** A mix of all activity types. */
13
+ payload: ActivityPayload;
14
+ }
15
+ /** A mix of all activity types. */
16
+ export interface ActivityPayload {
17
+ /** The micro block hash in which the transaction happened */
18
+ blockHash?: `mh_${string}`;
19
+ blockHeight?: number;
20
+ /** Encoded transaction */
21
+ encodedTx?: `tx_${string}`;
22
+ /** Transaction hash */
23
+ hash?: `th_${string}`;
24
+ /** The micro block index */
25
+ microIndex?: number;
26
+ microTime?: Date;
27
+ /** The signatures */
28
+ signatures?: string[];
29
+ /** The transaction */
30
+ tx?: Tx;
31
+ /** The amount of AE tokens */
32
+ amount?: bigint;
33
+ /** Contract address */
34
+ contractId?: `ct_${string}`;
35
+ logIdx?: number;
36
+ /** Account address */
37
+ recipientId?: `ak_${string}`;
38
+ /** Account address */
39
+ senderId?: `ak_${string}`;
40
+ /** Transaction hash */
41
+ txHash?: `th_${string}`;
42
+ /** Account address */
43
+ recipient?: `ak_${string}`;
44
+ /** Account address */
45
+ sender?: `ak_${string}`;
46
+ tokenId?: number;
47
+ /** The contract creation transaction hash */
48
+ contractTxHash?: `th_${string}`;
49
+ /** The contract call transaction hash */
50
+ callTxHash?: `th_${string}`;
51
+ /** The name of the function */
52
+ function?: string;
53
+ /** The transaction object */
54
+ internalTx?: Record<string, unknown>;
55
+ /** The height in which the internal call happened */
56
+ height?: number;
57
+ /** The kind of internal transfer */
58
+ kind?: ActivityPayloadKind;
59
+ /** The transaction hash of a transaction related to the internal transfer */
60
+ refTxHash?: `th_${string}`;
17
61
  }
18
- export interface PaginatedResponse {
19
- next: string | null;
20
- prev: string | null;
62
+ /** A mix of all transaction types. */
63
+ export interface Tx {
64
+ /** Base58Check encoded tagged pubkey */
65
+ recipientId?: string;
66
+ amount?: bigint;
67
+ fee: bigint;
68
+ ttl?: number;
69
+ /** Base58Check encoded tagged pubkey */
70
+ senderId?: string;
71
+ nonce?: number;
72
+ /** Base64Check encoded tagged byte array */
73
+ payload?: string;
74
+ /** Base58Check encoded tagged pubkey */
75
+ initiatorId?: string;
76
+ initiatorAmount?: bigint;
77
+ /** Base58Check encoded tagged pubkey */
78
+ responderId?: string;
79
+ responderAmount?: bigint;
80
+ channelReserve?: bigint;
81
+ lockPeriod?: number;
82
+ /** Base58Check encoded tagged pubkey */
83
+ stateHash?: string;
84
+ delegateIds?: Delegates;
85
+ /** Base58Check encoded tagged pubkey */
86
+ channelId?: string;
87
+ /** Base58Check encoded tagged pubkey */
88
+ fromId?: string;
89
+ round?: number;
90
+ /** Base58Check encoded tagged pubkey */
91
+ toId?: string;
92
+ update?: OffChainUpdate;
93
+ /** Base64Check encoded tagged byte array */
94
+ offchainTrees?: string;
95
+ initiatorAmountFinal?: number;
96
+ responderAmountFinal?: number;
97
+ /** Base64Check encoded tagged byte array */
98
+ poi?: string;
99
+ initiatorDelegateIds?: string[];
100
+ responderDelegateIds?: string[];
101
+ queryFormat?: string;
102
+ responseFormat?: string;
103
+ queryFee?: bigint;
104
+ oracleTtl?: RelativeTTL;
105
+ /** Base58Check encoded tagged pubkey */
106
+ accountId?: string;
107
+ abiVersion?: number;
108
+ /** Base58Check encoded tagged pubkey */
109
+ oracleId?: string;
110
+ query?: string;
111
+ queryTtl?: Ttl;
112
+ responseTtl?: RelativeTTL;
113
+ /** Base58Check encoded tagged value */
114
+ queryId?: string;
115
+ response?: string;
116
+ /** Base58Check encoded tagged value */
117
+ commitmentId?: string;
118
+ name?: string;
119
+ nameSalt?: number;
120
+ nameFee?: bigint;
121
+ /** Base58Check encoded tagged value */
122
+ nameId?: string;
123
+ nameTtl?: number;
124
+ pointers?: NamePointer[];
125
+ clientTtl?: number;
126
+ /** Base58Check encoded tagged pubkey */
127
+ ownerId?: string;
128
+ /** Base64Check encoded tagged byte array */
129
+ code?: string;
130
+ vmVersion?: number;
131
+ deposit?: bigint;
132
+ gas?: number;
133
+ gasPrice?: bigint;
134
+ /** Base64Check encoded tagged byte array */
135
+ callData?: string;
136
+ /** Base58Check encoded tagged pubkey */
137
+ callerId?: string;
138
+ /** Base58Check encoded tagged pubkey */
139
+ contractId?: string;
140
+ /** Contract authorization function hash (hex encoded) */
141
+ authFun?: string;
142
+ /** Base58Check encoded tagged pubkey */
143
+ gaId?: string;
144
+ /** Base64Check encoded tagged byte array */
145
+ authData?: string;
146
+ tx?: SignedTx;
147
+ /** Base58Check encoded tagged pubkey */
148
+ payerId?: string;
149
+ version: number;
150
+ type: TxType;
151
+ }
152
+ export interface Delegates {
153
+ initiator?: string[];
154
+ responder?: string[];
155
+ }
156
+ export interface OffChainUpdate {
157
+ /** Polymorphic discriminator, which specifies the different types this object can be */
158
+ op: "OffChainUpdate";
159
+ }
160
+ export interface RelativeTTL {
161
+ type: "delta";
162
+ value: number;
163
+ }
164
+ export interface Ttl {
165
+ type: TTLType;
166
+ value: number;
167
+ }
168
+ export interface NamePointer {
169
+ key: string;
170
+ /** Base58Check encoded tagged value */
171
+ encodedKey?: string;
172
+ /** Base58Check encoded tagged pubkey */
173
+ id: string;
174
+ }
175
+ export interface SignedTx {
176
+ /** A mix of all transaction types. */
177
+ tx: Tx;
178
+ blockHeight?: number;
179
+ /** Base58Check encoded tagged hash */
180
+ blockHash?: string;
181
+ /** Base58Check encoded tagged hash */
182
+ hash?: string;
183
+ /** Base64Check encoded tagged byte array */
184
+ encodedTx?: string;
185
+ /** At least one signature is required unless for Generalized Account Meta transactions */
186
+ signatures?: string[];
21
187
  }
22
188
  /** Error response from the API */
23
189
  export interface ErrorResponse {
24
190
  /** The message of the error raised */
25
191
  error: string;
26
192
  }
27
- export interface Paths17FlgdkV2Aex141GetResponses200ContentApplicationJsonSchemaAllof0 {
28
- data?: Aex141Response[];
193
+ /** Response Schema for owners of AEX-141 tokens */
194
+ export interface Aex141TokenResponse {
195
+ /** NFT contract id */
196
+ contractId: `ct_${string}`;
197
+ /** Account address */
198
+ ownerId?: `ak_${string}`;
199
+ /** Non-fungible token id */
200
+ tokenId: number;
201
+ }
202
+ /** Response Schema for AEX9 balance responses */
203
+ export interface Aex9BalanceResponse {
204
+ /** Amount of AEX9 token */
205
+ amount: bigint;
206
+ /** Block hash, indicating a state of a balance for that block */
207
+ blockHash: number;
208
+ /** Contract id of AEX9 token */
209
+ contractId: `ct_${string}`;
210
+ /** Number of decimals of AEX9 token */
211
+ decimals: number;
212
+ /** Block height, indicating a state of a balance for that block height */
213
+ height: number;
214
+ /** Name of AEX9 token */
215
+ tokenName: string;
216
+ /** Symbol of AEX9 token */
217
+ tokenSymbol: string;
218
+ /** Transaction hash, indicating a state of a balance for that block height */
219
+ txHash: `th_${string}`;
220
+ /** Transaction index, indicating a state of a balance for that block height */
221
+ txIndex: number;
222
+ /** Transaction type, indicating a state of a balance for that block height */
223
+ txType: string;
224
+ }
225
+ /** DEX swap */
226
+ export interface DexSwap {
227
+ amounts: DexSwapAmounts;
228
+ action: DexSwapAction;
229
+ /** Account address */
230
+ caller: `ak_${string}`;
231
+ fromToken: string;
232
+ toToken: string;
233
+ logIdx: number;
234
+ /** Account address */
235
+ toAccount: `ak_${string}`;
236
+ /** Transaction hash */
237
+ txHash: `th_${string}`;
238
+ /** Contract address */
239
+ fromContract: `ct_${string}`;
240
+ /** Contract address */
241
+ toContract: `ct_${string}`;
242
+ fromAmount: bigint;
243
+ toAmount: bigint;
244
+ fromDecimals: number;
245
+ toDecimals: number;
246
+ microTime: Date;
247
+ height: number;
248
+ }
249
+ export interface DexSwapAmounts {
250
+ amount0In: bigint;
251
+ amount1In: bigint;
252
+ amount0Out: bigint;
253
+ amount1Out: bigint;
254
+ }
255
+ /** Name Claim */
256
+ export interface NameClaim {
257
+ activeFrom: number;
258
+ /** Transaction hash */
259
+ sourceTxHash: `th_${string}`;
260
+ sourceTxType: string;
261
+ /** Micro block hash */
262
+ blockHash: `mh_${string}`;
263
+ height: number;
264
+ tx: NameClaimTx;
265
+ internalSource?: boolean;
266
+ }
267
+ export interface NameClaimTx {
268
+ name: string;
269
+ nameSalt: number;
270
+ nameFee?: bigint;
271
+ fee: bigint;
272
+ ttl?: number;
273
+ /** Base58Check encoded tagged pubkey */
274
+ accountId: string;
275
+ nonce?: number;
276
+ }
277
+ /** Resource not found on the API */
278
+ export interface NotFoundResponse {
279
+ /** The message of the error raised */
280
+ error: string;
281
+ }
282
+ /** Pointee */
283
+ export interface Pointee {
284
+ active: boolean;
285
+ /** AENS name */
286
+ name: `${string}.chain`;
287
+ key: string;
288
+ /** Micro block hash */
289
+ blockHash: `mh_${string}`;
290
+ tx: NameUpdateTx;
291
+ sourceTxType: string;
292
+ /** Transaction hash */
293
+ sourceTxHash: `th_${string}`;
294
+ blockHeight: number;
295
+ blockTime: Date;
296
+ }
297
+ export interface NameUpdateTx {
298
+ /** Base58Check encoded tagged value */
299
+ nameId: string;
300
+ nameTtl: number;
301
+ pointers: NamePointer[];
302
+ clientTtl: number;
303
+ fee: bigint;
304
+ ttl?: number;
305
+ /** Base58Check encoded tagged pubkey */
306
+ accountId: string;
307
+ nonce?: number;
308
+ }
309
+ export interface PathsXcg812V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchema {
310
+ /** The contract create transactions count */
311
+ contractCreateTx?: Get200ApplicationJsonProperties;
312
+ /** The contract call transactions count */
313
+ contractCallTx?: PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx;
314
+ /** The ga attach transactions count */
315
+ gaAttachTx?: Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx;
316
+ /** The ga meta transactions count */
317
+ gaMetaTx?: Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx;
318
+ /** The channel close mutual transactions count */
319
+ channelCloseMutualTx?: PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx;
320
+ /** The channel close solo transactions count */
321
+ channelCloseSoloTx?: Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx;
322
+ /** The channel create transactions count */
323
+ channelCreateTx?: PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx;
324
+ /** The channel deposit transactions count */
325
+ channelDepositTx?: Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx;
326
+ /** The channel force progress transactions count */
327
+ channelForceProgressTx?: Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx;
328
+ /** The channel set delegates transactions count */
329
+ channelSetDelegatesTx?: PathsN9Iv8YV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSetDelegatesTx;
330
+ /** The channel settle transactions count */
331
+ channelSettleTx?: PathsCsym65V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSettleTx;
332
+ /** The channel slash transactions count */
333
+ channelSlashTx?: PathsEwav40V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSlashTx;
334
+ /** The channel snapshot solo transactions count */
335
+ channelSnapshotSoloTx?: Paths5Ehb0PV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSnapshotSoloTx;
336
+ /** The channel withdraw transactions count */
337
+ channelWithdrawTx?: Paths1Qk8BkgV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelWithdrawTx;
338
+ /** The name claim transactions count */
339
+ nameClaimTx?: PathsC7WhtoV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameClaimTx;
340
+ /** The name preclaim transactions count */
341
+ namePreclaimTx?: Paths1R4Z885V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNamePreclaimTx;
342
+ /** The name revoke transactions count */
343
+ nameRevokeTx?: PathsKrpz02V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameRevokeTx;
344
+ /** The name transfer transactions count */
345
+ nameTransferTx?: PathsPs07B4V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameTransferTx;
346
+ /** The name update transactions count */
347
+ nameUpdateTx?: PathsTug6HrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameUpdateTx;
348
+ /** The oracle extend transactions count */
349
+ oracleExtendTx?: Paths17Dchb7V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleExtendTx;
350
+ /** The oracle query transactions count */
351
+ oracleQueryTx?: Paths1Ngkd7FV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleQueryTx;
352
+ /** The oracle register transactions count */
353
+ oracleRegisterTx?: PathsMvqgifV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleRegisterTx;
354
+ /** The oracle response transactions count */
355
+ oracleResponseTx?: Paths1U2Ve7RV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleResponseTx;
356
+ /** The paying for transactions count */
357
+ payingForTx?: Paths1N757S0V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesPayingForTx;
358
+ /** The spend transactions count */
359
+ spendTx?: Paths11Bqs5V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesSpendTx;
360
+ /** The channel offchain transactions count */
361
+ channelOffchainTx?: Paths4Pjk8DV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelOffchainTx;
362
+ /** The total transactions count */
363
+ total: number;
364
+ }
365
+ /** The contract create transactions count */
366
+ export interface Get200ApplicationJsonProperties {
367
+ /** The number of times the account was owner id in contract create transaction */
368
+ ownerId?: number;
369
+ }
370
+ /** The contract call transactions count */
371
+ export interface PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx {
372
+ /** The number of times the account was contract id in contract call transaction */
373
+ contractId?: number;
374
+ /** The number of times the account was caller id in contract call transaction */
375
+ callerId?: number;
376
+ }
377
+ /** The ga attach transactions count */
378
+ export interface Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx {
379
+ /** The number of times the account was owner id in ga attach transaction */
380
+ ownerId?: number;
381
+ }
382
+ /** The ga meta transactions count */
383
+ export interface Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx {
384
+ /** The number of times the account was ga id in ga meta transaction */
385
+ gaId?: number;
386
+ }
387
+ /** The channel close mutual transactions count */
388
+ export interface PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx {
389
+ /** The number of times the account was channel id in channel close mutual transaction */
390
+ channelId?: number;
391
+ /** The number of times the account was from id in channel close mutual transaction */
392
+ fromId?: number;
393
+ }
394
+ /** The channel close solo transactions count */
395
+ export interface Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx {
396
+ /** The number of times the account was channel id in channel close solo transaction */
397
+ channelId?: number;
398
+ /** The number of times the account was from id in channel close solo transaction */
399
+ fromId?: number;
400
+ }
401
+ /** The channel create transactions count */
402
+ export interface PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx {
403
+ /** The number of times the account was initiator id in channel create transaction */
404
+ initiatorId?: number;
405
+ /** The number of times the account was responder id in channel create transaction */
406
+ responderId?: number;
407
+ }
408
+ /** The channel deposit transactions count */
409
+ export interface Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx {
410
+ /** The number of times the account was channel id in channel deposit transaction */
411
+ channelId?: number;
412
+ /** The number of times the account was from id in channel deposit transaction */
413
+ fromId?: number;
414
+ }
415
+ /** The channel force progress transactions count */
416
+ export interface Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx {
417
+ /** The number of times the account was channel id in channel force progress transaction */
418
+ channelId?: number;
419
+ /** The number of times the account was from id in channel force progress transaction */
420
+ fromId?: number;
421
+ }
422
+ /** The channel set delegates transactions count */
423
+ export interface PathsN9Iv8YV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSetDelegatesTx {
424
+ /** The number of times the account was channel id in channel set delegates transaction */
425
+ channelId?: number;
426
+ /** The number of times the account was from id in channel set delegates transaction */
427
+ fromId?: number;
428
+ }
429
+ /** The channel settle transactions count */
430
+ export interface PathsCsym65V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSettleTx {
431
+ /** The number of times the account was channel id in channel settle transaction */
432
+ channelId?: number;
433
+ /** The number of times the account was from id in channel settle transaction */
434
+ fromId?: number;
435
+ }
436
+ /** The channel slash transactions count */
437
+ export interface PathsEwav40V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSlashTx {
438
+ /** The number of times the account was channel id in channel slash transaction */
439
+ channelId?: number;
440
+ /** The number of times the account was from id in channel slash transaction */
441
+ fromId?: number;
442
+ }
443
+ /** The channel snapshot solo transactions count */
444
+ export interface Paths5Ehb0PV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSnapshotSoloTx {
445
+ /** The number of times the account was channel id in channel snapshot solo transaction */
446
+ channelId?: number;
447
+ /** The number of times the account was from id in channel snapshot solo transaction */
448
+ fromId?: number;
449
+ }
450
+ /** The channel withdraw transactions count */
451
+ export interface Paths1Qk8BkgV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelWithdrawTx {
452
+ /** The number of times the account was channel id in channel withdraw transaction */
453
+ channelId?: number;
454
+ /** The number of times the account was to id in channel withdraw transaction */
455
+ toId?: number;
456
+ }
457
+ /** The name claim transactions count */
458
+ export interface PathsC7WhtoV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameClaimTx {
459
+ /** The number of times the account was account id in name claim transaction */
460
+ accountId?: number;
461
+ }
462
+ /** The name preclaim transactions count */
463
+ export interface Paths1R4Z885V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNamePreclaimTx {
464
+ /** The number of times the account was account id in name preclaim transaction */
465
+ accountId?: number;
466
+ /** The number of times the account was commitment id in name preclaim transaction */
467
+ commitmentId?: number;
468
+ }
469
+ /** The name revoke transactions count */
470
+ export interface PathsKrpz02V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameRevokeTx {
471
+ /** The number of times the account was account id in name revoke transaction */
472
+ accountId?: number;
473
+ /** The number of times the account was name id in name revoke transaction */
474
+ nameId?: number;
475
+ }
476
+ /** The name transfer transactions count */
477
+ export interface PathsPs07B4V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameTransferTx {
478
+ /** The number of times the account was recipient id in name transfer transaction */
479
+ recipientId?: number;
480
+ /** The number of times the account was account id in name transfer transaction */
481
+ accountId?: number;
482
+ /** The number of times the account was name id in name transfer transaction */
483
+ nameId?: number;
484
+ }
485
+ /** The name update transactions count */
486
+ export interface PathsTug6HrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameUpdateTx {
487
+ /** The number of times the account was account id in name update transaction */
488
+ accountId?: number;
489
+ /** The number of times the account was name id in name update transaction */
490
+ nameId?: number;
491
+ }
492
+ /** The oracle extend transactions count */
493
+ export interface Paths17Dchb7V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleExtendTx {
494
+ /** The number of times the account was oracle id in oracle extend transaction */
495
+ oracleId?: number;
496
+ }
497
+ /** The oracle query transactions count */
498
+ export interface Paths1Ngkd7FV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleQueryTx {
499
+ /** The number of times the account was sender id in oracle query transaction */
500
+ senderId?: number;
501
+ /** The number of times the account was oracle id in oracle query transaction */
502
+ oracleId?: number;
503
+ }
504
+ /** The oracle register transactions count */
505
+ export interface PathsMvqgifV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleRegisterTx {
506
+ /** The number of times the account was account id in oracle register transaction */
507
+ accountId?: number;
508
+ }
509
+ /** The oracle response transactions count */
510
+ export interface Paths1U2Ve7RV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleResponseTx {
511
+ /** The number of times the account was oracle id in oracle response transaction */
512
+ oracleId?: number;
513
+ }
514
+ /** The paying for transactions count */
515
+ export interface Paths1N757S0V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesPayingForTx {
516
+ /** The number of times the account was payer id in paying for transaction */
517
+ payerId?: number;
518
+ }
519
+ /** The spend transactions count */
520
+ export interface Paths11Bqs5V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesSpendTx {
521
+ /** The number of times the account was sender id in spend transaction */
522
+ senderId?: number;
523
+ /** The number of times the account was recipient id in spend transaction */
524
+ recipientId?: number;
525
+ }
526
+ /** The channel offchain transactions count */
527
+ export interface Paths4Pjk8DV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelOffchainTx {
528
+ /** The number of times the account was channel id in channel offchain transaction */
529
+ channelId?: number;
29
530
  }
30
531
  /** Response Schema for AEX141 contract */
31
532
  export interface Aex141Response {
32
533
  /** Metadata base url */
33
534
  baseUrl: string;
34
535
  /** NFT contract id */
35
- contractId: string;
36
- /** Transaction that created the contract */
37
- contractTxi: string;
536
+ contractId: `ct_${string}`;
537
+ /** Transaction hash of the contract creation */
538
+ contractTxHash: `th_${string}`;
38
539
  /** Extensions implemented by the contract */
39
540
  extensions: string[];
40
541
  /** Limit for amount of tokens or templates */
41
542
  limits: Record<string, unknown>;
42
- }
43
- export interface PathsAxw0PwV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchemaAllof0 {
44
- data?: Aex141OwnedTokenResponse[];
45
- }
46
- /** Response Schema for owners of AEX-141 tokens */
47
- export interface Aex141OwnedTokenResponse {
48
- /** Account id */
49
- accountId: string;
50
- /** NFT contract id */
51
- contractId: string;
52
- /** Non-fungible token id */
53
- tokenId: number;
54
- }
55
- export interface PathsN3Ru7DV2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchemaAllof0 {
56
- data?: Aex141OwnedTokenResponse[];
57
- }
58
- export interface PathsRa6Pv6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchemaAllof0 {
59
- data?: Aex141TemplatesResponse[];
543
+ /** True if the contract is invalid */
544
+ invalid: boolean;
545
+ creationTime: Date;
546
+ /** Block height of the contract creation */
547
+ blockHeight: number;
60
548
  }
61
549
  /** Response Schema for templates of a AEX-141 contract */
62
550
  export interface Aex141TemplatesResponse {
63
551
  /** NFT contract id */
64
- contractId: string;
552
+ contractId: `ct_${string}`;
65
553
  /** Template edition details */
66
554
  edition?: Record<string, unknown>;
67
555
  /** Log index of the TemplateCreation */
@@ -69,547 +557,670 @@ export interface Aex141TemplatesResponse {
69
557
  /** Template id of AEX-141 tokens */
70
558
  templateId: number;
71
559
  /** Transaction hash of the TemplateCreation */
72
- txHash: string;
73
- }
74
- export interface Paths19B9O7TV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchemaAllof0 {
75
- data?: Aex141TemplateTokensResponse[];
560
+ txHash: `th_${string}`;
76
561
  }
77
562
  /** Response Schema for template tokens of a AEX-141 contract */
78
563
  export interface Aex141TemplateTokensResponse {
564
+ /** Owner wallet address */
565
+ ownerId: `ak_${string}`;
79
566
  /** Mint event index */
80
567
  logIdx: number;
81
- /** Owner wallet address */
82
- ownerId: string;
83
568
  /** NFT id */
84
569
  tokenId: number;
85
570
  /** Mint transaction hash */
86
- txHash: string;
571
+ txHash: `th_${string}`;
572
+ }
573
+ /** Response schema for AEX-141 token detail */
574
+ export interface Aex141TokenDetailResponse {
575
+ /** NFT contract id */
576
+ contractId: `ct_${string}`;
577
+ /** Account address */
578
+ ownerId: `ak_${string}`;
579
+ /** Non-fungible token id */
580
+ tokenId: number;
581
+ /** The metadata associated to this NFT */
582
+ metadata: Record<string, unknown>;
87
583
  }
88
- export interface Paths1Fe570RV2Aex9GetResponses200ContentApplicationJsonSchemaAllof0 {
89
- data?: Aex9Response[];
584
+ /** AEx141 Transfer */
585
+ export interface Aex141TransferEvent {
586
+ blockHeight: number;
587
+ /** Contract address */
588
+ contractId: `ct_${string}`;
589
+ logIdx: number;
590
+ microIndex: number;
591
+ microTime: Date;
592
+ /** Account address */
593
+ recipient: `ak_${string}`;
594
+ /** Account address */
595
+ sender: `ak_${string}`;
596
+ tokenId: number;
597
+ /** Transaction hash */
598
+ txHash: `th_${string}`;
90
599
  }
91
600
  /** Response Schema for AEX9 contract */
92
601
  export interface Aex9Response {
93
602
  /** Id of the contract of the AEX9 tokens */
94
- contractId: string;
95
- /** Index of transaction that created the contract */
96
- contractTxi: number;
603
+ contractId: `ct_${string}`;
604
+ /** Transaction hash of the contract creation */
605
+ contractTxHash: `th_${string}`;
606
+ /** Token supply right after contract's creation */
607
+ initialSupply: bigint;
608
+ /** Token supply updated on event basis (Mint, Burn, Swap) */
609
+ eventSupply: bigint;
97
610
  /** The number of decimals for AEX9 token */
98
611
  decimals: number;
99
- /** Token supply updated on event basis (Mint, Burn, Swap) */
100
- eventSupply: number;
101
- /** Extensions implemnted by the contract */
612
+ /** Extensions implemented by the contract */
102
613
  extensions?: string[];
103
614
  /** Count of accounts having balance (nil when contract is not complaint) */
104
615
  holders: number;
105
- /** Token supply right after contract's creation */
106
- initialSupply: number;
107
616
  /** Name of AEX9 token */
108
617
  name: string;
109
618
  /** Symbol of AEX9 token */
110
619
  symbol: string;
620
+ /** True if the contract is invalid */
621
+ invalid: boolean;
111
622
  }
112
- export interface PathsO9MbpkV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchemaAllof1 {
113
- data?: Aex9BalanceResponse[];
114
- }
115
- /** Response Schema for AEX9 balance responses */
116
- export interface Aex9BalanceResponse {
117
- /** Amount of AEX9 token */
118
- amount: number;
119
- /** Block hash, indicating a state of a balance for that block */
120
- blockHash: number;
121
- /** Contract id of AEX9 token */
122
- contractId: string;
123
- /** Number of decimals of AEX9 token */
124
- decimals: number;
125
- /** Block height, indicating a state of a balance for that block height */
126
- height: number;
127
- /** Name of AEX9 token */
128
- tokenName: string;
129
- /** Symbol of AEX9 token */
130
- tokenSymbol: string;
131
- /** Transaction hash, indicating a state of a balance for that block height */
132
- txHash: string;
133
- /** Transaction index, indicating a state of a balance for that block height */
134
- txIndex: number;
135
- /** Transaction type, indicating a state of a balance for that block height */
136
- txType: string;
137
- }
138
- export interface PathsY2JwfkV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchemaAllof0 {
139
- data?: Aex9TransferResponse[];
140
- }
141
- /** Response Schema for AEX9 transfer responses */
142
- export interface Aex9TransferResponse {
143
- /** Transfer amount of AEX9 token */
144
- amount: number;
145
- /** The block height */
146
- blockHeight: number;
147
- /** AEX9 token transfer index */
148
- callTxi: number;
149
- /** Contract identifier */
150
- contractId: string;
151
- /** Log index */
152
- logIdx: number;
153
- /** The unix timestamp */
154
- microTime: number;
155
- /** Recipient of AEX9 transfer */
156
- recipient: string;
157
- /** Sender of AEX9 transfer */
158
- sender: string;
159
- }
160
- export interface Paths5U7W2V2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchemaAllof0 {
161
- data?: Aex9TransferResponse[];
162
- }
163
- export interface Paths12TleqhV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchemaAllof0 {
164
- data?: Aex9TransferResponse[];
165
- }
166
- export interface Paths1C2B0UpV2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchemaAllof0 {
167
- data?: Aex9ContractBalanceResponse[];
623
+ export interface Paths19IxhsmV3Aex9CountGetResponses200ContentApplicationJsonSchema {
624
+ data: number;
168
625
  }
169
626
  /** Response Schema for AEX9 contract balances responses */
170
627
  export interface Aex9ContractBalanceResponse {
171
628
  /** The wallet pubkey */
172
- accountId: string;
629
+ accountId: `ak_${string}`;
173
630
  /** The balance amount */
174
- amount: number;
631
+ amount: bigint;
175
632
  /** The block hash, indicating a state of a balance for that block */
176
633
  blockHash: number;
177
634
  /** The contract id of given token */
178
635
  contractId: number;
179
636
  /** The block height, indicating a state of a balance for that block height */
180
637
  height: number;
638
+ /** The hash of the last transaction that changed the balance */
639
+ lastTxHash: `th_${string}`;
181
640
  /** The index of the event log that changed the balance */
182
641
  lastLogIdx: number;
183
- /** The hash of the last transaction that changed the balance */
184
- lastTxHash: string;
185
642
  }
186
- export interface PathsBelvp6V2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchemaAllof0 {
643
+ export interface PathsKr825V3Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema {
187
644
  /** The account present on a AEX9 */
188
- account?: string;
645
+ account: `ak_${string}`;
189
646
  /** The amount of AEX9 token */
190
- amount?: number;
647
+ amount: bigint;
191
648
  /** The contract id of given token */
192
- contract?: string;
649
+ contract: `ct_${string}`;
193
650
  }
194
- export interface Paths11X7LpcV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchemaAllof0 {
651
+ export interface Get200ApplicationJsonAllOfPropertiesItemsItem {
195
652
  /** The account present on a AEX9 */
196
- account?: string;
653
+ account: `ak_${string}`;
197
654
  /** The amount of AEX9 token */
198
- amount?: number;
655
+ amount: bigint;
199
656
  /** The contract id of given token */
200
- contract?: string;
657
+ contract: `ct_${string}`;
201
658
  /** The block height, indicating a state of a balance for that block height */
202
- height?: number;
203
- }
204
- export interface Paths5LeqfqV2BlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
205
- data?: Block[];
206
- }
207
- /** Key Block */
208
- export interface Block {
209
- /** The beneficiary */
210
- beneficiary?: string;
211
- /** The block hash */
212
- hash?: string;
213
- /** The block height */
214
- height?: number;
215
- /** The info */
216
- info?: string;
217
- /** The miner public key */
218
- miner?: string;
219
- /** The nonce */
220
- nonce?: string;
221
- /** The pow */
222
- pow?: number[];
223
- /** The previous block hash */
224
- prevHash?: string;
225
- /** The previous key block hash */
226
- prevKeyHash?: string;
227
- /** The state hash */
228
- stateHash?: string;
229
- /** The target */
230
- target?: number;
231
- /** The time */
232
- time?: number;
233
- /** The version */
234
- version?: number;
235
- }
236
- /** Resource not found on the API */
237
- export interface NotFoundResponse {
238
- /** The message of the error raised */
239
- error: string;
240
- }
241
- export interface PathsC25EgV2ChannelsGetResponses200ContentApplicationJsonSchemaAllof0 {
242
- data?: Channel[];
659
+ height: number;
243
660
  }
244
661
  export interface Channel {
662
+ /** Channel is active */
663
+ active: boolean;
245
664
  /** Balance currently left in the channel */
246
- amount?: number;
247
- /** Channel pubkey */
248
- channel?: string;
665
+ amount: bigint;
666
+ /** Channel ID */
667
+ channel: `ch_${string}`;
249
668
  /** Minimum amount for sufficient funds */
250
- channelReserve?: number;
669
+ channelReserve: bigint;
251
670
  /** Pubkeys of delegated accounts */
252
- delegateIds?: Record<string, unknown>;
671
+ delegateIds: Record<string, unknown>;
253
672
  /** Channel initiator pubkey */
254
- initiator?: string;
673
+ initiator: `ak_${string}`;
255
674
  /** Amount owned by initiator */
256
- initiatorAmount?: number;
675
+ initiatorAmount: bigint;
257
676
  /** The last height in which the channel was updated on chain */
258
- lastUpdatedHeight?: string;
259
- /** The block time in which the channel was last updated */
260
- lastUpdatedTime?: number;
677
+ lastUpdatedHeight: number;
261
678
  /** The transaction type of the last transaction that updated the channel */
262
- lastUpdatedTxType?: string;
679
+ lastUpdatedTxType: string;
680
+ lastUpdatedTime: Date;
681
+ /** The hash of the last transaction that updated the channel */
682
+ lastUpdatedTxHash: `th_${string}`;
263
683
  /** Amount of heights locked after a solo closing */
264
- lockPeriod?: number;
684
+ lockPeriod: number;
265
685
  /** Non-inclusive height until which the channel is locked */
266
- lockedUntil?: number;
686
+ lockedUntil: number;
267
687
  /** The channel responder pubkey */
268
- responder?: string;
688
+ responder: `ak_${string}`;
269
689
  /** Amount owned by responder */
270
- responderAmount?: number;
690
+ responderAmount: bigint;
271
691
  /** Round after last transaction */
272
- round?: number;
692
+ round: number;
273
693
  /** Round of last solo transaction */
274
- soloRound?: number;
694
+ soloRound: number;
275
695
  /** The hash of the current channel state */
276
- stateHash?: string;
696
+ stateHash: `st_${string}`;
277
697
  /** The amount of times the channel's been updated by any of the channel transactions */
278
- updatesCount?: string;
279
- }
280
- export interface Paths1Csrt0IV2ContractsCallsGetResponses200ContentApplicationJsonSchemaAllof0 {
281
- data?: ContractCall[];
698
+ updatesCount: number;
282
699
  }
283
700
  /** ContractCall */
284
701
  export interface ContractCall {
285
- blockHash?: string;
286
- callTxHash?: string;
287
- callTxi?: number;
288
- contractId?: string;
289
- contractTxi?: number;
290
- function?: string;
291
- height?: number;
702
+ /** Micro block hash */
703
+ blockHash: `mh_${string}`;
704
+ /** Transaction hash */
705
+ callTxHash: `th_${string}`;
706
+ /** Contract address */
707
+ contractId: `ct_${string}`;
708
+ /** Transaction hash */
709
+ contractTxHash: `th_${string}`;
710
+ function: string;
711
+ height: number;
292
712
  /** Any object */
293
- internalTx?: Record<string, unknown>;
294
- localIdx?: number;
295
- microIndex?: number;
296
- }
297
- export interface Paths9Ya94MV2ContractsLogsGetResponses200ContentApplicationJsonSchemaAllof0 {
298
- data?: ContractLog[];
713
+ internalTx: Record<string, unknown>;
714
+ localIdx: number;
715
+ microIndex: number;
299
716
  }
300
717
  /** ContractLog */
301
718
  export interface ContractLog {
302
- args?: number[];
303
- blockHash?: string;
304
- callTxHash?: string;
305
- callTxi?: number;
306
- contractId?: string;
307
- contractTxi?: number;
308
- data?: string;
309
- eventHash?: string;
310
- extCallerContractId?: string;
311
- extCallerContractTxi?: number;
312
- height?: number;
313
- logIdx?: number;
314
- microIndex?: number;
315
- parentContractId?: number;
719
+ args: string[];
720
+ /** Micro block hash */
721
+ blockHash: `mh_${string}`;
722
+ blockTime: Date;
723
+ /** Transaction hash */
724
+ callTxHash: `th_${string}`;
725
+ /** Contract address */
726
+ contractId: `ct_${string}`;
727
+ /** Transaction hash */
728
+ contractTxHash: `th_${string}`;
729
+ data: string;
730
+ eventHash: string;
731
+ eventName: string | null;
732
+ /** Contract address */
733
+ extCallerContractId: `ct_${string}` | null;
734
+ /** Transaction hash */
735
+ extCallerContractTxHash: `th_${string}` | null;
736
+ height: number;
737
+ logIdx: number;
738
+ microIndex: number;
739
+ parentContractId: number | null;
316
740
  }
317
741
  /** Contract creation info */
318
742
  export interface Contract {
319
- aexnType?: string;
320
- blockHash?: string;
321
- /** Any object */
322
- createTx?: Record<string, unknown>;
323
- sourceTxHash?: string;
324
- sourceTxType?: string;
325
- }
326
- export interface PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0 {
327
- data?: DeltaStat[];
328
- }
329
- /** DeltaStat */
330
- export interface DeltaStat {
331
- /** The number of auctions started */
332
- auctionsStarted?: number;
333
- /** The block reward */
334
- blockReward?: number;
335
- /** The number of contracts created */
336
- contractsCreated?: number;
337
- /** The dev reward */
338
- devReward?: number;
339
- /** The generation */
340
- height?: number;
341
- /** The last transaction hash for this height */
342
- lastTxHash?: string;
343
- /** The number of names activated */
344
- namesActivated?: number;
345
- /** The number of names expired */
346
- namesExpired?: number;
347
- /** The number of names revoked */
348
- namesRevoked?: number;
349
- /** The number of oracles expired */
350
- oraclesExpired?: number;
351
- /** The number of oracles registered */
352
- oraclesRegistered?: number;
743
+ aexnType: string | null;
744
+ /** Micro block hash */
745
+ blockHash: `mh_${string}`;
746
+ /** Contract address */
747
+ contract: `ct_${string}`;
748
+ /** Transaction hash */
749
+ sourceTxHash: `th_${string}`;
750
+ sourceTxType: string;
751
+ createTx: ContractCreateTx;
353
752
  }
354
- export interface Paths10TrrshV2KeyBlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
355
- data?: KeyBlock[];
753
+ export interface ContractCreateTx {
754
+ /** Base58Check encoded tagged pubkey */
755
+ ownerId: string;
756
+ nonce?: number;
757
+ /** Base64Check encoded tagged byte array */
758
+ code: string;
759
+ vmVersion: number;
760
+ abiVersion: number;
761
+ deposit: bigint;
762
+ amount: bigint;
763
+ gas: number;
764
+ gasPrice: bigint;
765
+ fee: bigint;
766
+ ttl?: number;
767
+ /** Base64Check encoded tagged byte array */
768
+ callData: string;
769
+ }
770
+ /** Epoch information */
771
+ export interface EpochInfo {
772
+ epoch: number;
773
+ first: number;
774
+ last: number;
775
+ length: number;
776
+ seed: string;
777
+ lastPinHeight: number;
778
+ parentBlockHash: string;
779
+ lastLeader: string;
780
+ epochStartTime: number;
781
+ validators: EpochInfoValidatorsItem[];
782
+ }
783
+ export interface EpochInfoValidatorsItem {
784
+ validator?: string;
785
+ stake?: number;
786
+ }
787
+ /** Schedule information */
788
+ export interface Schedule {
789
+ height: number;
790
+ leader: string;
791
+ }
792
+ /** Validator information */
793
+ export interface Validator {
794
+ epoch: number;
795
+ validator: string;
796
+ totalStakes: number;
797
+ delegates: number;
798
+ rewardsEarned: number;
799
+ /** Dictionary of <integer> */
800
+ pinningHistory: {
801
+ [propertyName: string]: number;
802
+ };
803
+ }
804
+ /** Delegate information */
805
+ export interface Delegate {
806
+ epoch: number;
807
+ delegate: string;
808
+ stake: number;
809
+ validator: string;
356
810
  }
357
- /** Key Block */
358
811
  export interface KeyBlock {
359
- /** The beneficiary */
360
- beneficiary?: string;
361
- /** The block hash */
362
- hash?: string;
363
- /** The block height */
364
- height?: number;
365
- /** The info */
366
- info?: string;
367
- /** The miner public key */
368
- miner?: string;
369
- /** The nonce */
370
- nonce?: string;
371
- /** The pow */
812
+ /** Base58Check encoded tagged hash */
813
+ hash: string;
814
+ height: number;
815
+ /** Base58Check encoded tagged hash */
816
+ prevHash: string;
817
+ /** Base58Check encoded tagged hash */
818
+ prevKeyHash: string;
819
+ /** Base58Check encoded tagged hash */
820
+ stateHash: string;
821
+ /** Base58Check encoded tagged pubkey */
822
+ miner: string;
823
+ /** Base58Check encoded tagged pubkey */
824
+ beneficiary: string;
825
+ target: number;
372
826
  pow?: number[];
373
- /** The previous block hash */
374
- prevHash?: string;
375
- /** The previous key block hash */
376
- prevKeyHash?: string;
377
- /** The state hash */
378
- stateHash?: string;
379
- /** The target */
380
- target?: number;
381
- /** The time */
382
- time?: number;
383
- /** The version */
384
- version?: number;
385
- }
386
- export interface Paths7Hfka2V2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
387
- data?: MicroBlock[];
388
- }
389
- /** MicroBlock */
390
- export interface MicroBlock {
391
- /** The micro block hash */
392
- hash?: string;
393
- /** The block height */
394
- height?: number;
395
- /** The index of the micro-block on the micro-block height, starting from 0 */
396
- microBlockIndex?: number;
397
- /** The pow */
398
- pofHash?: number[];
399
- /** The previous block hash */
400
- prevHash?: string;
401
- /** The previous key block hash */
402
- prevKeyHash?: string;
403
- /** The state hash */
404
- stateHash?: string;
405
- /** The time */
406
- time?: number;
407
- /** The number of transactions */
408
- transactionsCount?: number;
409
- /** The version */
410
- version?: number;
411
- }
412
- export interface Paths1RxrrvbV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchemaAllof0 {
413
- data?: Tx[];
827
+ nonce?: number;
828
+ time: Date;
829
+ version: number;
830
+ /** Base64Check encoded tagged byte array */
831
+ info: string;
832
+ }
833
+ export interface MicroBlockHeader {
834
+ /** Base58Check encoded tagged hash */
835
+ hash: string;
836
+ height: number;
837
+ /** Base58Check encoded tagged hash */
838
+ pofHash: string;
839
+ /** Base58Check encoded tagged hash */
840
+ prevHash: string;
841
+ /** Base58Check encoded tagged hash */
842
+ prevKeyHash: string;
843
+ /** Base58Check encoded tagged hash */
844
+ stateHash: string;
845
+ /** Base58Check encoded tagged hash */
846
+ txsHash: string;
847
+ /** Base58Check encoded tagged value */
848
+ signature: string;
849
+ time: Date;
850
+ version: number;
414
851
  }
415
852
  /** Transaction */
416
- export interface Tx {
417
- /** The block hash */
418
- blockHash?: string;
853
+ export interface Transaction {
854
+ /** Micro block hash */
855
+ blockHash: `mh_${string}`;
419
856
  /** The block height */
420
- blockHeight?: number;
421
- /** The transaction hash */
422
- hash?: string;
857
+ blockHeight: number;
858
+ /** Encoded transaction */
859
+ encodedTx: `tx_${string}`;
860
+ /** Transaction hash */
861
+ hash: `th_${string}`;
423
862
  /** The micro block index */
424
- microIndex?: number;
425
- /** The unix timestamp */
426
- microTime?: number;
863
+ microIndex: number;
864
+ microTime: Date;
427
865
  /** The signatures */
428
- signatures?: string[];
866
+ signatures: string[];
429
867
  /** The transaction */
430
- tx?: Record<string, unknown>;
431
- /** The transaction index */
432
- txIndex?: number;
433
- }
434
- export interface Paths16Srg6EV2NamesGetResponses200ContentApplicationJsonSchemaAllof0 {
435
- data?: Name[];
868
+ tx: Tx;
436
869
  }
437
870
  /** Name */
438
871
  export interface Name {
439
- active?: boolean;
440
- hash?: string;
441
- info?: NameInfo;
442
- previous?: Name[];
443
- status?: NameStatus;
444
- }
445
- export interface NameInfo {
446
- activationTime?: number;
447
- activeFrom?: number;
448
- claims?: number[];
449
- expireHeight?: number;
450
- ownership?: NameInfoOwnership;
451
- pointers?: NameInfoPointers;
452
- transfers?: number[];
453
- updates?: string;
454
- }
455
- export interface NameInfoOwnership {
456
- current?: string;
457
- original?: string;
458
- }
459
- export interface NameInfoPointers {
460
- accountPubkey?: string;
872
+ active: boolean;
873
+ /** AENS name hash */
874
+ hash: `nm_${string}`;
875
+ activeFrom: number;
876
+ approximateActivationTime: Date;
877
+ approximateExpireTime: Date;
878
+ expireHeight: number;
879
+ pointers: NamePointer[];
880
+ /** Auction */
881
+ auction: Auction | null;
882
+ auctionTimeout: number;
883
+ ownership: NameOwnership;
884
+ /** AENS name */
885
+ name: `${string}.chain`;
886
+ nameFee: bigint;
887
+ revoke: NameTx | null;
888
+ claimsCount?: number;
461
889
  }
462
890
  /** Auction */
463
891
  export interface Auction {
464
- active?: boolean;
465
- info?: AuctionInfo;
466
- }
467
- export interface AuctionInfo {
468
- auctionEnd?: number;
469
- bids?: number[];
470
- lastBid?: AuctionInfoLastBid;
471
- name?: string;
472
- /** Auction */
473
- previous?: Auction;
474
- status?: AuctionInfoStatus;
475
- txIndex?: number;
476
- }
477
- export interface AuctionInfoLastBid {
478
- blockHash?: string;
479
- blockHeight?: number;
480
- hash?: string;
481
- microIndex?: number;
482
- microTime?: number;
483
- signatures?: string[];
484
- /** Any object */
485
- tx?: Record<string, unknown>;
486
- }
487
- export interface Paths1I6PwfdV2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0 {
488
- data?: Get200ApplicationJsonAllOfPropertiesItemsItem[];
489
- }
490
- export interface Paths7P6Qc1V2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0PropertiesDataItemsAllof1 {
491
- status?: Get200ApplicationJsonAllOfPropertiesItems1Status;
892
+ auctionEnd: number;
893
+ activationTime: Date;
894
+ approximateExpireTime: Date;
895
+ lastBid: AuctionLastBid;
896
+ /** AENS name */
897
+ name: `${string}.chain`;
898
+ nameFee: bigint;
899
+ claimsCount: number;
900
+ }
901
+ export interface AuctionLastBid {
902
+ /** Micro block hash */
903
+ blockHash: `mh_${string}`;
904
+ blockHeight: number;
905
+ /** Encoded transaction */
906
+ encodedTx: `tx_${string}`;
907
+ /** Transaction hash */
908
+ hash: `th_${string}`;
909
+ microIndex: number;
910
+ microTime: Date;
911
+ signatures: string[];
912
+ tx: AuctionLastBidTx;
913
+ }
914
+ export interface Components17W16A5SchemasAuctionPropertiesLastBidPropertiesTxAllof1 {
915
+ /** AENS name hash */
916
+ nameId: `nm_${string}`;
917
+ type: string;
918
+ version: number;
919
+ }
920
+ export interface NameOwnership {
921
+ /** Account address */
922
+ current?: `ak_${string}`;
923
+ /** Account address */
924
+ original?: `ak_${string}`;
925
+ }
926
+ export interface NameTx {
927
+ /** Micro block hash */
928
+ blockHash: `mh_${string}`;
929
+ blockHeight: number;
930
+ /** Transaction hash */
931
+ hash: `th_${string}`;
932
+ microIndex: number;
933
+ microTime: Date;
934
+ signatures: string[];
935
+ tx: NameTxTx;
936
+ }
937
+ export interface NameRevokeTx {
938
+ /** Base58Check encoded tagged value */
939
+ nameId: string;
940
+ fee: bigint;
941
+ ttl?: number;
942
+ /** Base58Check encoded tagged pubkey */
943
+ accountId: string;
944
+ nonce?: number;
492
945
  }
493
- /** Name Claim */
494
- export interface NameClaim {
495
- blockHash?: string;
496
- height?: number;
497
- /** Any object */
498
- tx?: Record<string, unknown>;
946
+ export interface Components171VsjiSchemasNametxPropertiesTxAllof1 {
947
+ type: string;
948
+ version: number;
499
949
  }
500
- export interface PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema {
501
- /** Any object */
502
- active?: Record<string, unknown>;
503
- /** Any object */
504
- inactive?: Record<string, unknown>;
950
+ export interface PathsCrb9BgV3NamesAuctionsIdClaimsGetResponses200ContentApplicationJsonSchema {
951
+ data: NameClaim[];
505
952
  }
506
953
  /** Name Transfer */
507
954
  export interface NameTransfer {
508
- blockHash?: string;
509
- height?: number;
510
- /** Any object */
511
- tx?: Record<string, unknown>;
955
+ activeFrom: number;
956
+ /** Micro block hash */
957
+ blockHash: `mh_${string}`;
958
+ height: number;
959
+ /** Transaction hash */
960
+ sourceTxHash: `th_${string}`;
961
+ sourceTxType: string;
962
+ tx: NameTransferTx;
963
+ internalSource?: boolean;
964
+ }
965
+ export interface NameTransferTx {
966
+ /** Base58Check encoded tagged value */
967
+ nameId: string;
968
+ /** Base58Check encoded tagged pubkey */
969
+ recipientId: string;
970
+ fee: bigint;
971
+ ttl?: number;
972
+ /** Base58Check encoded tagged pubkey */
973
+ accountId: string;
974
+ nonce?: number;
512
975
  }
513
976
  /** Name Update */
514
977
  export interface NameUpdate {
515
- blockHash?: string;
516
- height?: number;
517
- /** Any object */
518
- tx?: Record<string, unknown>;
519
- }
520
- export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
521
- data?: Oracle[];
978
+ activeFrom: number;
979
+ /** Micro block hash */
980
+ blockHash: `mh_${string}`;
981
+ height: number;
982
+ /** Transaction hash */
983
+ sourceTxHash: `th_${string}`;
984
+ sourceTxType: string;
985
+ tx: NameUpdateTx;
986
+ internalSource?: boolean;
522
987
  }
523
988
  export interface Oracle {
524
989
  /** The oracle active status */
525
990
  active: boolean;
526
991
  /** The block height when the oracle became active */
527
992
  activeFrom: number;
993
+ approximateExpireTime: Date;
528
994
  /** The block height when the oracle expires */
529
995
  expireHeight: number;
530
- /** The tx indexes when the oracle has been extended */
531
- extends: OracleExtendsItem[];
532
- /** The oracle id */
533
- oracle: string;
996
+ registerTime: Date;
997
+ /** The transaction hash in which the oracle was registered, use `register.hash` instead */
998
+ registerTxHash: `th_${string}`;
999
+ /** The oracle's query and response formats */
1000
+ format: OracleFormat;
1001
+ /** Oracle address */
1002
+ oracle: `ok_${string}`;
534
1003
  /** The query fee */
535
- queryFee: number;
536
- /** The tx index when the oracle is registered */
537
- register: number;
538
- /** The block time in which the oracle was registered */
539
- registerTime?: number;
1004
+ queryFee: bigint;
1005
+ register: OracleTx;
540
1006
  }
541
1007
  /** The oracle's query and response formats */
542
- export interface OracleExtendsItem {
1008
+ export interface OracleFormat {
543
1009
  /** The query format */
544
1010
  query: string;
545
1011
  /** The response format */
546
1012
  response: string;
547
1013
  }
548
- export interface Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0 {
549
- data?: OracleQuery[];
1014
+ export interface OracleTx {
1015
+ /** Micro block hash */
1016
+ blockHash: `mh_${string}`;
1017
+ blockHeight: number;
1018
+ /** Transaction hash */
1019
+ hash: `th_${string}`;
1020
+ microIndex: number;
1021
+ microTime: Date;
1022
+ signatures: string[];
1023
+ /** Encoded transaction */
1024
+ encodedTx: `tx_${string}`;
1025
+ tx: OracleTxTx;
1026
+ }
1027
+ export interface OracleRegisterTx {
1028
+ queryFormat: string;
1029
+ responseFormat: string;
1030
+ queryFee: bigint;
1031
+ oracleTtl: Ttl;
1032
+ /** Base58Check encoded tagged pubkey */
1033
+ accountId: string;
1034
+ nonce?: number;
1035
+ fee: bigint;
1036
+ ttl?: number;
1037
+ abiVersion?: number;
1038
+ }
1039
+ export interface Components1Viuqa3SchemasOracletxPropertiesTxAllof1 {
1040
+ /** use `account_id` instead */
1041
+ oracleId: `ok_${string}`;
1042
+ type: string;
1043
+ version: number;
1044
+ /** use the outer `hash` instead */
1045
+ txHash: `th_${string}`;
1046
+ }
1047
+ export interface OracleExtend {
1048
+ /** The hash of the block in which it occurred */
1049
+ blockHash: `mh_${string}`;
1050
+ /** The block height */
1051
+ height: number;
1052
+ /** The hash of the transaction in which the extend was done */
1053
+ sourceTxHash: `th_${string}`;
1054
+ /** The type of the transaction in which the extend was done, it can be either via a contract call or an extend transaction */
1055
+ sourceTxType: string;
1056
+ tx: OracleExtendTx;
1057
+ }
1058
+ export interface OracleExtendTx {
1059
+ fee: bigint;
1060
+ oracleTtl: RelativeTTL;
1061
+ /** Base58Check encoded tagged pubkey */
1062
+ oracleId: string;
1063
+ nonce?: number;
1064
+ ttl?: number;
550
1065
  }
551
1066
  export interface OracleQuery {
552
- /** The hash of the block in which it ocurred */
553
- blockHash: string;
554
- /** The time of the block */
555
- blockTime: number;
556
- /** The transaction fee */
557
- fee: number;
1067
+ /** The hash of the block in which it occurred */
1068
+ blockHash: `mh_${string}`;
1069
+ blockTime: Date;
558
1070
  /** The block height */
559
1071
  height: number;
1072
+ /** Oracle query ID */
1073
+ queryId: `oq_${string}`;
1074
+ response?: OracleResponse;
1075
+ /** The hash of the transaction in which the query was created */
1076
+ sourceTxHash: `th_${string}`;
1077
+ /** The type of the transaction in which the query was created, it can be either via a contract call or a query transaction */
1078
+ sourceTxType: string;
1079
+ /** The transaction fee */
1080
+ fee: bigint;
560
1081
  /** The nonce */
561
1082
  nonce: number;
562
1083
  /** The oracle ID of this query */
563
- oracleId: string;
1084
+ oracleId: `ok_${string}`;
564
1085
  /** Base64 encoding of the query */
565
1086
  query: string;
566
1087
  /** The query fee */
567
- queryFee: number;
568
- /** The query ID */
569
- queryId: string;
1088
+ queryFee: bigint;
570
1089
  /** Expiration of the query */
571
1090
  queryTtl: Record<string, unknown>;
572
- response?: OracleResponse;
573
1091
  /** Expiration of the response */
574
1092
  responseTtl: Record<string, unknown>;
575
1093
  /** The creator of the query */
576
- senderId: string;
577
- /** The hash of the transaction in which the query was created */
578
- sourceTxHash: string;
579
- /** The type of the transaction in which the query was created, it can be either via a contract call or a query transaction */
580
- sourceTxType: string;
1094
+ senderId: `ak_${string}`;
581
1095
  /** Transaction TTL */
582
1096
  ttl: number;
583
1097
  }
584
1098
  export interface OracleResponse {
585
- /** The hash of the block in which it ocurred */
586
- blockHash: string;
587
- /** The time of the block */
588
- blockTime: number;
589
- /** The transaction fee */
590
- fee: number;
1099
+ /** The hash of the block in which it occurred */
1100
+ blockHash: `mh_${string}`;
1101
+ blockTime: Date;
591
1102
  /** The block height */
592
1103
  height: number;
1104
+ /** Oracle query ID */
1105
+ queryId: `oq_${string}`;
1106
+ query: OracleQuery;
1107
+ /** The hash of the transaction in which the response was created */
1108
+ sourceTxHash: `th_${string}`;
1109
+ /** The type of the transaction in which the response was created, it can be either via a contract call or a respond transaction */
1110
+ sourceTxType: string;
1111
+ /** The transaction fee */
1112
+ fee: bigint;
593
1113
  /** The nonce */
594
1114
  nonce: number;
595
1115
  /** The oracle ID of this response */
596
- oracleId: string;
597
- query?: OracleResponse;
598
- /** The query ID */
599
- queryId: string;
1116
+ oracleId: `ok_${string}`;
600
1117
  /** Base64 encoding of the response */
601
1118
  response: string;
602
1119
  /** Expiration of the response */
603
1120
  responseTtl: Record<string, unknown>;
604
- /** The hash of the transaction in which the response was created */
605
- sourceTxHash: string;
606
- /** The type of the transaction in which the response was created, it can be either via a contract call or a respond transaction */
607
- sourceTxType: string;
608
1121
  /** Transaction TTL */
609
1122
  ttl: number;
610
1123
  }
611
- export interface Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0 {
612
- data?: OracleResponse[];
1124
+ /** Stats */
1125
+ export interface Stats {
1126
+ /** The number of miners */
1127
+ minersCount?: number;
1128
+ /** The fees trend */
1129
+ feesTrend?: number;
1130
+ /** The last 24hs average transaction fees */
1131
+ last24HsAverageTransactionFees?: number;
1132
+ /** The last 24hs transactions */
1133
+ last24HsTransactions?: number;
1134
+ /** The max transactions per second */
1135
+ maxTransactionsPerSecond?: number;
1136
+ /** The max transactions per second block hash */
1137
+ maxTransactionsPerSecondBlockHash?: `kh_${string}`;
1138
+ /** The transactions trend */
1139
+ transactionsTrend?: number;
1140
+ }
1141
+ /** Stat */
1142
+ export interface Stat {
1143
+ /** The statistic count */
1144
+ count: number;
1145
+ /** The statistic start date */
1146
+ startDate: string;
1147
+ /** The statistic end date (not taken into account) */
1148
+ endDate: string;
1149
+ }
1150
+ /** DeltaStat */
1151
+ export interface DeltaStat {
1152
+ /** The generation */
1153
+ height: number;
1154
+ /** The number of auctions started */
1155
+ auctionsStarted: number;
1156
+ /** The block reward */
1157
+ blockReward: bigint;
1158
+ /** The amount burned in auctions */
1159
+ burnedInAuctions: bigint;
1160
+ /** The number of channels closed */
1161
+ channelsClosed: number;
1162
+ /** The number of channels opened */
1163
+ channelsOpened: number;
1164
+ /** The number of contracts created */
1165
+ contractsCreated: number;
1166
+ /** The dev reward */
1167
+ devReward: bigint;
1168
+ /** The number of names activated */
1169
+ namesActivated: number;
1170
+ /** The number of names expired */
1171
+ namesExpired: number;
1172
+ /** The number of names revoked */
1173
+ namesRevoked: number;
1174
+ /** The number of oracles expired */
1175
+ oraclesExpired: number;
1176
+ /** The number of oracles registered */
1177
+ oraclesRegistered: number;
1178
+ /** The last transaction hash for this height */
1179
+ lastTxHash: `th_${string}`;
1180
+ /** The amount locked in auctions */
1181
+ lockedInAuctions: bigint;
1182
+ /** The amount locked in channels */
1183
+ lockedInChannels: bigint;
1184
+ }
1185
+ /** Miner */
1186
+ export interface Miner {
1187
+ /** The miner (beneficiary) address */
1188
+ miner: `ak_${string}`;
1189
+ /** The accumulated reward on the miner (beneficiary) address */
1190
+ totalReward: bigint;
1191
+ }
1192
+ /** TotalStat */
1193
+ export interface TotalStat {
1194
+ /** The generation */
1195
+ height: number;
1196
+ /** The number of contracts */
1197
+ contracts: number;
1198
+ /** The amount locked in auctions */
1199
+ lockedInAuctions: bigint;
1200
+ /** The amount burned in auctions */
1201
+ burnedInAuctions: bigint;
1202
+ /** The amount locked in channels */
1203
+ lockedInChannels: bigint;
1204
+ /** The number of active auctions */
1205
+ activeAuctions: number;
1206
+ /** The number of active names */
1207
+ activeNames: number;
1208
+ /** The number of inactive names */
1209
+ inactiveNames: number;
1210
+ /** The number of active oracles */
1211
+ activeOracles: number;
1212
+ /** The number of inactive oracles */
1213
+ inactiveOracles: number;
1214
+ /** The number of open channels */
1215
+ openChannels: number;
1216
+ /** The sum of block rewards */
1217
+ sumBlockReward: bigint;
1218
+ /** The sum of dev rewards */
1219
+ sumDevReward: bigint;
1220
+ /** The total token supply */
1221
+ totalTokenSupply: bigint;
1222
+ /** The last transaction hash for this height */
1223
+ lastTxHash: `th_${string}`;
613
1224
  }
614
1225
  export interface Status {
615
1226
  mdwAsyncTasks: StatusMdwAsyncTasks;
@@ -645,647 +1256,510 @@ export interface StatusMdwAsyncTasks {
645
1256
  producerBuffer: number;
646
1257
  totalPending: number;
647
1258
  }
648
- export interface PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0 {
649
- data?: TotalStat[];
650
- }
651
- /** TotalStat */
652
- export interface TotalStat {
653
- /** The number of auctions started */
654
- auctionsStarted?: number;
655
- /** The block reward */
656
- blockReward?: number;
657
- /** The number of contracts created */
658
- contractsCreated?: number;
659
- /** The dev reward */
660
- devReward?: number;
661
- /** The generation */
662
- height?: number;
663
- /** The last transaction hash for this height */
664
- lastTxHash?: string;
665
- /** The number of names activated */
666
- namesActivated?: number;
667
- /** The number of names expired */
668
- namesExpired?: number;
669
- /** The number of names revoked */
670
- namesRevoked?: number;
671
- /** The number of oracles expired */
672
- oraclesExpired?: number;
673
- /** The number of oracles registered */
674
- oraclesRegistered?: number;
675
- }
676
- export interface Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0 {
677
- data?: Transfer[];
1259
+ /** Pending Transaction */
1260
+ export interface PendingTransaction {
1261
+ /** The block hash, but since it's pending it's always "none" */
1262
+ blockHash: string;
1263
+ /** The block height, but since it's pending it's always -1 */
1264
+ blockHeight: number;
1265
+ /** Encoded transaction */
1266
+ encodedTx: `tx_${string}`;
1267
+ /** The failures count */
1268
+ failures: number;
1269
+ /** Transaction hash */
1270
+ hash: `th_${string}`;
1271
+ /** The signatures */
1272
+ signatures: string[];
1273
+ /** The transaction */
1274
+ tx: Tx;
678
1275
  }
679
1276
  export interface Transfer {
680
- accountId?: string;
681
- amount?: number;
682
- height?: number;
683
- kind?: TransferKind;
684
- refTxi?: number;
685
- }
686
- export interface Paths1R74KpvV2TxsGetResponses200ContentApplicationJsonSchemaAllof0 {
687
- data?: Tx[];
688
- }
689
- export interface Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema {
690
- /** The channel close mutual txs count */
691
- channelCloseMutualTx?: Record<string, unknown>;
692
- /** The channel close solo txs count */
693
- channelCloseSoloTx?: Record<string, unknown>;
694
- /** The channel create txs count */
695
- channelCreateTx?: Record<string, unknown>;
696
- /** The channel deposit txs count */
697
- channelDepositTx?: Record<string, unknown>;
698
- /** The channel force progress txs count */
699
- channelForceProgressTx?: number;
700
- /** The channel offchain txs count */
701
- channelOffchainTx?: Record<string, unknown>;
702
- /** The channel settle txs count */
703
- channelSettleTx?: Record<string, unknown>;
704
- /** The channel slash txs count */
705
- channelSlashTx?: Record<string, unknown>;
706
- /** The channel snapshot solo txs count */
707
- channelSnapshotSoloTx?: Record<string, unknown>;
708
- /** The channel withdraw txs count */
709
- channelWithdrawTx?: Record<string, unknown>;
710
- /** The contract call txs count */
711
- contractCallTx?: Record<string, unknown>;
712
- /** The contract create txs count */
713
- contractCreateTx?: Record<string, unknown>;
714
- /** The ga attach txs count */
715
- gaAttachTx?: Record<string, unknown>;
716
- /** The ga meta txs count */
717
- gaMetaTx?: Record<string, unknown>;
718
- /** The name claim txs count */
719
- nameClaimTx?: Record<string, unknown>;
720
- /** The name preclaim txs count */
721
- namePreclaimTx?: Record<string, unknown>;
722
- /** The name revoke txs count */
723
- nameRevokeTx?: Record<string, unknown>;
724
- /** The name transfer txs count */
725
- nameTransferTx?: number;
726
- /** The name update txs count */
727
- nameUpdateTx?: Record<string, unknown>;
728
- /** The oracle extend txs count */
729
- oracleExtendTx?: Record<string, unknown>;
730
- /** The oracle query txs count */
731
- oracleQueryTx?: Record<string, unknown>;
732
- /** The oracle register txs count */
733
- oracleRegisterTx?: Record<string, unknown>;
734
- /** The oracle response txs count */
735
- oracleResponseTx?: Record<string, unknown>;
736
- /** The paying for txs count */
737
- payingForTx?: Record<string, unknown>;
738
- /** The spend txs count */
739
- spendTx?: Record<string, unknown>;
740
- }
741
- /** AEx141 Transfer */
742
- export interface Aex141TransferEvent {
743
- blockHeight?: string;
744
- contractId?: string;
745
- logIdx?: number;
746
- microIndex?: number;
747
- microTime?: number;
748
- recipientId?: string;
749
- senderId?: string;
750
- tokenId?: number;
751
- txHash?: string;
1277
+ /** Account address */
1278
+ accountId: `ak_${string}`;
1279
+ amount: bigint;
1280
+ height: number;
1281
+ kind: TransferKind;
1282
+ /** Micro block hash */
1283
+ refBlockHash: `mh_${string}` | null;
1284
+ /** Transaction hash */
1285
+ refTxHash: `th_${string}` | null;
1286
+ refTxType: string | null;
752
1287
  }
753
1288
  /** AEx9 Transfer */
754
1289
  export interface Aex9TransferEvent {
755
- amount?: number;
756
- blockHeight?: number;
757
- contractId?: string;
758
- logIdx?: number;
759
- microIndex?: number;
760
- microTime?: number;
761
- recipientId?: string;
762
- senderId?: string;
763
- txHash?: string;
1290
+ amount: bigint;
1291
+ blockHeight: number;
1292
+ /** Contract address */
1293
+ contractId: `ct_${string}`;
1294
+ logIdx: number;
1295
+ microIndex: number;
1296
+ microTime: Date;
1297
+ /** Account address */
1298
+ recipientId: `ak_${string}`;
1299
+ /** Account address */
1300
+ senderId: `ak_${string}`;
1301
+ /** Transaction hash */
1302
+ txHash: `th_${string}`;
1303
+ }
1304
+ /** Response Schema for AEX9 transfer responses */
1305
+ export interface Aex9TransferResponse {
1306
+ /** Transfer amount of AEX9 token */
1307
+ amount: bigint;
1308
+ /** The block height */
1309
+ blockHeight: number;
1310
+ /** AEX9 token transfer index */
1311
+ callTxi: number;
1312
+ /** Contract address */
1313
+ contractId: `ct_${string}`;
1314
+ /** Log index */
1315
+ logIdx: number;
1316
+ microTime: Date;
1317
+ /** Recipient of AEX9 transfer */
1318
+ recipient: `ak_${string}`;
1319
+ /** Sender of AEX9 transfer */
1320
+ sender: `ak_${string}`;
764
1321
  }
765
1322
  /** Contract call made inside of a contract call or contract create transaction */
766
1323
  export interface InternalContractCallEvent {
767
- /** The micro block hash in which the transaction happened */
768
- blockHash: string;
769
- /** The contract call transaction hash */
770
- callTxHash?: string;
771
- /** The contract pubkey */
772
- contractId: string;
773
1324
  /** The contract creation transaction hash */
774
- contractTxHash: string;
1325
+ contractTxHash: `th_${string}`;
1326
+ /** Contract address */
1327
+ contractId: `ct_${string}`;
1328
+ /** The contract call transaction hash */
1329
+ callTxHash?: `th_${string}`;
775
1330
  /** The name of the function */
776
1331
  function: string;
777
- /** The height in which the internal call happened */
778
- height: number;
779
1332
  /** The transaction object */
780
1333
  internalTx: Record<string, unknown>;
1334
+ /** The height in which the internal call happened */
1335
+ height: number;
781
1336
  /** The micro block index */
782
1337
  microIndex: number;
1338
+ /** The micro block hash in which the transaction happened */
1339
+ blockHash: `mh_${string}`;
783
1340
  }
784
1341
  /** Internal transfer */
785
1342
  export interface InternalTransferEvent {
786
1343
  /** The amount of AE tokens */
787
- amount: number;
1344
+ amount: bigint;
788
1345
  /** The kind of internal transfer */
789
1346
  kind: InternalTransferEventKind;
790
1347
  /** The transaction hash of a transaction related to the internal transfer */
791
- refTxHash: string;
1348
+ refTxHash: `th_${string}`;
792
1349
  }
793
1350
  /** Name claim */
794
1351
  export interface NameClaimEvent {
1352
+ /** The hash of the transaction (either a name claim or a contract call transaction) */
1353
+ txHash: `th_${string}`;
795
1354
  /** The claim transaction (internal or not) */
796
1355
  tx: Record<string, unknown>;
797
- /** The hash of the transaction (either a name claim or a contract call transaction) */
798
- txHash: string;
799
1356
  }
800
- export interface PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema extends Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
801
- }
802
- export interface PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema extends Paths17FlgdkV2Aex141GetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
803
- }
804
- export interface PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema extends PathsAxw0PwV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
805
- }
806
- export interface Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema extends PathsN3Ru7DV2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
807
- }
808
- export interface Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema extends PathsRa6Pv6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
809
- }
810
- export interface PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema extends Paths19B9O7TV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
811
- }
812
- export interface Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema extends Paths1Fe570RV2Aex9GetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
813
- }
814
- export interface Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema extends PaginatedResponse, PathsO9MbpkV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchemaAllof1 {
815
- }
816
- export interface Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema extends PathsY2JwfkV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
817
- }
818
- export interface Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema extends Paths5U7W2V2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
819
- }
820
- export interface Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema extends Paths12TleqhV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
821
- }
822
- export interface PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema extends Paths1C2B0UpV2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
823
- }
824
- export interface Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema extends Paths5LeqfqV2BlocksGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
825
- }
826
- export interface Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema extends PathsC25EgV2ChannelsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
1357
+ export interface SpendTx {
1358
+ /** Base58Check encoded tagged pubkey */
1359
+ recipientId: string;
1360
+ amount: bigint;
1361
+ fee: bigint;
1362
+ ttl?: number;
1363
+ /** Base58Check encoded tagged pubkey */
1364
+ senderId: string;
1365
+ nonce?: number;
1366
+ /** Base64Check encoded tagged byte array */
1367
+ payload: string;
1368
+ }
1369
+ export interface ChannelCreateTx {
1370
+ /** Base58Check encoded tagged pubkey */
1371
+ initiatorId: string;
1372
+ initiatorAmount: bigint;
1373
+ /** Base58Check encoded tagged pubkey */
1374
+ responderId: string;
1375
+ responderAmount: bigint;
1376
+ channelReserve: bigint;
1377
+ lockPeriod: number;
1378
+ ttl?: number;
1379
+ fee: bigint;
1380
+ nonce?: number;
1381
+ /** Base58Check encoded tagged hash */
1382
+ stateHash: string;
1383
+ delegateIds?: Delegates;
1384
+ }
1385
+ export interface ChannelDepositTx {
1386
+ /** Base58Check encoded tagged pubkey */
1387
+ channelId: string;
1388
+ /** Base58Check encoded tagged pubkey */
1389
+ fromId: string;
1390
+ amount: bigint;
1391
+ ttl?: number;
1392
+ fee: bigint;
1393
+ nonce: number;
1394
+ /** Base58Check encoded tagged hash */
1395
+ stateHash: string;
1396
+ round: number;
1397
+ }
1398
+ export interface ChannelWithdrawTx {
1399
+ /** Base58Check encoded tagged pubkey */
1400
+ channelId: string;
1401
+ /** Base58Check encoded tagged pubkey */
1402
+ toId: string;
1403
+ amount: bigint;
1404
+ ttl?: number;
1405
+ fee: bigint;
1406
+ nonce: number;
1407
+ /** Base58Check encoded tagged hash */
1408
+ stateHash: string;
1409
+ round: number;
1410
+ }
1411
+ export interface ChannelForceProgressTx {
1412
+ /** Base58Check encoded tagged pubkey */
1413
+ channelId: string;
1414
+ /** Base58Check encoded tagged pubkey */
1415
+ fromId: string;
1416
+ /** Base64Check encoded tagged byte array */
1417
+ payload: string;
1418
+ round: number;
1419
+ update: OffChainUpdate;
1420
+ /** Base58Check encoded tagged hash */
1421
+ stateHash: string;
1422
+ ttl?: number;
1423
+ fee: bigint;
1424
+ nonce?: number;
1425
+ /** Base64Check encoded tagged byte array */
1426
+ offchainTrees?: string;
1427
+ }
1428
+ export interface ChannelCloseMutualTx {
1429
+ /** Base58Check encoded tagged pubkey */
1430
+ channelId: string;
1431
+ /** Base58Check encoded tagged pubkey */
1432
+ fromId: string;
1433
+ initiatorAmountFinal: number;
1434
+ responderAmountFinal: number;
1435
+ ttl?: number;
1436
+ fee: bigint;
1437
+ nonce: number;
827
1438
  }
828
- export interface Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema extends Paths1Csrt0IV2ContractsCallsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
1439
+ export interface ChannelCloseSoloTx {
1440
+ /** Base58Check encoded tagged pubkey */
1441
+ channelId: string;
1442
+ /** Base58Check encoded tagged pubkey */
1443
+ fromId: string;
1444
+ /** Base64Check encoded tagged byte array */
1445
+ payload: string;
1446
+ ttl?: number;
1447
+ fee: bigint;
1448
+ nonce?: number;
1449
+ /** Base64Check encoded tagged byte array */
1450
+ poi: string;
1451
+ }
1452
+ export interface ChannelSlashTx {
1453
+ /** Base58Check encoded tagged pubkey */
1454
+ channelId: string;
1455
+ /** Base58Check encoded tagged pubkey */
1456
+ fromId: string;
1457
+ /** Base64Check encoded tagged byte array */
1458
+ payload: string;
1459
+ ttl?: number;
1460
+ fee: bigint;
1461
+ nonce?: number;
1462
+ /** Base64Check encoded tagged byte array */
1463
+ poi: string;
1464
+ }
1465
+ export interface ChannelSettleTx {
1466
+ /** Base58Check encoded tagged pubkey */
1467
+ channelId: string;
1468
+ /** Base58Check encoded tagged pubkey */
1469
+ fromId: string;
1470
+ initiatorAmountFinal: number;
1471
+ responderAmountFinal: number;
1472
+ ttl?: number;
1473
+ fee: bigint;
1474
+ nonce: number;
829
1475
  }
830
- export interface PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema extends Paths9Ya94MV2ContractsLogsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
1476
+ export interface ChannelSnapshotSoloTx {
1477
+ /** Base58Check encoded tagged pubkey */
1478
+ channelId: string;
1479
+ /** Base58Check encoded tagged pubkey */
1480
+ fromId: string;
1481
+ /** Base64Check encoded tagged byte array */
1482
+ payload: string;
1483
+ ttl?: number;
1484
+ fee: bigint;
1485
+ nonce?: number;
1486
+ }
1487
+ export interface ChannelSetDelegatesTx {
1488
+ /** Base58Check encoded tagged pubkey */
1489
+ channelId: string;
1490
+ /** Base58Check encoded tagged pubkey */
1491
+ fromId: string;
1492
+ initiatorDelegateIds: string[];
1493
+ responderDelegateIds: string[];
1494
+ /** Base58Check encoded tagged pubkey */
1495
+ stateHash: string;
1496
+ round: number;
1497
+ /** Base64Check encoded tagged byte array */
1498
+ payload: string;
1499
+ ttl?: number;
1500
+ fee: bigint;
1501
+ nonce?: number;
1502
+ }
1503
+ export interface OracleQueryTx {
1504
+ /** Base58Check encoded tagged pubkey */
1505
+ oracleId: string;
1506
+ query: string;
1507
+ queryFee: bigint;
1508
+ queryTtl: Ttl;
1509
+ responseTtl: RelativeTTL;
1510
+ fee: bigint;
1511
+ ttl?: number;
1512
+ /** Base58Check encoded tagged pubkey */
1513
+ senderId: string;
1514
+ nonce?: number;
831
1515
  }
832
- export interface Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema extends PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
1516
+ export interface OracleRespondTx {
1517
+ /** Base58Check encoded tagged value */
1518
+ queryId: string;
1519
+ response: string;
1520
+ responseTtl: RelativeTTL;
1521
+ fee: bigint;
1522
+ ttl?: number;
1523
+ /** Base58Check encoded tagged pubkey */
1524
+ oracleId: string;
1525
+ nonce?: number;
1526
+ }
1527
+ export interface NamePreclaimTx {
1528
+ /** Base58Check encoded tagged value */
1529
+ commitmentId: string;
1530
+ fee: bigint;
1531
+ ttl?: number;
1532
+ /** Base58Check encoded tagged pubkey */
1533
+ accountId: string;
1534
+ nonce?: number;
833
1535
  }
834
- export interface Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema extends Paths10TrrshV2KeyBlocksGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
1536
+ export interface ContractCallTx {
1537
+ /** Base58Check encoded tagged pubkey */
1538
+ callerId: string;
1539
+ nonce?: number;
1540
+ /** Base58Check encoded tagged pubkey */
1541
+ contractId: string;
1542
+ abiVersion: number;
1543
+ fee: bigint;
1544
+ ttl?: number;
1545
+ amount: bigint;
1546
+ gas: number;
1547
+ gasPrice: bigint;
1548
+ /** Base64Check encoded tagged byte array */
1549
+ callData: string;
1550
+ }
1551
+ export interface GAAttachTx {
1552
+ /** Base58Check encoded tagged pubkey */
1553
+ ownerId: string;
1554
+ nonce?: number;
1555
+ /** Base64Check encoded tagged byte array */
1556
+ code: string;
1557
+ vmVersion: number;
1558
+ abiVersion: number;
1559
+ gas: number;
1560
+ gasPrice: bigint;
1561
+ fee: bigint;
1562
+ ttl?: number;
1563
+ /** Base64Check encoded tagged byte array */
1564
+ callData: string;
1565
+ /** Contract authorization function hash (hex encoded) */
1566
+ authFun: string;
1567
+ }
1568
+ export interface GAMetaTx {
1569
+ /** Base58Check encoded tagged pubkey */
1570
+ gaId: string;
1571
+ abiVersion: number;
1572
+ gas: number;
1573
+ gasPrice: bigint;
1574
+ fee: bigint;
1575
+ ttl?: number;
1576
+ /** Base64Check encoded tagged byte array */
1577
+ authData: string;
1578
+ tx: SignedTx;
1579
+ }
1580
+ export interface PayingForTx {
1581
+ /** Base58Check encoded tagged pubkey */
1582
+ payerId: string;
1583
+ fee: bigint;
1584
+ nonce?: number;
1585
+ tx: SignedTx;
1586
+ }
1587
+ export interface AuctionLastBidTx extends NameClaimTx, Components17W16A5SchemasAuctionPropertiesLastBidPropertiesTxAllof1 {
1588
+ }
1589
+ /** Key Block Extended */
1590
+ export interface KeyBlockExtended extends KeyBlock {
1591
+ /** The beneficiary reward */
1592
+ beneficiaryReward: number;
1593
+ /** */
1594
+ flags: `ba_${string}`;
1595
+ /** The number of micro blocks */
1596
+ microBlocksCount: number;
1597
+ /** The number of transactions */
1598
+ transactionsCount: number;
835
1599
  }
836
- export interface PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema extends Paths7Hfka2V2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
837
- }
838
- export interface PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema extends Paths1RxrrvbV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
839
- }
840
- export interface PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema extends Paths16Srg6EV2NamesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
841
- }
842
- export interface Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema extends Paths1I6PwfdV2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
843
- }
844
- export interface PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema extends PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
845
- }
846
- export interface Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema extends Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
847
- }
848
- export interface Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema extends Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
849
- }
850
- export interface Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema extends PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
851
- }
852
- export interface PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema extends Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
853
- }
854
- export interface PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema extends Paths1R74KpvV2TxsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
855
- }
856
- export interface Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema extends PathsBelvp6V2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchemaAllof0 {
857
- }
858
- export interface Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema extends Paths11X7LpcV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchemaAllof0 {
859
- }
860
- export interface Get200ApplicationJsonAllOfPropertiesItemsItem extends Name, Paths7P6Qc1V2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0PropertiesDataItemsAllof1 {
861
- }
862
- /** Known values of {@link Enum0} that the service accepts. */
863
- export declare enum KnownEnum0 {
864
- /** Transactions */
865
- Transactions = "transactions",
866
- /** Aexn */
867
- Aexn = "aexn",
868
- /** Aex9 */
869
- Aex9 = "aex9",
870
- /** Aex141 */
871
- Aex141 = "aex141",
872
- /** Contract */
873
- Contract = "contract",
874
- /** Transfers */
875
- Transfers = "transfers",
876
- /** Claims */
877
- Claims = "claims"
878
- }
879
- /**
880
- * Defines values for Enum0. \
881
- * {@link KnownEnum0} can be used interchangeably with Enum0,
882
- * this enum contains the known values that the service supports.
883
- * ### Known values supported by the service
884
- * **transactions** \
885
- * **aexn** \
886
- * **aex9** \
887
- * **aex141** \
888
- * **contract** \
889
- * **transfers** \
890
- * **claims**
891
- */
892
- export type Enum0 = string;
893
- /** Known values of {@link Enum1} that the service accepts. */
894
- export declare enum KnownEnum1 {
895
- /** Forward */
896
- Forward = "forward",
897
- /** Backward */
898
- Backward = "backward"
899
- }
900
- /**
901
- * Defines values for Enum1. \
902
- * {@link KnownEnum1} can be used interchangeably with Enum1,
903
- * this enum contains the known values that the service supports.
904
- * ### Known values supported by the service
905
- * **forward** \
906
- * **backward**
907
- */
908
- export type Enum1 = string;
909
- /** Known values of {@link ActivityType} that the service accepts. */
910
- export declare enum KnownActivityType {
911
- /** SpendTxEvent */
912
- SpendTxEvent = "SpendTxEvent",
913
- /** OracleRegisterTxEvent */
914
- OracleRegisterTxEvent = "OracleRegisterTxEvent",
915
- /** OracleExtendTxEvent */
916
- OracleExtendTxEvent = "OracleExtendTxEvent",
917
- /** OracleQueryTxEvent */
918
- OracleQueryTxEvent = "OracleQueryTxEvent",
919
- /** OracleResponseTxEvent */
920
- OracleResponseTxEvent = "OracleResponseTxEvent",
921
- /** NamePreclaimTxEvent */
922
- NamePreclaimTxEvent = "NamePreclaimTxEvent",
923
- /** NameClaimTxEvent */
924
- NameClaimTxEvent = "NameClaimTxEvent",
925
- /** NameTransferTxEvent */
926
- NameTransferTxEvent = "NameTransferTxEvent",
927
- /** NameUpdateTxEvent */
928
- NameUpdateTxEvent = "NameUpdateTxEvent",
929
- /** NameRevokeTxEvent */
930
- NameRevokeTxEvent = "NameRevokeTxEvent",
931
- /** ContractCreateTxEvent */
932
- ContractCreateTxEvent = "ContractCreateTxEvent",
933
- /** ContractCallTxEvent */
934
- ContractCallTxEvent = "ContractCallTxEvent",
935
- /** GaAttachTxEvent */
936
- GaAttachTxEvent = "GaAttachTxEvent",
937
- /** GaMetaTxEvent */
938
- GaMetaTxEvent = "GaMetaTxEvent",
939
- /** ChannelCreateTxEvent */
940
- ChannelCreateTxEvent = "ChannelCreateTxEvent",
941
- /** ChannelDepositTxEvent */
942
- ChannelDepositTxEvent = "ChannelDepositTxEvent",
943
- /** ChannelWithdrawTxEvent */
944
- ChannelWithdrawTxEvent = "ChannelWithdrawTxEvent",
945
- /** ChannelForceProgressTxEvent */
946
- ChannelForceProgressTxEvent = "ChannelForceProgressTxEvent",
947
- /** ChannelCloseMutualTxEvent */
948
- ChannelCloseMutualTxEvent = "ChannelCloseMutualTxEvent",
949
- /** ChannelCloseSoloTxEvent */
950
- ChannelCloseSoloTxEvent = "ChannelCloseSoloTxEvent",
951
- /** ChannelSlashTxEvent */
952
- ChannelSlashTxEvent = "ChannelSlashTxEvent",
953
- /** ChannelSettleTxEvent */
954
- ChannelSettleTxEvent = "ChannelSettleTxEvent",
955
- /** ChannelSnapshotSoloTxEvent */
956
- ChannelSnapshotSoloTxEvent = "ChannelSnapshotSoloTxEvent",
957
- /** ChannelSetDelegatesTxEvent */
958
- ChannelSetDelegatesTxEvent = "ChannelSetDelegatesTxEvent",
959
- /** ChannelOffchainTxEvent */
960
- ChannelOffchainTxEvent = "ChannelOffchainTxEvent",
961
- /** ChannelClientReconnectTxEvent */
962
- ChannelClientReconnectTxEvent = "ChannelClientReconnectTxEvent",
963
- /** PayingForTxEvent */
964
- PayingForTxEvent = "PayingForTxEvent"
965
- }
966
- /**
967
- * Defines values for ActivityType. \
968
- * {@link KnownActivityType} can be used interchangeably with ActivityType,
969
- * this enum contains the known values that the service supports.
970
- * ### Known values supported by the service
971
- * **SpendTxEvent** \
972
- * **OracleRegisterTxEvent** \
973
- * **OracleExtendTxEvent** \
974
- * **OracleQueryTxEvent** \
975
- * **OracleResponseTxEvent** \
976
- * **NamePreclaimTxEvent** \
977
- * **NameClaimTxEvent** \
978
- * **NameTransferTxEvent** \
979
- * **NameUpdateTxEvent** \
980
- * **NameRevokeTxEvent** \
981
- * **ContractCreateTxEvent** \
982
- * **ContractCallTxEvent** \
983
- * **GaAttachTxEvent** \
984
- * **GaMetaTxEvent** \
985
- * **ChannelCreateTxEvent** \
986
- * **ChannelDepositTxEvent** \
987
- * **ChannelWithdrawTxEvent** \
988
- * **ChannelForceProgressTxEvent** \
989
- * **ChannelCloseMutualTxEvent** \
990
- * **ChannelCloseSoloTxEvent** \
991
- * **ChannelSlashTxEvent** \
992
- * **ChannelSettleTxEvent** \
993
- * **ChannelSnapshotSoloTxEvent** \
994
- * **ChannelSetDelegatesTxEvent** \
995
- * **ChannelOffchainTxEvent** \
996
- * **ChannelClientReconnectTxEvent** \
997
- * **PayingForTxEvent**
998
- */
999
- export type ActivityType = string;
1000
- /** Known values of {@link Enum3} that the service accepts. */
1001
- export declare enum KnownEnum3 {
1002
- /** Creation */
1003
- Creation = "creation",
1004
- /** Name */
1005
- Name = "name",
1006
- /** Symbol */
1007
- Symbol = "symbol"
1008
- }
1009
- /**
1010
- * Defines values for Enum3. \
1011
- * {@link KnownEnum3} can be used interchangeably with Enum3,
1012
- * this enum contains the known values that the service supports.
1013
- * ### Known values supported by the service
1014
- * **creation** \
1015
- * **name** \
1016
- * **symbol**
1017
- */
1018
- export type Enum3 = string;
1019
- /** Known values of {@link Enum4} that the service accepts. */
1020
- export declare enum KnownEnum4 {
1021
- /** Creation */
1022
- Creation = "creation",
1023
- /** Name */
1024
- Name = "name",
1025
- /** Symbol */
1026
- Symbol = "symbol"
1027
- }
1028
- /**
1029
- * Defines values for Enum4. \
1030
- * {@link KnownEnum4} can be used interchangeably with Enum4,
1031
- * this enum contains the known values that the service supports.
1032
- * ### Known values supported by the service
1033
- * **creation** \
1034
- * **name** \
1035
- * **symbol**
1036
- */
1037
- export type Enum4 = string;
1038
- /** Known values of {@link Enum5} that the service accepts. */
1039
- export declare enum KnownEnum5 {
1040
- /** Active */
1041
- Active = "active",
1042
- /** Inactive */
1043
- Inactive = "inactive"
1044
- }
1045
- /**
1046
- * Defines values for Enum5. \
1047
- * {@link KnownEnum5} can be used interchangeably with Enum5,
1048
- * this enum contains the known values that the service supports.
1049
- * ### Known values supported by the service
1050
- * **active** \
1051
- * **inactive**
1052
- */
1053
- export type Enum5 = string;
1054
- /** Known values of {@link NameStatus} that the service accepts. */
1055
- export declare enum KnownNameStatus {
1056
- /** Name */
1057
- Name = "name",
1058
- /** Auction */
1059
- Auction = "auction"
1060
- }
1061
- /**
1062
- * Defines values for NameStatus. \
1063
- * {@link KnownNameStatus} can be used interchangeably with NameStatus,
1064
- * this enum contains the known values that the service supports.
1065
- * ### Known values supported by the service
1066
- * **name** \
1067
- * **auction**
1068
- */
1069
- export type NameStatus = string;
1070
- /** Known values of {@link AuctionInfoStatus} that the service accepts. */
1071
- export declare enum KnownAuctionInfoStatus {
1072
- /** Auction */
1073
- Auction = "auction"
1074
- }
1075
- /**
1076
- * Defines values for AuctionInfoStatus. \
1077
- * {@link KnownAuctionInfoStatus} can be used interchangeably with AuctionInfoStatus,
1078
- * this enum contains the known values that the service supports.
1079
- * ### Known values supported by the service
1080
- * **auction**
1081
- */
1082
- export type AuctionInfoStatus = string;
1083
- /** Known values of {@link Get200ApplicationJsonAllOfPropertiesItems1Status} that the service accepts. */
1084
- export declare enum KnownGet200ApplicationJsonAllOfPropertiesItems1Status {
1085
- /** Auction */
1086
- Auction = "auction",
1087
- /** Active */
1088
- Active = "active",
1089
- /** Inactive */
1090
- Inactive = "inactive"
1091
- }
1092
- /**
1093
- * Defines values for Get200ApplicationJsonAllOfPropertiesItems1Status. \
1094
- * {@link KnownGet200ApplicationJsonAllOfPropertiesItems1Status} can be used interchangeably with Get200ApplicationJsonAllOfPropertiesItems1Status,
1095
- * this enum contains the known values that the service supports.
1096
- * ### Known values supported by the service
1097
- * **auction** \
1098
- * **active** \
1099
- * **inactive**
1100
- */
1101
- export type Get200ApplicationJsonAllOfPropertiesItems1Status = string;
1102
- /** Known values of {@link TransferKind} that the service accepts. */
1103
- export declare enum KnownTransferKind {
1104
- /** RewardDev */
1105
- RewardDev = "reward_dev",
1106
- /** RewardBlock */
1107
- RewardBlock = "reward_block"
1108
- }
1109
- /**
1110
- * Defines values for TransferKind. \
1111
- * {@link KnownTransferKind} can be used interchangeably with TransferKind,
1112
- * this enum contains the known values that the service supports.
1113
- * ### Known values supported by the service
1114
- * **reward_dev** \
1115
- * **reward_block**
1116
- */
1117
- export type TransferKind = string;
1118
- /** Known values of {@link Get0ItemsItem} that the service accepts. */
1119
- export declare enum KnownGet0ItemsItem {
1120
- /** ChannelCloseMutual */
1121
- ChannelCloseMutual = "channel_close_mutual",
1122
- /** ChannelCloseSolo */
1123
- ChannelCloseSolo = "channel_close_solo",
1124
- /** ChannelCreate */
1125
- ChannelCreate = "channel_create",
1126
- /** ChannelDeposit */
1127
- ChannelDeposit = "channel_deposit",
1128
- /** ChannelForceProgress */
1129
- ChannelForceProgress = "channel_force_progress",
1130
- /** ChannelOffchain */
1131
- ChannelOffchain = "channel_offchain",
1132
- /** ChannelSettle */
1133
- ChannelSettle = "channel_settle",
1134
- /** ChannelSlash */
1135
- ChannelSlash = "channel_slash",
1136
- /** ChannelSnapshotSolo */
1137
- ChannelSnapshotSolo = "channel_snapshot_solo",
1138
- /** ChannelWithdraw */
1139
- ChannelWithdraw = "channel_withdraw",
1140
- /** ContractCall */
1141
- ContractCall = "contract_call",
1142
- /** ContractCreate */
1143
- ContractCreate = "contract_create",
1144
- /** GaAttach */
1145
- GaAttach = "ga_attach",
1146
- /** GaMeta */
1147
- GaMeta = "ga_meta",
1148
- /** NameClaim */
1149
- NameClaim = "name_claim",
1150
- /** NamePreclaim */
1151
- NamePreclaim = "name_preclaim",
1152
- /** NameRevoke */
1153
- NameRevoke = "name_revoke",
1154
- /** NameTransfer */
1155
- NameTransfer = "name_transfer",
1156
- /** NameUpdate */
1157
- NameUpdate = "name_update",
1158
- /** OracleExtend */
1159
- OracleExtend = "oracle_extend",
1160
- /** OracleQuery */
1161
- OracleQuery = "oracle_query",
1162
- /** OracleRegister */
1163
- OracleRegister = "oracle_register",
1164
- /** OracleResponse */
1165
- OracleResponse = "oracle_response",
1166
- /** PayingFor */
1167
- PayingFor = "paying_for",
1168
- /** Spend */
1169
- Spend = "spend"
1170
- }
1171
- /**
1172
- * Defines values for Get0ItemsItem. \
1173
- * {@link KnownGet0ItemsItem} can be used interchangeably with Get0ItemsItem,
1174
- * this enum contains the known values that the service supports.
1175
- * ### Known values supported by the service
1176
- * **channel_close_mutual** \
1177
- * **channel_close_solo** \
1178
- * **channel_create** \
1179
- * **channel_deposit** \
1180
- * **channel_force_progress** \
1181
- * **channel_offchain** \
1182
- * **channel_settle** \
1183
- * **channel_slash** \
1184
- * **channel_snapshot_solo** \
1185
- * **channel_withdraw** \
1186
- * **contract_call** \
1187
- * **contract_create** \
1188
- * **ga_attach** \
1189
- * **ga_meta** \
1190
- * **name_claim** \
1191
- * **name_preclaim** \
1192
- * **name_revoke** \
1193
- * **name_transfer** \
1194
- * **name_update** \
1195
- * **oracle_extend** \
1196
- * **oracle_query** \
1197
- * **oracle_register** \
1198
- * **oracle_response** \
1199
- * **paying_for** \
1200
- * **spend**
1201
- */
1202
- export type Get0ItemsItem = string;
1203
- /** Known values of {@link Get1ItemsItem} that the service accepts. */
1204
- export declare enum KnownGet1ItemsItem {
1205
- /** Channel */
1206
- Channel = "channel",
1207
- /** Contract */
1208
- Contract = "contract",
1209
- /** Ga */
1210
- Ga = "ga",
1211
- /** Name */
1212
- Name = "name",
1213
- /** Oracle */
1214
- Oracle = "oracle",
1215
- /** PayingFor */
1216
- PayingFor = "paying_for",
1217
- /** Spend */
1218
- Spend = "spend"
1219
- }
1220
- /**
1221
- * Defines values for Get1ItemsItem. \
1222
- * {@link KnownGet1ItemsItem} can be used interchangeably with Get1ItemsItem,
1223
- * this enum contains the known values that the service supports.
1224
- * ### Known values supported by the service
1225
- * **channel** \
1226
- * **contract** \
1227
- * **ga** \
1228
- * **name** \
1229
- * **oracle** \
1230
- * **paying_for** \
1231
- * **spend**
1232
- */
1233
- export type Get1ItemsItem = string;
1234
- /** Known values of {@link InternalTransferEventKind} that the service accepts. */
1235
- export declare enum KnownInternalTransferEventKind {
1236
- /** AccountsExtraLima */
1237
- AccountsExtraLima = "accounts_extra_lima",
1238
- /** AccountsFortuna */
1239
- AccountsFortuna = "accounts_fortuna",
1240
- /** AccountsGenesis */
1241
- AccountsGenesis = "accounts_genesis",
1242
- /** AccountsLima */
1243
- AccountsLima = "accounts_lima",
1244
- /** AccountsMinerva */
1245
- AccountsMinerva = "accounts_minerva",
1246
- /** ContractsLima */
1247
- ContractsLima = "contracts_lima",
1248
- /** RewardDev */
1249
- RewardDev = "reward_dev",
1250
- /** RewardBlock */
1251
- RewardBlock = "reward_block",
1252
- /** FeeRefundOracle */
1253
- FeeRefundOracle = "fee_refund_oracle",
1254
- /** FeeLockName */
1255
- FeeLockName = "fee_lock_name",
1256
- /** FeeRefundName */
1257
- FeeRefundName = "fee_refund_name",
1258
- /** FeeSpendName */
1259
- FeeSpendName = "fee_spend_name",
1260
- /** RewardOracle */
1261
- RewardOracle = "reward_oracle"
1262
- }
1263
- /**
1264
- * Defines values for InternalTransferEventKind. \
1265
- * {@link KnownInternalTransferEventKind} can be used interchangeably with InternalTransferEventKind,
1266
- * this enum contains the known values that the service supports.
1267
- * ### Known values supported by the service
1268
- * **accounts_extra_lima** \
1269
- * **accounts_fortuna** \
1270
- * **accounts_genesis** \
1271
- * **accounts_lima** \
1272
- * **accounts_minerva** \
1273
- * **contracts_lima** \
1274
- * **reward_dev** \
1275
- * **reward_block** \
1276
- * **fee_refund_oracle** \
1277
- * **fee_lock_name** \
1278
- * **fee_refund_name** \
1279
- * **fee_spend_name** \
1280
- * **reward_oracle**
1281
- */
1282
- export type InternalTransferEventKind = string;
1600
+ /** Micro Block Extended */
1601
+ export interface MicroBlockExtended extends MicroBlockHeader {
1602
+ /** The index of the micro-block on the micro-block height, starting from 0 */
1603
+ microBlockIndex: number;
1604
+ /** The number of transactions */
1605
+ transactionsCount: number;
1606
+ /** The gas used by the microblock */
1607
+ gas: number;
1608
+ /** */
1609
+ flags: `ba_${string}`;
1610
+ }
1611
+ export interface NameTxTx extends NameRevokeTx, Components171VsjiSchemasNametxPropertiesTxAllof1 {
1612
+ }
1613
+ export interface OracleTxTx extends OracleRegisterTx, Components1Viuqa3SchemasOracletxPropertiesTxAllof1 {
1614
+ }
1615
+ /** Defines values for Enum0. */
1616
+ export type Enum0 = "transactions" | "aexn" | "aex9" | "aex141" | "contract" | "transfers" | "claims" | "swaps";
1617
+ /** Defines values for Enum1. */
1618
+ export type Enum1 = "forward" | "backward";
1619
+ /** Defines values for ActivityType. */
1620
+ export type ActivityType = "SpendTxEvent" | "OracleRegisterTxEvent" | "OracleExtendTxEvent" | "OracleQueryTxEvent" | "OracleResponseTxEvent" | "NamePreclaimTxEvent" | "NameClaimTxEvent" | "NameTransferTxEvent" | "NameUpdateTxEvent" | "NameRevokeTxEvent" | "ContractCreateTxEvent" | "ContractCallTxEvent" | "GaAttachTxEvent" | "GaMetaTxEvent" | "ChannelCreateTxEvent" | "ChannelDepositTxEvent" | "ChannelWithdrawTxEvent" | "ChannelForceProgressTxEvent" | "ChannelCloseMutualTxEvent" | "ChannelCloseSoloTxEvent" | "ChannelSlashTxEvent" | "ChannelSettleTxEvent" | "ChannelSnapshotSoloTxEvent" | "ChannelSetDelegatesTxEvent" | "ChannelOffchainTxEvent" | "ChannelClientReconnectTxEvent" | "PayingForTxEvent";
1621
+ /** Defines values for TTLType. */
1622
+ export type TTLType = "delta" | "block";
1623
+ /** Defines values for TxType. */
1624
+ export type TxType = "SpendTx" | "ChannelCreateTx" | "ChannelDepositTx" | "ChannelWithdrawTx" | "ChannelForceProgressTx" | "ChannelCloseMutualTx" | "ChannelCloseSoloTx" | "ChannelSlashTx" | "ChannelSettleTx" | "ChannelSnapshotSoloTx" | "ChannelSetDelegatesTx" | "OracleRegisterTx" | "OracleExtendTx" | "OracleQueryTx" | "OracleRespondTx" | "NamePreclaimTx" | "NameClaimTx" | "NameUpdateTx" | "NameTransferTx" | "NameRevokeTx" | "ContractCreateTx" | "ContractCallTx" | "GAAttachTx" | "GAMetaTx" | "PayingForTx";
1625
+ /** Defines values for ActivityPayloadKind. */
1626
+ export type ActivityPayloadKind = "accounts_extra_lima" | "accounts_fortuna" | "accounts_genesis" | "accounts_lima" | "accounts_minerva" | "contracts_lima" | "reward_dev" | "reward_block" | "fee_refund_oracle" | "fee_lock_name" | "fee_refund_name" | "fee_spend_name" | "reward_oracle";
1627
+ /** Defines values for Enum6. */
1628
+ export type Enum6 = "forward" | "backward";
1629
+ /** Defines values for Enum7. */
1630
+ export type Enum7 = "forward" | "backward";
1631
+ /** Defines values for DexSwapAction. */
1632
+ export type DexSwapAction = "SWAP" | "BUY" | "SELL";
1633
+ /** Defines values for Enum9. */
1634
+ export type Enum9 = "forward" | "backward";
1635
+ /** Defines values for Enum10. */
1636
+ export type Enum10 = "forward" | "backward";
1637
+ /** Defines values for Enum11. */
1638
+ export type Enum11 = "creation" | "name" | "symbol";
1639
+ /** Defines values for Enum12. */
1640
+ export type Enum12 = "forward" | "backward";
1641
+ /** Defines values for Enum13. */
1642
+ export type Enum13 = "forward" | "backward";
1643
+ /** Defines values for Enum14. */
1644
+ export type Enum14 = "forward" | "backward";
1645
+ /** Defines values for Enum15. */
1646
+ export type Enum15 = "forward" | "backward";
1647
+ /** Defines values for Enum16. */
1648
+ export type Enum16 = "forward" | "backward";
1649
+ /** Defines values for Enum17. */
1650
+ export type Enum17 = "creation" | "name" | "symbol";
1651
+ /** Defines values for Enum18. */
1652
+ export type Enum18 = "forward" | "backward";
1653
+ /** Defines values for Enum19. */
1654
+ export type Enum19 = "forward" | "backward";
1655
+ /** Defines values for Enum20. */
1656
+ export type Enum20 = "forward" | "backward";
1657
+ /** Defines values for Enum21. */
1658
+ export type Enum21 = "active" | "inactive";
1659
+ /** Defines values for Enum22. */
1660
+ export type Enum22 = "forward" | "backward";
1661
+ /** Defines values for Enum23. */
1662
+ export type Enum23 = "forward" | "backward";
1663
+ /** Defines values for Enum24. */
1664
+ export type Enum24 = "forward" | "backward";
1665
+ /** Defines values for Enum25. */
1666
+ export type Enum25 = "forward" | "backward";
1667
+ /** Defines values for Enum26. */
1668
+ export type Enum26 = "forward" | "backward";
1669
+ /** Defines values for Enum27. */
1670
+ export type Enum27 = "forward" | "backward";
1671
+ /** Defines values for Enum28. */
1672
+ export type Enum28 = "forward" | "backward";
1673
+ /** Defines values for Enum29. */
1674
+ export type Enum29 = "forward" | "backward";
1675
+ /** Defines values for Enum30. */
1676
+ export type Enum30 = "forward" | "backward";
1677
+ /** Defines values for Enum31. */
1678
+ export type Enum31 = "forward" | "backward";
1679
+ /** Defines values for Enum32. */
1680
+ export type Enum32 = "forward" | "backward";
1681
+ /** Defines values for Enum33. */
1682
+ export type Enum33 = "forward" | "backward";
1683
+ /** Defines values for Enum34. */
1684
+ export type Enum34 = "forward" | "backward";
1685
+ /** Defines values for Enum35. */
1686
+ export type Enum35 = "forward" | "backward";
1687
+ /** Defines values for Enum36. */
1688
+ export type Enum36 = "forward" | "backward";
1689
+ /** Defines values for Enum37. */
1690
+ export type Enum37 = "forward" | "backward";
1691
+ /** Defines values for Enum38. */
1692
+ export type Enum38 = "forward" | "backward";
1693
+ /** Defines values for Enum39. */
1694
+ export type Enum39 = "forward" | "backward";
1695
+ /** Defines values for Enum40. */
1696
+ export type Enum40 = "forward" | "backward";
1697
+ /** Defines values for Enum41. */
1698
+ export type Enum41 = "day" | "week" | "month";
1699
+ /** Defines values for Enum42. */
1700
+ export type Enum42 = "forward" | "backward";
1701
+ /** Defines values for Enum43. */
1702
+ export type Enum43 = "day" | "week" | "month";
1703
+ /** Defines values for Enum44. */
1704
+ export type Enum44 = "forward" | "backward";
1705
+ /** Defines values for Enum45. */
1706
+ export type Enum45 = "day" | "week" | "month";
1707
+ /** Defines values for Enum46. */
1708
+ export type Enum46 = "key" | "micro";
1709
+ /** Defines values for Enum47. */
1710
+ export type Enum47 = "forward" | "backward";
1711
+ /** Defines values for Enum48. */
1712
+ export type Enum48 = "day" | "week" | "month";
1713
+ /** Defines values for Enum49. */
1714
+ export type Enum49 = "forward" | "backward";
1715
+ /** Defines values for Enum50. */
1716
+ export type Enum50 = "forward" | "backward";
1717
+ /** Defines values for Enum51. */
1718
+ export type Enum51 = "day" | "week" | "month";
1719
+ /** Defines values for Enum52. */
1720
+ export type Enum52 = "forward" | "backward";
1721
+ /** Defines values for Enum53. */
1722
+ export type Enum53 = "day" | "week" | "month";
1723
+ /** Defines values for Enum54. */
1724
+ export type Enum54 = "forward" | "backward";
1725
+ /** Defines values for Enum55. */
1726
+ export type Enum55 = "forward" | "backward";
1727
+ /** Defines values for Enum56. */
1728
+ export type Enum56 = "day" | "week" | "month";
1729
+ /** Defines values for Enum57. */
1730
+ export type Enum57 = "forward" | "backward";
1731
+ /** Defines values for Enum58. */
1732
+ export type Enum58 = "forward" | "backward";
1733
+ /** Defines values for Enum59. */
1734
+ export type Enum59 = "day" | "week" | "month";
1735
+ /** Defines values for Enum60. */
1736
+ export type Enum60 = "forward" | "backward";
1737
+ /** Defines values for Enum61. */
1738
+ export type Enum61 = "day" | "week" | "month";
1739
+ /** Defines values for Enum62. */
1740
+ export type Enum62 = "forward" | "backward";
1741
+ /** Defines values for Get0ItemsItem. */
1742
+ export type Get0ItemsItem = "channel_close_mutual" | "channel_close_solo" | "channel_create" | "channel_deposit" | "channel_force_progress" | "channel_offchain" | "channel_settle" | "channel_slash" | "channel_snapshot_solo" | "channel_withdraw" | "contract_call" | "contract_create" | "ga_attach" | "ga_meta" | "name_claim" | "name_preclaim" | "name_revoke" | "name_transfer" | "name_update" | "oracle_extend" | "oracle_query" | "oracle_register" | "oracle_response" | "paying_for" | "spend";
1743
+ /** Defines values for Get1ItemsItem. */
1744
+ export type Get1ItemsItem = "channel" | "contract" | "ga" | "name" | "oracle" | "paying_for" | "spend";
1745
+ /** Defines values for Enum65. */
1746
+ export type Enum65 = "forward" | "backward";
1747
+ /** Defines values for Enum66. */
1748
+ export type Enum66 = "forward" | "backward";
1749
+ /** Defines values for Enum67. */
1750
+ export type Enum67 = "forward" | "backward";
1751
+ /** Defines values for TransferKind. */
1752
+ export type TransferKind = "reward_dev" | "reward_block";
1753
+ /** Defines values for InternalTransferEventKind. */
1754
+ export type InternalTransferEventKind = "accounts_extra_lima" | "accounts_fortuna" | "accounts_genesis" | "accounts_lima" | "accounts_minerva" | "contracts_lima" | "reward_dev" | "reward_block" | "fee_refund_oracle" | "fee_lock_name" | "fee_refund_name" | "fee_spend_name" | "reward_oracle";
1755
+ /** Defines values for Enum70. */
1756
+ export type Enum70 = "forward" | "backward";
1283
1757
  /** Optional parameters. */
1284
1758
  export interface GetAccountActivitiesOptionalParams extends coreClient.OperationOptions {
1285
1759
  /** Indicate to filter only activities initiated by the account */
1286
1760
  ownedOnly?: boolean;
1287
1761
  /**
1288
- * Activity type:
1762
+ * Filter by activity type. Supported values:
1289
1763
  * * `transactions` - Transactions containing the account in any of the transaction fields
1290
1764
  * * `aexn` - AExN (aex9 and aex141) activities
1291
1765
  * * `aex9` - AEx9 activities
@@ -1293,51 +1767,123 @@ export interface GetAccountActivitiesOptionalParams extends coreClient.Operation
1293
1767
  * * `contract` - Internal and external contract calls
1294
1768
  * * `transfers` - Internal (both gen-based and tx-based) transfers
1295
1769
  * * `claims` - Name claims related to the name hash
1770
+ * * `swaps` - Dex swaps related to the name hash
1296
1771
  *
1297
1772
  */
1298
1773
  type?: Enum0;
1774
+ /** Limit paginated resources (max 100) */
1775
+ limit?: number;
1776
+ /** Scopes results in a generation range */
1777
+ scope?: string;
1778
+ /** Sorts results in forwards or backwards direction */
1779
+ direction?: Enum1;
1299
1780
  }
1300
1781
  /** Contains response data for the getAccountActivities operation. */
1301
- export type GetAccountActivitiesResponse = PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema;
1302
- /** Optional parameters. */
1303
- export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
1304
- /** meta info field used on sorting */
1305
- by?: Enum3;
1306
- /** Sorts by name or symbol prefix */
1307
- prefix?: string;
1308
- }
1309
- /** Contains response data for the getSortedAex141Contracts operation. */
1310
- export type GetSortedAex141ContractsResponse = PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
1782
+ export type GetAccountActivitiesResponse = MiddlewarePage<Activity>;
1311
1783
  /** Optional parameters. */
1312
1784
  export interface GetAex141OwnedTokensOptionalParams extends coreClient.OperationOptions {
1313
- /** Collection contract pubkey */
1314
- contract?: string;
1785
+ /** Limit paginated resources (max 100) */
1786
+ limit?: number;
1787
+ /** Sorts results in forwards or backwards direction */
1788
+ direction?: Enum6;
1789
+ /** Collection contract pubkey Contract address */
1790
+ contract?: `ct_${string}`;
1315
1791
  }
1316
1792
  /** Contains response data for the getAex141OwnedTokens operation. */
1317
- export type GetAex141OwnedTokensResponse = PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema;
1793
+ export type GetAex141OwnedTokensResponse = MiddlewarePage<Aex141TokenResponse>;
1318
1794
  /** Optional parameters. */
1319
- export interface GetAex141TokenOwnerOptionalParams extends coreClient.OperationOptions {
1795
+ export interface GetAex9AccountBalancesOptionalParams extends coreClient.OperationOptions {
1320
1796
  }
1321
- /** Contains response data for the getAex141TokenOwner operation. */
1322
- export type GetAex141TokenOwnerResponse = {
1323
- /** The parsed response body. */
1324
- body: string;
1325
- };
1797
+ /** Contains response data for the getAex9AccountBalances operation. */
1798
+ export type GetAex9AccountBalancesResponse = MiddlewarePage<Aex9BalanceResponse>;
1799
+ /** Optional parameters. */
1800
+ export interface GetAccountDexSwapsOptionalParams extends coreClient.OperationOptions {
1801
+ /** Sorts results in forwards or backwards direction */
1802
+ direction?: Enum7;
1803
+ }
1804
+ /** Contains response data for the getAccountDexSwaps operation. */
1805
+ export type GetAccountDexSwapsResponse = MiddlewarePage<DexSwap>;
1806
+ /** Optional parameters. */
1807
+ export interface GetAccountNameClaimsOptionalParams extends coreClient.OperationOptions {
1808
+ /** Limit paginated resources (max 100) */
1809
+ limit?: number;
1810
+ /** Scopes results in a generation range */
1811
+ scope?: string;
1812
+ /** Sorts results in forwards or backwards direction */
1813
+ direction?: Enum9;
1814
+ }
1815
+ /** Contains response data for the getAccountNameClaims operation. */
1816
+ export type GetAccountNameClaimsResponse = MiddlewarePage<NameClaim>;
1817
+ /** Optional parameters. */
1818
+ export interface GetAccountPointeesOptionalParams extends coreClient.OperationOptions {
1819
+ }
1820
+ /** Contains response data for the getAccountPointees operation. */
1821
+ export type GetAccountPointeesResponse = MiddlewarePage<Pointee>;
1326
1822
  /** Optional parameters. */
1327
- export interface GetAex141ContractOwnersOptionalParams extends coreClient.OperationOptions {
1823
+ export interface GetAccountTransactionsCountOptionalParams extends coreClient.OperationOptions {
1328
1824
  }
1329
- /** Contains response data for the getAex141ContractOwners operation. */
1330
- export type GetAex141ContractOwnersResponse = Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema;
1825
+ /** Contains response data for the getAccountTransactionsCount operation. */
1826
+ export type GetAccountTransactionsCountResponse = PathsXcg812V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchema;
1827
+ /** Optional parameters. */
1828
+ export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
1829
+ /** Limit paginated resources (max 100) */
1830
+ limit?: number;
1831
+ /** Sorts results in forwards or backwards direction */
1832
+ direction?: Enum10;
1833
+ /** meta info field used on sorting */
1834
+ by?: Enum11;
1835
+ /** Sorts by name or symbol prefix, this is decided by the 'by' field. If it's name, it will sort by name prefix, if it's symbol, it will sort by symbol prefix. */
1836
+ prefix?: string;
1837
+ /** Gets AEX141 contracts with exact name or symbol, this is decided by the 'by' field. If it's name, it will get contracts with exact name, if it's symbol, it will get contracts with exact symbol. */
1838
+ exact?: string;
1839
+ }
1840
+ /** Contains response data for the getSortedAex141Contracts operation. */
1841
+ export type GetSortedAex141ContractsResponse = MiddlewarePage<Aex141Response>;
1331
1842
  /** Optional parameters. */
1332
1843
  export interface GetAex141ContractTemplatesOptionalParams extends coreClient.OperationOptions {
1844
+ /** Limit paginated resources (max 100) */
1845
+ limit?: number;
1846
+ /** Sorts results in forwards or backwards direction */
1847
+ direction?: Enum12;
1333
1848
  }
1334
1849
  /** Contains response data for the getAex141ContractTemplates operation. */
1335
- export type GetAex141ContractTemplatesResponse = Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema;
1850
+ export type GetAex141ContractTemplatesResponse = MiddlewarePage<Aex141TemplatesResponse>;
1336
1851
  /** Optional parameters. */
1337
1852
  export interface GetAex141TemplateTokensOptionalParams extends coreClient.OperationOptions {
1853
+ /** Limit paginated resources (max 100) */
1854
+ limit?: number;
1855
+ /** Sorts results in forwards or backwards direction */
1856
+ direction?: Enum13;
1338
1857
  }
1339
1858
  /** Contains response data for the getAex141TemplateTokens operation. */
1340
- export type GetAex141TemplateTokensResponse = PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema;
1859
+ export type GetAex141TemplateTokensResponse = MiddlewarePage<Aex141TemplateTokensResponse>;
1860
+ /** Optional parameters. */
1861
+ export interface GetAex141ContractTokensOptionalParams extends coreClient.OperationOptions {
1862
+ /** Limit paginated resources (max 100) */
1863
+ limit?: number;
1864
+ /** Sorts results in forwards or backwards direction */
1865
+ direction?: Enum14;
1866
+ }
1867
+ /** Contains response data for the getAex141ContractTokens operation. */
1868
+ export type GetAex141ContractTokensResponse = MiddlewarePage<Aex141TokenResponse>;
1869
+ /** Optional parameters. */
1870
+ export interface GetAex141TokenOwnerOptionalParams extends coreClient.OperationOptions {
1871
+ }
1872
+ /** Contains response data for the getAex141TokenOwner operation. */
1873
+ export type GetAex141TokenOwnerResponse = Aex141TokenDetailResponse;
1874
+ /** Optional parameters. */
1875
+ export interface GetAex141ContractTransfersOptionalParams extends coreClient.OperationOptions {
1876
+ /** Limit paginated resources (max 100) */
1877
+ limit?: number;
1878
+ /** Sorts results in forwards or backwards direction */
1879
+ direction?: Enum15;
1880
+ /** From account Account address */
1881
+ from?: `ak_${string}`;
1882
+ /** To account Account address */
1883
+ to?: `ak_${string}`;
1884
+ }
1885
+ /** Contains response data for the getAex141ContractTransfers operation. */
1886
+ export type GetAex141ContractTransfersResponse = MiddlewarePage<Aex141TransferEvent>;
1341
1887
  /** Optional parameters. */
1342
1888
  export interface GetAex141ByContractOptionalParams extends coreClient.OperationOptions {
1343
1889
  }
@@ -1345,107 +1891,97 @@ export interface GetAex141ByContractOptionalParams extends coreClient.OperationO
1345
1891
  export type GetAex141ByContractResponse = Aex141Response;
1346
1892
  /** Optional parameters. */
1347
1893
  export interface GetSortedAex9TokensOptionalParams extends coreClient.OperationOptions {
1348
- /** Sorts by name or symbol */
1894
+ /** Limit paginated resources (max 100) */
1895
+ limit?: number;
1896
+ /** Sorts by name or symbol prefix, this is decided by the 'by' field. If it's name, it will sort by name prefix, if it's symbol, it will sort by symbol prefix. */
1349
1897
  prefix?: string;
1898
+ /** Gets AEX9 tokens with exact name or symbol, this is decided by the 'by' field. If it's name, it will get tokens with exact name, if it's symbol, it will get tokens with exact symbol. */
1899
+ exact?: string;
1900
+ /** Sorts results in forwards or backwards direction */
1901
+ direction?: Enum16;
1350
1902
  /** meta info field used on sorting */
1351
- by?: Enum4;
1903
+ by?: Enum17;
1352
1904
  }
1353
1905
  /** Contains response data for the getSortedAex9Tokens operation. */
1354
- export type GetSortedAex9TokensResponse = Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema;
1355
- /** Optional parameters. */
1356
- export interface GetAex9AccountBalancesOptionalParams extends coreClient.OperationOptions {
1357
- }
1358
- /** Contains response data for the getAex9AccountBalances operation. */
1359
- export type GetAex9AccountBalancesResponse = Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema;
1906
+ export type GetSortedAex9TokensResponse = MiddlewarePage<Aex9Response>;
1360
1907
  /** Optional parameters. */
1361
1908
  export interface GetAex9TokensCountOptionalParams extends coreClient.OperationOptions {
1362
1909
  }
1363
1910
  /** Contains response data for the getAex9TokensCount operation. */
1364
- export type GetAex9TokensCountResponse = {
1365
- /** The parsed response body. */
1366
- body: number;
1367
- };
1368
- /** Optional parameters. */
1369
- export interface GetAex9PairTransfersOptionalParams extends coreClient.OperationOptions {
1370
- }
1371
- /** Contains response data for the getAex9PairTransfers operation. */
1372
- export type GetAex9PairTransfersResponse = Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema;
1373
- /** Optional parameters. */
1374
- export interface GetAex9SenderTransfersOptionalParams extends coreClient.OperationOptions {
1375
- }
1376
- /** Contains response data for the getAex9SenderTransfers operation. */
1377
- export type GetAex9SenderTransfersResponse = Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema;
1378
- /** Optional parameters. */
1379
- export interface GetAex9RecipientTransfersOptionalParams extends coreClient.OperationOptions {
1380
- }
1381
- /** Contains response data for the getAex9RecipientTransfers operation. */
1382
- export type GetAex9RecipientTransfersResponse = Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema;
1911
+ export type GetAex9TokensCountResponse = Paths19IxhsmV3Aex9CountGetResponses200ContentApplicationJsonSchema;
1383
1912
  /** Optional parameters. */
1384
1913
  export interface GetAex9ContractBalancesOptionalParams extends coreClient.OperationOptions {
1914
+ /** Limit paginated resources (max 100) */
1915
+ limit?: number;
1916
+ /** Sorts results in forwards or backwards direction */
1917
+ direction?: Enum18;
1385
1918
  /** Order by */
1386
1919
  by?: string;
1920
+ /** Block hash Micro block hash */
1921
+ blockHash?: `mh_${string}`;
1387
1922
  }
1388
1923
  /** Contains response data for the getAex9ContractBalances operation. */
1389
- export type GetAex9ContractBalancesResponse = PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema;
1924
+ export type GetAex9ContractBalancesResponse = MiddlewarePage<Aex9ContractBalanceResponse>;
1390
1925
  /** Optional parameters. */
1391
1926
  export interface GetAex9ContractAccountBalanceOptionalParams extends coreClient.OperationOptions {
1927
+ /** Block hash Micro block hash */
1928
+ hash?: `mh_${string}`;
1392
1929
  }
1393
1930
  /** Contains response data for the getAex9ContractAccountBalance operation. */
1394
- export type GetAex9ContractAccountBalanceResponse = Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema;
1931
+ export type GetAex9ContractAccountBalanceResponse = PathsKr825V3Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema;
1395
1932
  /** Optional parameters. */
1396
1933
  export interface GetAex9ContractAccountBalanceHistoryOptionalParams extends coreClient.OperationOptions {
1934
+ /** Limit paginated resources (max 100) */
1935
+ limit?: number;
1936
+ /** Scopes results in a generation range */
1937
+ scope?: string;
1938
+ /** Sorts results in forwards or backwards direction */
1939
+ direction?: Enum19;
1397
1940
  }
1398
1941
  /** Contains response data for the getAex9ContractAccountBalanceHistory operation. */
1399
- export type GetAex9ContractAccountBalanceHistoryResponse = Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema;
1400
- /** Optional parameters. */
1401
- export interface GetAex9LogsCountOptionalParams extends coreClient.OperationOptions {
1402
- }
1403
- /** Contains response data for the getAex9LogsCount operation. */
1404
- export type GetAex9LogsCountResponse = {
1405
- /** The parsed response body. */
1406
- body: number;
1407
- };
1942
+ export type GetAex9ContractAccountBalanceHistoryResponse = MiddlewarePage<Get200ApplicationJsonAllOfPropertiesItemsItem>;
1408
1943
  /** Optional parameters. */
1409
1944
  export interface GetAex9ByContractOptionalParams extends coreClient.OperationOptions {
1410
1945
  }
1411
1946
  /** Contains response data for the getAex9ByContract operation. */
1412
1947
  export type GetAex9ByContractResponse = Aex9Response;
1413
1948
  /** Optional parameters. */
1414
- export interface GetBlocksOptionalParams extends coreClient.OperationOptions {
1415
- }
1416
- /** Contains response data for the getBlocks operation. */
1417
- export type GetBlocksResponse = Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema;
1418
- /** Optional parameters. */
1419
- export interface GetBlockOptionalParams extends coreClient.OperationOptions {
1420
- }
1421
- /** Contains response data for the getBlock operation. */
1422
- export type GetBlockResponse = Block;
1423
- /** Optional parameters. */
1424
- export interface GetBlockByMbiOptionalParams extends coreClient.OperationOptions {
1425
- }
1426
- /** Contains response data for the getBlockByMbi operation. */
1427
- export type GetBlockByMbiResponse = Block;
1428
- /** Optional parameters. */
1429
1949
  export interface GetChannelsOptionalParams extends coreClient.OperationOptions {
1950
+ /** Limit paginated resources (max 100) */
1951
+ limit?: number;
1952
+ /** Scopes results in a generation range */
1953
+ scope?: string;
1954
+ /** Sorts results in forwards or backwards direction */
1955
+ direction?: Enum20;
1430
1956
  /** Exclusively filter by active/inactive channels. */
1431
- state?: Enum5;
1957
+ state?: Enum21;
1432
1958
  }
1433
1959
  /** Contains response data for the getChannels operation. */
1434
- export type GetChannelsResponse = Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema;
1960
+ export type GetChannelsResponse = MiddlewarePage<Channel>;
1435
1961
  /** Optional parameters. */
1436
1962
  export interface GetChannelOptionalParams extends coreClient.OperationOptions {
1437
1963
  }
1438
1964
  /** Contains response data for the getChannel operation. */
1439
1965
  export type GetChannelResponse = Channel;
1440
1966
  /** Optional parameters. */
1441
- export interface GetContractsCallsOptionalParams extends coreClient.OperationOptions {
1967
+ export interface GetContractCallsOptionalParams extends coreClient.OperationOptions {
1968
+ /** Limit paginated resources (max 100) */
1969
+ limit?: number;
1970
+ /** Scopes results in a generation range */
1971
+ scope?: string;
1972
+ /** Sorts results in forwards or backwards direction */
1973
+ direction?: Enum22;
1442
1974
  }
1443
- /** Contains response data for the getContractsCalls operation. */
1444
- export type GetContractsCallsResponse = Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema;
1975
+ /** Contains response data for the getContractCalls operation. */
1976
+ export type GetContractCallsResponse = MiddlewarePage<ContractCall>;
1445
1977
  /** Optional parameters. */
1446
- export interface GetContractsLogsOptionalParams extends coreClient.OperationOptions {
1447
- /** Contract that emitted the logs */
1448
- contractId?: string;
1978
+ export interface GetContractLogsOptionalParams extends coreClient.OperationOptions {
1979
+ /** Limit paginated resources (max 100) */
1980
+ limit?: number;
1981
+ /** Scopes results in a generation range */
1982
+ scope?: string;
1983
+ /** Contract that emitted the logs Contract address */
1984
+ contractId?: `ct_${string}`;
1449
1985
  /** Name of the event */
1450
1986
  event?: string;
1451
1987
  /** Prefix of the contract called function */
@@ -1456,190 +1992,518 @@ export interface GetContractsLogsOptionalParams extends coreClient.OperationOpti
1456
1992
  data?: string;
1457
1993
  /** Indicates to format args when event is AEX-N */
1458
1994
  aexnArgs?: boolean;
1995
+ /** Sorts results in forwards or backwards direction */
1996
+ direction?: Enum23;
1459
1997
  }
1460
- /** Contains response data for the getContractsLogs operation. */
1461
- export type GetContractsLogsResponse = PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema;
1998
+ /** Contains response data for the getContractLogs operation. */
1999
+ export type GetContractLogsResponse = MiddlewarePage<ContractLog>;
1462
2000
  /** Optional parameters. */
1463
2001
  export interface GetContractOptionalParams extends coreClient.OperationOptions {
1464
2002
  }
1465
2003
  /** Contains response data for the getContract operation. */
1466
2004
  export type GetContractResponse = Contract;
1467
2005
  /** Optional parameters. */
1468
- export interface GetDeltastatsOptionalParams extends coreClient.OperationOptions {
2006
+ export interface GetDexSwapsOptionalParams extends coreClient.OperationOptions {
2007
+ /** Sorts results in forwards or backwards direction */
2008
+ direction?: Enum24;
2009
+ }
2010
+ /** Contains response data for the getDexSwaps operation. */
2011
+ export type GetDexSwapsResponse = MiddlewarePage<DexSwap>;
2012
+ /** Optional parameters. */
2013
+ export interface GetDexSwapsByContractIdOptionalParams extends coreClient.OperationOptions {
2014
+ /** Sorts results in forwards or backwards direction */
2015
+ direction?: Enum25;
2016
+ }
2017
+ /** Contains response data for the getDexSwapsByContractId operation. */
2018
+ export type GetDexSwapsByContractIdResponse = MiddlewarePage<DexSwap>;
2019
+ /** Optional parameters. */
2020
+ export interface GetEpochsOptionalParams extends coreClient.OperationOptions {
2021
+ /** Limit paginated resources (max 100) */
2022
+ limit?: number;
2023
+ /** Sorts results in forwards or backwards direction */
2024
+ direction?: Enum26;
2025
+ /** Scopes results in a hyperchain epoch range */
2026
+ scope?: string;
2027
+ }
2028
+ /** Contains response data for the getEpochs operation. */
2029
+ export type GetEpochsResponse = MiddlewarePage<EpochInfo>;
2030
+ /** Optional parameters. */
2031
+ export interface GetEpochTopOptionalParams extends coreClient.OperationOptions {
2032
+ }
2033
+ /** Contains response data for the getEpochTop operation. */
2034
+ export type GetEpochTopResponse = EpochInfo;
2035
+ /** Optional parameters. */
2036
+ export interface GetSchedulesOptionalParams extends coreClient.OperationOptions {
2037
+ /** Limit paginated resources (max 100) */
2038
+ limit?: number;
2039
+ /** Scopes results in a hyperchain epoch range */
2040
+ scope?: string;
2041
+ /** Sorts results in forwards or backwards direction */
2042
+ direction?: Enum27;
2043
+ }
2044
+ /** Contains response data for the getSchedules operation. */
2045
+ export type GetSchedulesResponse = MiddlewarePage<Schedule>;
2046
+ /** Optional parameters. */
2047
+ export interface GetScheduleOptionalParams extends coreClient.OperationOptions {
2048
+ }
2049
+ /** Contains response data for the getSchedule operation. */
2050
+ export type GetScheduleResponse = Schedule;
2051
+ /** Optional parameters. */
2052
+ export interface GetValidatorsOptionalParams extends coreClient.OperationOptions {
2053
+ /** Limit paginated resources (max 100) */
2054
+ limit?: number;
2055
+ /** Scopes results in a hyperchain epoch range */
2056
+ scope?: string;
2057
+ /** Sorts results in forwards or backwards direction */
2058
+ direction?: Enum28;
2059
+ }
2060
+ /** Contains response data for the getValidators operation. */
2061
+ export type GetValidatorsResponse = MiddlewarePage<Validator>;
2062
+ /** Optional parameters. */
2063
+ export interface GetValidatorOptionalParams extends coreClient.OperationOptions {
2064
+ }
2065
+ /** Contains response data for the getValidator operation. */
2066
+ export type GetValidatorResponse = Validator;
2067
+ /** Optional parameters. */
2068
+ export interface GetValidatorDelegatesOptionalParams extends coreClient.OperationOptions {
2069
+ /** Limit paginated resources (max 100) */
2070
+ limit?: number;
2071
+ /** Scopes results in a hyperchain epoch range */
2072
+ scope?: string;
2073
+ /** Sorts results in forwards or backwards direction */
2074
+ direction?: Enum29;
2075
+ }
2076
+ /** Contains response data for the getValidatorDelegates operation. */
2077
+ export type GetValidatorDelegatesResponse = MiddlewarePage<Delegate>;
2078
+ /** Optional parameters. */
2079
+ export interface GetTopValidatorDelegatesOptionalParams extends coreClient.OperationOptions {
2080
+ /** Limit paginated resources (max 100) */
2081
+ limit?: number;
2082
+ /** Scopes results in a hyperchain epoch range */
2083
+ scope?: string;
2084
+ /** Sorts results in forwards or backwards direction */
2085
+ direction?: Enum30;
1469
2086
  }
1470
- /** Contains response data for the getDeltastats operation. */
1471
- export type GetDeltastatsResponse = Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema;
2087
+ /** Contains response data for the getTopValidatorDelegates operation. */
2088
+ export type GetTopValidatorDelegatesResponse = MiddlewarePage<Delegate>;
1472
2089
  /** Optional parameters. */
1473
2090
  export interface GetKeyBlocksOptionalParams extends coreClient.OperationOptions {
2091
+ /** Limit paginated resources (max 100) */
2092
+ limit?: number;
2093
+ /** Scopes results in a generation range */
2094
+ scope?: string;
2095
+ /** Sorts results in forwards or backwards direction */
2096
+ direction?: Enum31;
1474
2097
  }
1475
2098
  /** Contains response data for the getKeyBlocks operation. */
1476
- export type GetKeyBlocksResponse = Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema;
2099
+ export type GetKeyBlocksResponse = MiddlewarePage<KeyBlockExtended>;
1477
2100
  /** Optional parameters. */
1478
2101
  export interface GetKeyBlockOptionalParams extends coreClient.OperationOptions {
1479
2102
  }
1480
2103
  /** Contains response data for the getKeyBlock operation. */
1481
- export type GetKeyBlockResponse = KeyBlock;
2104
+ export type GetKeyBlockResponse = KeyBlockExtended;
1482
2105
  /** Optional parameters. */
1483
2106
  export interface GetKeyBlockMicroBlocksOptionalParams extends coreClient.OperationOptions {
2107
+ /** Limit paginated resources (max 100) */
2108
+ limit?: number;
2109
+ /** Scopes results in a generation range */
2110
+ scope?: string;
2111
+ /** Sorts results in forwards or backwards direction */
2112
+ direction?: Enum32;
1484
2113
  }
1485
2114
  /** Contains response data for the getKeyBlockMicroBlocks operation. */
1486
- export type GetKeyBlockMicroBlocksResponse = PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema;
2115
+ export type GetKeyBlockMicroBlocksResponse = MiddlewarePage<MicroBlockExtended>;
1487
2116
  /** Optional parameters. */
1488
2117
  export interface GetMicroBlockOptionalParams extends coreClient.OperationOptions {
1489
2118
  }
1490
2119
  /** Contains response data for the getMicroBlock operation. */
1491
- export type GetMicroBlockResponse = MicroBlock;
2120
+ export type GetMicroBlockResponse = MicroBlockExtended;
1492
2121
  /** Optional parameters. */
1493
2122
  export interface GetMicroBlockTransactionsOptionalParams extends coreClient.OperationOptions {
1494
2123
  }
1495
2124
  /** Contains response data for the getMicroBlockTransactions operation. */
1496
- export type GetMicroBlockTransactionsResponse = PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema;
2125
+ export type GetMicroBlockTransactionsResponse = MiddlewarePage<Transaction>;
1497
2126
  /** Optional parameters. */
1498
2127
  export interface GetNamesOptionalParams extends coreClient.OperationOptions {
2128
+ /** Limit paginated resources (max 100) */
2129
+ limit?: number;
2130
+ /** Name prefix filter (case insensitive). Requires by=name parameter */
2131
+ prefix?: string;
1499
2132
  /** Sorting by deactivation, activation or name */
1500
2133
  by?: string;
1501
- /** Account that owns the name */
1502
- ownedBy?: string;
2134
+ /** Account that owns the name Account address */
2135
+ ownedBy?: `ak_${string}`;
1503
2136
  /** Activation state of the name (active or inactive) */
1504
2137
  state?: string;
2138
+ /** Sorts results in forwards or backwards direction */
2139
+ direction?: Enum33;
1505
2140
  }
1506
2141
  /** Contains response data for the getNames operation. */
1507
- export type GetNamesResponse = PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema;
2142
+ export type GetNamesResponse = MiddlewarePage<Name>;
1508
2143
  /** Optional parameters. */
1509
2144
  export interface GetNamesAuctionsOptionalParams extends coreClient.OperationOptions {
2145
+ /** Limit paginated resources (max 100) */
2146
+ limit?: number;
2147
+ /** Scopes results in a generation range */
2148
+ scope?: string;
2149
+ /** Sorts results in forwards or backwards direction */
2150
+ direction?: Enum34;
1510
2151
  }
1511
2152
  /** Contains response data for the getNamesAuctions operation. */
1512
- export type GetNamesAuctionsResponse = Auction;
1513
- /** Optional parameters. */
1514
- export interface SearchNamesOptionalParams extends coreClient.OperationOptions {
1515
- }
1516
- /** Contains response data for the searchNames operation. */
1517
- export type SearchNamesResponse = Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema;
1518
- /** Optional parameters. */
1519
- export interface GetNameOptionalParams extends coreClient.OperationOptions {
1520
- }
1521
- /** Contains response data for the getName operation. */
1522
- export type GetNameResponse = Name;
2153
+ export type GetNamesAuctionsResponse = MiddlewarePage<Auction>;
1523
2154
  /** Optional parameters. */
1524
2155
  export interface GetNameAuctionOptionalParams extends coreClient.OperationOptions {
2156
+ /** Limit paginated resources (max 100) */
2157
+ limit?: number;
2158
+ /** Scopes results in a generation range */
2159
+ scope?: string;
2160
+ /** Sorts results in forwards or backwards direction */
2161
+ direction?: Enum35;
1525
2162
  }
1526
2163
  /** Contains response data for the getNameAuction operation. */
1527
2164
  export type GetNameAuctionResponse = Auction;
1528
2165
  /** Optional parameters. */
1529
- export interface GetNameClaimsOptionalParams extends coreClient.OperationOptions {
2166
+ export interface GetNameAuctionClaimsOptionalParams extends coreClient.OperationOptions {
2167
+ /** Limit paginated resources (max 100) */
2168
+ limit?: number;
2169
+ /** Scopes results in a generation range */
2170
+ scope?: string;
2171
+ /** Sorts results in forwards or backwards direction */
2172
+ direction?: Enum36;
1530
2173
  }
1531
- /** Contains response data for the getNameClaims operation. */
1532
- export type GetNameClaimsResponse = NameClaim;
2174
+ /** Contains response data for the getNameAuctionClaims operation. */
2175
+ export type GetNameAuctionClaimsResponse = PathsCrb9BgV3NamesAuctionsIdClaimsGetResponses200ContentApplicationJsonSchema;
2176
+ /** Optional parameters. */
2177
+ export interface GetNamesCountOptionalParams extends coreClient.OperationOptions {
2178
+ /** Account that owns the name Account address */
2179
+ ownedBy?: `ak_${string}`;
2180
+ }
2181
+ /** Contains response data for the getNamesCount operation. */
2182
+ export type GetNamesCountResponse = {
2183
+ /** The parsed response body. */
2184
+ body: number;
2185
+ };
1533
2186
  /** Optional parameters. */
1534
- export interface GetNamePointeesOptionalParams extends coreClient.OperationOptions {
2187
+ export interface GetNameOptionalParams extends coreClient.OperationOptions {
1535
2188
  }
1536
- /** Contains response data for the getNamePointees operation. */
1537
- export type GetNamePointeesResponse = PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema;
2189
+ /** Contains response data for the getName operation. */
2190
+ export type GetNameResponse = Name;
1538
2191
  /** Optional parameters. */
1539
- export interface GetNamePointersOptionalParams extends coreClient.OperationOptions {
2192
+ export interface GetNameClaimsOptionalParams extends coreClient.OperationOptions {
2193
+ /** Limit paginated resources (max 100) */
2194
+ limit?: number;
2195
+ /** Scopes results in a generation range */
2196
+ scope?: string;
2197
+ /** Sorts results in forwards or backwards direction */
2198
+ direction?: Enum37;
1540
2199
  }
1541
- /** Contains response data for the getNamePointers operation. */
1542
- export type GetNamePointersResponse = Record<string, unknown>;
2200
+ /** Contains response data for the getNameClaims operation. */
2201
+ export type GetNameClaimsResponse = MiddlewarePage<NameClaim>;
1543
2202
  /** Optional parameters. */
1544
2203
  export interface GetNameTransfersOptionalParams extends coreClient.OperationOptions {
2204
+ /** Limit paginated resources (max 100) */
2205
+ limit?: number;
2206
+ /** Scopes results in a generation range */
2207
+ scope?: string;
2208
+ /** Sorts results in forwards or backwards direction */
2209
+ direction?: Enum38;
1545
2210
  }
1546
2211
  /** Contains response data for the getNameTransfers operation. */
1547
- export type GetNameTransfersResponse = NameTransfer;
2212
+ export type GetNameTransfersResponse = MiddlewarePage<NameTransfer>;
1548
2213
  /** Optional parameters. */
1549
2214
  export interface GetNameUpdatesOptionalParams extends coreClient.OperationOptions {
2215
+ /** Limit paginated resources (max 100) */
2216
+ limit?: number;
2217
+ /** Scopes results in a generation range */
2218
+ scope?: string;
2219
+ /** Sorts results in forwards or backwards direction */
2220
+ direction?: Enum39;
1550
2221
  }
1551
2222
  /** Contains response data for the getNameUpdates operation. */
1552
- export type GetNameUpdatesResponse = NameUpdate;
2223
+ export type GetNameUpdatesResponse = MiddlewarePage<NameUpdate>;
1553
2224
  /** Optional parameters. */
1554
2225
  export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
2226
+ /** Limit paginated resources (max 100) */
2227
+ limit?: number;
2228
+ /** Scopes results in a generation range */
2229
+ scope?: string;
1555
2230
  /** oracle state (active or inactive) */
1556
2231
  state?: string;
2232
+ /** Sorts results in forwards or backwards direction */
2233
+ direction?: Enum40;
1557
2234
  }
1558
2235
  /** Contains response data for the getOracles operation. */
1559
- export type GetOraclesResponse = PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
2236
+ export type GetOraclesResponse = MiddlewarePage<Oracle>;
1560
2237
  /** Optional parameters. */
1561
2238
  export interface GetOracleOptionalParams extends coreClient.OperationOptions {
1562
2239
  }
1563
2240
  /** Contains response data for the getOracle operation. */
1564
2241
  export type GetOracleResponse = Oracle;
1565
2242
  /** Optional parameters. */
2243
+ export interface GetOracleExtendsOptionalParams extends coreClient.OperationOptions {
2244
+ }
2245
+ /** Contains response data for the getOracleExtends operation. */
2246
+ export type GetOracleExtendsResponse = MiddlewarePage<OracleExtend>;
2247
+ /** Optional parameters. */
1566
2248
  export interface GetOracleQueriesOptionalParams extends coreClient.OperationOptions {
1567
2249
  }
1568
2250
  /** Contains response data for the getOracleQueries operation. */
1569
- export type GetOracleQueriesResponse = Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema;
2251
+ export type GetOracleQueriesResponse = MiddlewarePage<OracleQuery>;
1570
2252
  /** Optional parameters. */
1571
2253
  export interface GetOracleResponsesOptionalParams extends coreClient.OperationOptions {
1572
2254
  }
1573
2255
  /** Contains response data for the getOracleResponses operation. */
1574
- export type GetOracleResponsesResponse = Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema;
2256
+ export type GetOracleResponsesResponse = MiddlewarePage<OracleResponse>;
1575
2257
  /** Optional parameters. */
1576
- export interface GetStatusOptionalParams extends coreClient.OperationOptions {
2258
+ export interface GetStatsOptionalParams extends coreClient.OperationOptions {
1577
2259
  }
1578
- /** Contains response data for the getStatus operation. */
1579
- export type GetStatusResponse = Status;
2260
+ /** Contains response data for the getStats operation. */
2261
+ export type GetStatsResponse = Stats;
1580
2262
  /** Optional parameters. */
1581
- export interface GetTotalstatsOptionalParams extends coreClient.OperationOptions {
2263
+ export interface GetActiveAccountsStatsOptionalParams extends coreClient.OperationOptions {
2264
+ /** Limit paginated resources (max 100) */
2265
+ limit?: number;
2266
+ /** The interval in which to return the stats. */
2267
+ intervalBy?: Enum41;
2268
+ /** Sorts results in forwards or backwards direction */
2269
+ direction?: Enum42;
1582
2270
  }
1583
- /** Contains response data for the getTotalstats operation. */
1584
- export type GetTotalstatsResponse = Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema;
2271
+ /** Contains response data for the getActiveAccountsStats operation. */
2272
+ export type GetActiveAccountsStatsResponse = MiddlewarePage<Stat>;
1585
2273
  /** Optional parameters. */
1586
- export interface GetTransfersOptionalParams extends coreClient.OperationOptions {
2274
+ export interface GetAex9TransfersStatsOptionalParams extends coreClient.OperationOptions {
2275
+ /** Limit paginated resources (max 100) */
2276
+ limit?: number;
2277
+ /** The interval in which to return the stats. */
2278
+ intervalBy?: Enum43;
2279
+ /** The minimum start date in YYYY-MM-DD format. */
2280
+ minStartDate?: string;
2281
+ /** The maximum start date in YYYY-MM-DD format. */
2282
+ maxStartDate?: string;
2283
+ /** Sorts results in forwards or backwards direction */
2284
+ direction?: Enum44;
1587
2285
  }
1588
- /** Contains response data for the getTransfers operation. */
1589
- export type GetTransfersResponse = PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema;
2286
+ /** Contains response data for the getAex9TransfersStats operation. */
2287
+ export type GetAex9TransfersStatsResponse = MiddlewarePage<Stat>;
2288
+ /** Optional parameters. */
2289
+ export interface GetBlocksStatsOptionalParams extends coreClient.OperationOptions {
2290
+ /** Limit paginated resources (max 100) */
2291
+ limit?: number;
2292
+ /** The minimum start date in YYYY-MM-DD format. */
2293
+ minStartDate?: string;
2294
+ /** The maximum start date in YYYY-MM-DD format. */
2295
+ maxStartDate?: string;
2296
+ /** The interval in which to return the stats. */
2297
+ intervalBy?: Enum45;
2298
+ /** The type of block. */
2299
+ type?: Enum46;
2300
+ /** Sorts results in forwards or backwards direction */
2301
+ direction?: Enum47;
2302
+ }
2303
+ /** Contains response data for the getBlocksStats operation. */
2304
+ export type GetBlocksStatsResponse = MiddlewarePage<Stat>;
2305
+ /** Optional parameters. */
2306
+ export interface GetContractsStatsOptionalParams extends coreClient.OperationOptions {
2307
+ /** Limit paginated resources (max 100) */
2308
+ limit?: number;
2309
+ /** The minimum start date in YYYY-MM-DD format. */
2310
+ minStartDate?: string;
2311
+ /** The maximum start date in YYYY-MM-DD format. */
2312
+ maxStartDate?: string;
2313
+ /** The interval in which to return the stats. */
2314
+ intervalBy?: Enum48;
2315
+ /** Sorts results in forwards or backwards direction */
2316
+ direction?: Enum49;
2317
+ }
2318
+ /** Contains response data for the getContractsStats operation. */
2319
+ export type GetContractsStatsResponse = MiddlewarePage<Stat>;
2320
+ /** Optional parameters. */
2321
+ export interface GetDeltaStatsOptionalParams extends coreClient.OperationOptions {
2322
+ /** Limit paginated resources (max 100) */
2323
+ limit?: number;
2324
+ /** Scopes results in a generation range */
2325
+ scope?: string;
2326
+ /** Sorts results in forwards or backwards direction */
2327
+ direction?: Enum50;
2328
+ }
2329
+ /** Contains response data for the getDeltaStats operation. */
2330
+ export type GetDeltaStatsResponse = MiddlewarePage<DeltaStat>;
1590
2331
  /** Optional parameters. */
1591
- export interface GetTxsOptionalParams extends coreClient.OperationOptions {
1592
- /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1593
- contract?: string;
2332
+ export interface GetDifficultyStatsOptionalParams extends coreClient.OperationOptions {
2333
+ /** Limit paginated resources (max 100) */
2334
+ limit?: number;
2335
+ /** The minimum start date in YYYY-MM-DD format. */
2336
+ minStartDate?: string;
2337
+ /** The maximum start date in YYYY-MM-DD format. */
2338
+ maxStartDate?: string;
2339
+ /** The interval in which to return the stats. */
2340
+ intervalBy?: Enum51;
2341
+ /** Sorts results in forwards or backwards direction */
2342
+ direction?: Enum52;
2343
+ }
2344
+ /** Contains response data for the getDifficultyStats operation. */
2345
+ export type GetDifficultyStatsResponse = MiddlewarePage<Stat>;
2346
+ /** Optional parameters. */
2347
+ export interface GetHashrateStatsOptionalParams extends coreClient.OperationOptions {
2348
+ /** Limit paginated resources (max 100) */
2349
+ limit?: number;
2350
+ /** The minimum start date in YYYY-MM-DD format. */
2351
+ minStartDate?: string;
2352
+ /** The maximum start date in YYYY-MM-DD format. */
2353
+ maxStartDate?: string;
2354
+ /** The interval in which to return the stats. */
2355
+ intervalBy?: Enum53;
2356
+ /** Sorts results in forwards or backwards direction */
2357
+ direction?: Enum54;
2358
+ }
2359
+ /** Contains response data for the getHashrateStats operation. */
2360
+ export type GetHashrateStatsResponse = MiddlewarePage<Stat>;
2361
+ /** Optional parameters. */
2362
+ export interface GetMinerStatsOptionalParams extends coreClient.OperationOptions {
2363
+ /** Limit paginated resources (max 100) */
2364
+ limit?: number;
2365
+ /** Sorts results in forwards or backwards direction */
2366
+ direction?: Enum55;
2367
+ }
2368
+ /** Contains response data for the getMinerStats operation. */
2369
+ export type GetMinerStatsResponse = MiddlewarePage<Miner>;
2370
+ /** Optional parameters. */
2371
+ export interface GetNamesStatsOptionalParams extends coreClient.OperationOptions {
2372
+ /** Limit paginated resources (max 100) */
2373
+ limit?: number;
2374
+ /** The minimum start date in YYYY-MM-DD format. */
2375
+ minStartDate?: string;
2376
+ /** The maximum start date in YYYY-MM-DD format. */
2377
+ maxStartDate?: string;
2378
+ /** The interval in which to return the stats. */
2379
+ intervalBy?: Enum56;
2380
+ /** Sorts results in forwards or backwards direction */
2381
+ direction?: Enum57;
2382
+ }
2383
+ /** Contains response data for the getNamesStats operation. */
2384
+ export type GetNamesStatsResponse = MiddlewarePage<Stat>;
2385
+ /** Optional parameters. */
2386
+ export interface GetTotalStatsOptionalParams extends coreClient.OperationOptions {
2387
+ /** Limit paginated resources (max 100) */
2388
+ limit?: number;
2389
+ /** Scopes results in a generation range */
2390
+ scope?: string;
2391
+ /** Sorts results in forwards or backwards direction */
2392
+ direction?: Enum58;
2393
+ }
2394
+ /** Contains response data for the getTotalStats operation. */
2395
+ export type GetTotalStatsResponse = MiddlewarePage<TotalStat>;
2396
+ /** Optional parameters. */
2397
+ export interface GetTotalAccountsStatsOptionalParams extends coreClient.OperationOptions {
2398
+ /** Limit paginated resources (max 100) */
2399
+ limit?: number;
2400
+ /** The interval in which to return the stats. */
2401
+ intervalBy?: Enum59;
2402
+ /** Sorts results in forwards or backwards direction */
2403
+ direction?: Enum60;
2404
+ }
2405
+ /** Contains response data for the getTotalAccountsStats operation. */
2406
+ export type GetTotalAccountsStatsResponse = MiddlewarePage<Stat>;
2407
+ /** Optional parameters. */
2408
+ export interface GetTransactionsStatsOptionalParams extends coreClient.OperationOptions {
2409
+ /** Limit paginated resources (max 100) */
2410
+ limit?: number;
2411
+ /** The minimum start date in YYYY-MM-DD format. */
2412
+ minStartDate?: string;
2413
+ /** The maximum start date in YYYY-MM-DD format. */
2414
+ maxStartDate?: string;
2415
+ /** The interval in which to return the stats. */
2416
+ intervalBy?: Enum61;
2417
+ /** The type of the transactions */
2418
+ txType?: string;
2419
+ /** Sorts results in forwards or backwards direction */
2420
+ direction?: Enum62;
2421
+ }
2422
+ /** Contains response data for the getTransactionsStats operation. */
2423
+ export type GetTransactionsStatsResponse = MiddlewarePage<Stat>;
2424
+ /** Optional parameters. */
2425
+ export interface GetStatusOptionalParams extends coreClient.OperationOptions {
2426
+ }
2427
+ /** Contains response data for the getStatus operation. */
2428
+ export type GetStatusResponse = Status;
2429
+ /** Optional parameters. */
2430
+ export interface GetTransactionsOptionalParams extends coreClient.OperationOptions {
2431
+ /** Limit paginated resources (max 100) */
2432
+ limit?: number;
2433
+ /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Contract address */
2434
+ contract?: `ct_${string}`;
1594
2435
  /** The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1595
2436
  type?: Get0ItemsItem[];
1596
2437
  /** The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1597
2438
  typeGroup?: Get1ItemsItem[];
1598
- /** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1599
- account?: string;
1600
- /** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1601
- channel?: string;
1602
- /** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1603
- oracle?: string;
1604
- /** The sender ID */
1605
- senderId?: string;
1606
- /** The recipient ID */
1607
- recipientId?: string;
2439
+ /** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Account address */
2440
+ account?: `ak_${string}`;
2441
+ /** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Channel ID */
2442
+ channel?: `ch_${string}`;
2443
+ /** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) Oracle address */
2444
+ oracle?: `ok_${string}`;
2445
+ /** The sender ID Account address */
2446
+ senderId?: `ak_${string}`;
2447
+ /** The recipient ID Account address */
2448
+ recipientId?: `ak_${string}`;
1608
2449
  /** Entrypoint of a contract call */
1609
2450
  entrypoint?: string;
2451
+ /** Scopes results in a generation or time(unix timestamp) range */
2452
+ scope?: string;
2453
+ /** Sorts results in forwards or backwards direction */
2454
+ direction?: Enum65;
1610
2455
  }
1611
- /** Contains response data for the getTxs operation. */
1612
- export type GetTxsResponse = PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema;
2456
+ /** Contains response data for the getTransactions operation. */
2457
+ export type GetTransactionsResponse = MiddlewarePage<Transaction>;
1613
2458
  /** Optional parameters. */
1614
- export interface GetTxCountOptionalParams extends coreClient.OperationOptions {
2459
+ export interface GetTransactionsCountOptionalParams extends coreClient.OperationOptions {
2460
+ /** Scopes results in a generation range */
2461
+ scope?: string;
1615
2462
  /** Type of a transaction */
1616
2463
  txType?: string;
1617
- /** The ID of the address/name/oracle/etc */
1618
- id?: string;
2464
+ /** The ID of the address/name/oracle/etc Account address */
2465
+ id?: `ak_${string}`;
1619
2466
  }
1620
- /** Contains response data for the getTxCount operation. */
1621
- export type GetTxCountResponse = {
2467
+ /** Contains response data for the getTransactionsCount operation. */
2468
+ export type GetTransactionsCountResponse = {
1622
2469
  /** The parsed response body. */
1623
2470
  body: number;
1624
2471
  };
1625
2472
  /** Optional parameters. */
1626
- export interface GetTxCountByIdOptionalParams extends coreClient.OperationOptions {
2473
+ export interface GetPendingTransactionsOptionalParams extends coreClient.OperationOptions {
2474
+ /** Limit paginated resources (max 100) */
2475
+ limit?: number;
2476
+ /** Sorts results in forwards or backwards direction */
2477
+ direction?: Enum66;
1627
2478
  }
1628
- /** Contains response data for the getTxCountById operation. */
1629
- export type GetTxCountByIdResponse = Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema;
2479
+ /** Contains response data for the getPendingTransactions operation. */
2480
+ export type GetPendingTransactionsResponse = MiddlewarePage<PendingTransaction>;
1630
2481
  /** Optional parameters. */
1631
- export interface GetTxOptionalParams extends coreClient.OperationOptions {
2482
+ export interface GetPendingTransactionsCountOptionalParams extends coreClient.OperationOptions {
1632
2483
  }
1633
- /** Contains response data for the getTx operation. */
1634
- export type GetTxResponse = Tx;
2484
+ /** Contains response data for the getPendingTransactionsCount operation. */
2485
+ export type GetPendingTransactionsCountResponse = {
2486
+ /** The parsed response body. */
2487
+ body: number;
2488
+ };
1635
2489
  /** Optional parameters. */
1636
- export interface MiddlewareOptionalParams extends coreClient.ServiceClientOptions {
2490
+ export interface GetTransactionOptionalParams extends coreClient.OperationOptions {
2491
+ }
2492
+ /** Contains response data for the getTransaction operation. */
2493
+ export type GetTransactionResponse = Transaction;
2494
+ /** Optional parameters. */
2495
+ export interface GetTransfersOptionalParams extends coreClient.OperationOptions {
1637
2496
  /** Limit paginated resources (max 100) */
1638
2497
  limit?: number;
1639
- /** Scopes results in a txi or generation range */
2498
+ /** Scopes results in a generation range */
1640
2499
  scope?: string;
1641
2500
  /** Sorts results in forwards or backwards direction */
1642
- direction?: Enum1;
2501
+ direction?: Enum67;
2502
+ }
2503
+ /** Contains response data for the getTransfers operation. */
2504
+ export type GetTransfersResponse = MiddlewarePage<Transfer>;
2505
+ /** Optional parameters. */
2506
+ export interface MiddlewareOptionalParams extends coreClient.ServiceClientOptions {
1643
2507
  /** Overrides client endpoint. */
1644
2508
  endpoint?: string;
1645
2509
  }