@aeternity/aepp-sdk 13.2.1 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (509) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/bin/aesophia_cli +0 -0
  4. package/bin/aesophia_cli_8 +0 -0
  5. package/dist/aepp-sdk.browser-script.js +1 -1
  6. package/dist/aepp-sdk.browser-script.js.map +1 -1
  7. package/dist/aepp-sdk.browser.js +1 -1
  8. package/dist/aepp-sdk.browser.js.map +1 -1
  9. package/dist/aepp-sdk.js +7288 -9464
  10. package/dist/aepp-sdk.js.map +1 -1
  11. package/es/AeSdk.d.ts +3 -0
  12. package/es/AeSdk.mjs +12 -12
  13. package/es/AeSdk.mjs.map +1 -1
  14. package/es/AeSdkAepp.d.ts +0 -1
  15. package/es/AeSdkAepp.mjs +12 -16
  16. package/es/AeSdkAepp.mjs.map +1 -1
  17. package/es/AeSdkBase.d.ts +61 -6
  18. package/es/AeSdkBase.mjs +150 -69
  19. package/es/AeSdkBase.mjs.map +1 -1
  20. package/es/AeSdkMethods.d.ts +19 -7
  21. package/es/AeSdkMethods.mjs +39 -38
  22. package/es/AeSdkMethods.mjs.map +1 -1
  23. package/es/AeSdkWallet.mjs +86 -55
  24. package/es/AeSdkWallet.mjs.map +1 -1
  25. package/es/Middleware.d.ts +1 -1
  26. package/es/Middleware.mjs +32 -28
  27. package/es/Middleware.mjs.map +1 -1
  28. package/es/MiddlewareSubscriber.mjs +5 -14
  29. package/es/MiddlewareSubscriber.mjs.map +1 -1
  30. package/es/Node.d.ts +11 -3
  31. package/es/Node.mjs +65 -57
  32. package/es/Node.mjs.map +1 -1
  33. package/es/account/Base.d.ts +39 -3
  34. package/es/account/Base.mjs +35 -1
  35. package/es/account/Base.mjs.map +1 -1
  36. package/es/account/Generalized.d.ts +2 -0
  37. package/es/account/Generalized.mjs +15 -6
  38. package/es/account/Generalized.mjs.map +1 -1
  39. package/es/account/Ledger.d.ts +2 -0
  40. package/es/account/Ledger.mjs +14 -5
  41. package/es/account/Ledger.mjs.map +1 -1
  42. package/es/account/LedgerFactory.mjs +4 -6
  43. package/es/account/LedgerFactory.mjs.map +1 -1
  44. package/es/account/Memory.d.ts +15 -4
  45. package/es/account/Memory.mjs +96 -31
  46. package/es/account/Memory.mjs.map +1 -1
  47. package/es/account/Rpc.d.ts +16 -5
  48. package/es/account/Rpc.mjs +94 -21
  49. package/es/account/Rpc.mjs.map +1 -1
  50. package/es/aens.d.ts +17 -44
  51. package/es/aens.mjs +32 -71
  52. package/es/aens.mjs.map +1 -1
  53. package/es/aepp-wallet-communication/connection/Browser.mjs +3 -4
  54. package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
  55. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  56. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +7 -5
  57. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
  58. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +8 -9
  59. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
  60. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +7 -7
  61. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
  62. package/es/aepp-wallet-communication/rpc/types.d.ts +14 -0
  63. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
  64. package/es/aepp-wallet-communication/schema.d.ts +2 -0
  65. package/es/aepp-wallet-communication/schema.mjs +2 -0
  66. package/es/aepp-wallet-communication/schema.mjs.map +1 -1
  67. package/es/aepp-wallet-communication/wallet-detector.d.ts +2 -5
  68. package/es/aepp-wallet-communication/wallet-detector.mjs +13 -9
  69. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
  70. package/es/apis/compiler/compiler.mjs.map +1 -1
  71. package/es/apis/compiler/models/index.d.ts +1 -0
  72. package/es/apis/compiler/models/index.mjs.map +1 -1
  73. package/es/apis/compiler/models/mappers.mjs +13 -0
  74. package/es/apis/compiler/models/mappers.mjs.map +1 -1
  75. package/es/apis/compiler/models/parameters.mjs.map +1 -1
  76. package/es/apis/middleware/middleware.d.ts +23 -5
  77. package/es/apis/middleware/middleware.mjs +114 -18
  78. package/es/apis/middleware/middleware.mjs.map +1 -1
  79. package/es/apis/middleware/models/index.d.ts +164 -15
  80. package/es/apis/middleware/models/index.mjs +53 -3
  81. package/es/apis/middleware/models/index.mjs.map +1 -1
  82. package/es/apis/middleware/models/mappers.d.ts +8 -1
  83. package/es/apis/middleware/models/mappers.mjs +376 -3
  84. package/es/apis/middleware/models/mappers.mjs.map +1 -1
  85. package/es/apis/middleware/models/parameters.d.ts +6 -3
  86. package/es/apis/middleware/models/parameters.mjs +38 -11
  87. package/es/apis/middleware/models/parameters.mjs.map +1 -1
  88. package/es/apis/node/models/index.d.ts +66 -2
  89. package/es/apis/node/models/index.mjs.map +1 -1
  90. package/es/apis/node/models/mappers.d.ts +5 -1
  91. package/es/apis/node/models/mappers.mjs +229 -7
  92. package/es/apis/node/models/mappers.mjs.map +1 -1
  93. package/es/apis/node/models/parameters.d.ts +2 -2
  94. package/es/apis/node/models/parameters.mjs +2 -2
  95. package/es/apis/node/models/parameters.mjs.map +1 -1
  96. package/es/apis/node/node.d.ts +24 -3
  97. package/es/apis/node/node.mjs +135 -3
  98. package/es/apis/node/node.mjs.map +1 -1
  99. package/es/chain.d.ts +14 -44
  100. package/es/chain.mjs +125 -219
  101. package/es/chain.mjs.map +1 -1
  102. package/es/channel/Base.d.ts +3 -47
  103. package/es/channel/Base.mjs +21 -54
  104. package/es/channel/Base.mjs.map +1 -1
  105. package/es/channel/Contract.d.ts +16 -25
  106. package/es/channel/Contract.mjs +39 -63
  107. package/es/channel/Contract.mjs.map +1 -1
  108. package/es/channel/Spend.d.ts +0 -8
  109. package/es/channel/Spend.mjs +17 -29
  110. package/es/channel/Spend.mjs.map +1 -1
  111. package/es/channel/handlers.mjs +1 -1
  112. package/es/channel/handlers.mjs.map +1 -1
  113. package/es/channel/internal.d.ts +104 -5
  114. package/es/channel/internal.mjs +26 -34
  115. package/es/channel/internal.mjs.map +1 -1
  116. package/es/contract/Contract.d.ts +10 -2
  117. package/es/contract/Contract.mjs +83 -79
  118. package/es/contract/Contract.mjs.map +1 -1
  119. package/es/contract/compiler/Base.d.ts +14 -8
  120. package/es/contract/compiler/Base.mjs.map +1 -1
  121. package/es/contract/compiler/Cli.d.ts +12 -11
  122. package/es/contract/compiler/Cli.mjs +52 -25
  123. package/es/contract/compiler/Cli.mjs.map +1 -1
  124. package/es/contract/compiler/Cli8.d.ts +13 -0
  125. package/es/contract/compiler/Cli8.mjs +22 -0
  126. package/es/contract/compiler/Cli8.mjs.map +1 -0
  127. package/es/contract/compiler/Http.d.ts +3 -9
  128. package/es/contract/compiler/Http.mjs +28 -16
  129. package/es/contract/compiler/Http.mjs.map +1 -1
  130. package/es/contract/compiler/HttpNode.d.ts +2 -5
  131. package/es/contract/compiler/HttpNode.mjs.map +1 -1
  132. package/es/contract/delegation-signature.d.ts +2 -1
  133. package/es/contract/delegation-signature.mjs +18 -14
  134. package/es/contract/delegation-signature.mjs.map +1 -1
  135. package/es/contract/ga.d.ts +1 -2
  136. package/es/contract/ga.mjs +23 -25
  137. package/es/contract/ga.mjs.map +1 -1
  138. package/es/deprecated.d.ts +48 -0
  139. package/es/deprecated.mjs +66 -1
  140. package/es/deprecated.mjs.map +1 -1
  141. package/es/index-browser.d.ts +11 -6
  142. package/es/index-browser.mjs +10 -6
  143. package/es/index-browser.mjs.map +1 -1
  144. package/es/index.d.ts +1 -0
  145. package/es/index.mjs +1 -0
  146. package/es/index.mjs.map +1 -1
  147. package/es/oracle.d.ts +6 -37
  148. package/es/oracle.mjs +32 -66
  149. package/es/oracle.mjs.map +1 -1
  150. package/es/send-transaction.d.ts +53 -0
  151. package/es/send-transaction.mjs +109 -0
  152. package/es/send-transaction.mjs.map +1 -0
  153. package/es/spend.d.ts +4 -3
  154. package/es/spend.mjs +6 -1
  155. package/es/spend.mjs.map +1 -1
  156. package/es/tx/builder/common.d.ts +29 -0
  157. package/es/tx/builder/common.mjs +42 -0
  158. package/es/tx/builder/common.mjs.map +1 -0
  159. package/es/tx/builder/constants.d.ts +6 -5
  160. package/es/tx/builder/constants.mjs +7 -15
  161. package/es/tx/builder/constants.mjs.map +1 -1
  162. package/es/tx/builder/delegation/index.d.ts +20 -0
  163. package/es/tx/builder/delegation/index.mjs +24 -0
  164. package/es/tx/builder/delegation/index.mjs.map +1 -0
  165. package/es/tx/builder/delegation/schema.d.ts +130 -0
  166. package/es/tx/builder/delegation/schema.generated.d.ts +141 -0
  167. package/es/tx/builder/delegation/schema.generated.mjs +2 -0
  168. package/es/tx/builder/delegation/schema.generated.mjs.map +1 -0
  169. package/es/tx/builder/delegation/schema.mjs +54 -0
  170. package/es/tx/builder/delegation/schema.mjs.map +1 -0
  171. package/es/tx/builder/field-types/abi-version.mjs +8 -11
  172. package/es/tx/builder/field-types/abi-version.mjs.map +1 -1
  173. package/es/tx/builder/field-types/address.mjs +1 -4
  174. package/es/tx/builder/field-types/address.mjs.map +1 -1
  175. package/es/tx/builder/field-types/coin-amount.d.ts +2 -2
  176. package/es/tx/builder/field-types/coin-amount.mjs +6 -6
  177. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
  178. package/es/tx/builder/field-types/ct-version.d.ts +1 -1
  179. package/es/tx/builder/field-types/ct-version.mjs +4 -5
  180. package/es/tx/builder/field-types/ct-version.mjs.map +1 -1
  181. package/es/tx/builder/field-types/entry.mjs +7 -13
  182. package/es/tx/builder/field-types/entry.mjs.map +1 -1
  183. package/es/tx/builder/field-types/fee.d.ts +19 -11
  184. package/es/tx/builder/field-types/fee.mjs +57 -39
  185. package/es/tx/builder/field-types/fee.mjs.map +1 -1
  186. package/es/tx/builder/field-types/gas-limit.mjs +13 -15
  187. package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
  188. package/es/tx/builder/field-types/gas-price.d.ts +10 -2
  189. package/es/tx/builder/field-types/gas-price.mjs +53 -4
  190. package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
  191. package/es/tx/builder/field-types/index.d.ts +31 -29
  192. package/es/tx/builder/field-types/index.mjs +31 -29
  193. package/es/tx/builder/field-types/index.mjs.map +1 -1
  194. package/es/tx/builder/field-types/map.mjs +20 -31
  195. package/es/tx/builder/field-types/map.mjs.map +1 -1
  196. package/es/tx/builder/field-types/mptree.mjs +14 -29
  197. package/es/tx/builder/field-types/mptree.mjs.map +1 -1
  198. package/es/tx/builder/field-types/name-fee.d.ts +1 -1
  199. package/es/tx/builder/field-types/name-fee.mjs +1 -1
  200. package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
  201. package/es/tx/builder/field-types/nonce.d.ts +1 -0
  202. package/es/tx/builder/field-types/nonce.mjs +2 -0
  203. package/es/tx/builder/field-types/nonce.mjs.map +1 -1
  204. package/es/tx/builder/field-types/pointers.mjs +4 -7
  205. package/es/tx/builder/field-types/pointers.mjs.map +1 -1
  206. package/es/tx/builder/field-types/pointers2.d.ts +23 -0
  207. package/es/tx/builder/field-types/pointers2.mjs +65 -0
  208. package/es/tx/builder/field-types/pointers2.mjs.map +1 -0
  209. package/es/tx/builder/field-types/query-fee.d.ts +19 -0
  210. package/es/tx/builder/field-types/query-fee.mjs +20 -0
  211. package/es/tx/builder/field-types/query-fee.mjs.map +1 -0
  212. package/es/tx/builder/field-types/ttl.d.ts +9 -1
  213. package/es/tx/builder/field-types/ttl.mjs +19 -8
  214. package/es/tx/builder/field-types/ttl.mjs.map +1 -1
  215. package/es/tx/builder/field-types/with-default.d.ts +7 -0
  216. package/es/tx/builder/field-types/with-default.mjs +9 -0
  217. package/es/tx/builder/field-types/with-default.mjs.map +1 -0
  218. package/es/tx/builder/field-types/with-formatting.d.ts +7 -0
  219. package/es/tx/builder/field-types/with-formatting.mjs +9 -0
  220. package/es/tx/builder/field-types/with-formatting.mjs.map +1 -0
  221. package/es/tx/builder/field-types/wrapped.mjs +6 -8
  222. package/es/tx/builder/field-types/wrapped.mjs.map +1 -1
  223. package/es/tx/builder/helpers.d.ts +2 -2
  224. package/es/tx/builder/helpers.mjs +12 -21
  225. package/es/tx/builder/helpers.mjs.map +1 -1
  226. package/es/tx/builder/index.d.ts +17 -10
  227. package/es/tx/builder/index.mjs +39 -65
  228. package/es/tx/builder/index.mjs.map +1 -1
  229. package/es/tx/builder/schema.d.ts +478 -257
  230. package/es/tx/builder/schema.generated.d.ts +39 -3
  231. package/es/tx/builder/schema.generated.mjs.map +1 -1
  232. package/es/tx/builder/schema.mjs +48 -36
  233. package/es/tx/builder/schema.mjs.map +1 -1
  234. package/es/tx/execution-cost.d.ts +6 -5
  235. package/es/tx/execution-cost.mjs +16 -17
  236. package/es/tx/execution-cost.mjs.map +1 -1
  237. package/es/tx/transaction-signer.mjs +1 -4
  238. package/es/tx/transaction-signer.mjs.map +1 -1
  239. package/es/tx/validator.mjs +61 -42
  240. package/es/tx/validator.mjs.map +1 -1
  241. package/es/utils/amount-formatter.mjs +15 -22
  242. package/es/utils/amount-formatter.mjs.map +1 -1
  243. package/es/utils/autorest.d.ts +2 -3
  244. package/es/utils/autorest.mjs +41 -25
  245. package/es/utils/autorest.mjs.map +1 -1
  246. package/es/utils/bytes.mjs +1 -2
  247. package/es/utils/bytes.mjs.map +1 -1
  248. package/es/utils/crypto.d.ts +9 -5
  249. package/es/utils/crypto.mjs +18 -14
  250. package/es/utils/crypto.mjs.map +1 -1
  251. package/es/utils/errors.d.ts +6 -0
  252. package/es/utils/errors.mjs +12 -6
  253. package/es/utils/errors.mjs.map +1 -1
  254. package/es/utils/hd-wallet.d.ts +2 -0
  255. package/es/utils/hd-wallet.mjs +6 -5
  256. package/es/utils/hd-wallet.mjs.map +1 -1
  257. package/es/utils/json-big.mjs +2 -10
  258. package/es/utils/json-big.mjs.map +1 -1
  259. package/es/utils/jwt.d.ts +53 -0
  260. package/es/utils/jwt.mjs +120 -0
  261. package/es/utils/jwt.mjs.map +1 -0
  262. package/es/utils/keystore.d.ts +6 -2
  263. package/es/utils/keystore.mjs +8 -16
  264. package/es/utils/keystore.mjs.map +1 -1
  265. package/es/utils/typed-data.d.ts +0 -2
  266. package/es/utils/typed-data.mjs +8 -23
  267. package/es/utils/typed-data.mjs.map +1 -1
  268. package/es/utils/wrap-proxy.d.ts +2 -0
  269. package/es/utils/wrap-proxy.mjs +15 -0
  270. package/es/utils/wrap-proxy.mjs.map +1 -0
  271. package/package.json +57 -51
  272. package/src/AeSdk.ts +3 -0
  273. package/src/AeSdkAepp.ts +0 -1
  274. package/src/AeSdkBase.ts +97 -10
  275. package/src/AeSdkMethods.ts +37 -33
  276. package/src/AeSdkWallet.ts +22 -3
  277. package/src/Middleware.ts +17 -9
  278. package/src/MiddlewareSubscriber.ts +1 -1
  279. package/src/Node.ts +51 -21
  280. package/src/account/Base.ts +62 -3
  281. package/src/account/Generalized.ts +10 -0
  282. package/src/account/Ledger.ts +10 -0
  283. package/src/account/Memory.ts +83 -9
  284. package/src/account/Rpc.ts +69 -6
  285. package/src/aens.ts +35 -56
  286. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +3 -0
  287. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +2 -2
  288. package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -2
  289. package/src/aepp-wallet-communication/rpc/types.ts +14 -1
  290. package/src/aepp-wallet-communication/schema.ts +2 -0
  291. package/src/aepp-wallet-communication/wallet-detector.ts +10 -10
  292. package/src/apis/compiler/compiler.ts +93 -93
  293. package/src/apis/compiler/models/index.ts +1 -0
  294. package/src/apis/compiler/models/mappers.ts +178 -165
  295. package/src/apis/compiler/models/parameters.ts +18 -18
  296. package/src/apis/middleware/middleware.ts +462 -341
  297. package/src/apis/middleware/models/index.ts +258 -56
  298. package/src/apis/middleware/models/mappers.ts +2357 -1919
  299. package/src/apis/middleware/models/parameters.ts +172 -142
  300. package/src/apis/node/models/index.ts +79 -2
  301. package/src/apis/node/models/mappers.ts +1529 -1302
  302. package/src/apis/node/models/parameters.ts +51 -51
  303. package/src/apis/node/node.ts +420 -275
  304. package/src/chain.ts +42 -128
  305. package/src/channel/Base.ts +14 -47
  306. package/src/channel/Contract.ts +18 -26
  307. package/src/channel/Spend.ts +0 -8
  308. package/src/channel/internal.ts +115 -13
  309. package/src/contract/Contract.ts +36 -12
  310. package/src/contract/compiler/Base.ts +15 -8
  311. package/src/contract/compiler/Cli.ts +44 -23
  312. package/src/contract/compiler/Cli8.ts +17 -0
  313. package/src/contract/compiler/Http.ts +24 -14
  314. package/src/contract/compiler/HttpNode.ts +2 -2
  315. package/src/contract/delegation-signature.ts +11 -5
  316. package/src/contract/ga.ts +4 -3
  317. package/src/deprecated.ts +55 -1
  318. package/src/index-browser.ts +18 -11
  319. package/src/index.ts +1 -0
  320. package/src/oracle.ts +11 -54
  321. package/src/send-transaction.ts +136 -0
  322. package/src/spend.ts +25 -11
  323. package/src/tx/builder/common.ts +74 -0
  324. package/src/tx/builder/constants.ts +7 -9
  325. package/src/tx/builder/delegation/index.ts +28 -0
  326. package/src/tx/builder/delegation/schema.generated.ts +143 -0
  327. package/src/tx/builder/delegation/schema.ts +61 -0
  328. package/src/tx/builder/field-types/coin-amount.ts +3 -2
  329. package/src/tx/builder/field-types/ct-version.ts +1 -1
  330. package/src/tx/builder/field-types/entry.ts +1 -4
  331. package/src/tx/builder/field-types/fee.ts +72 -44
  332. package/src/tx/builder/field-types/gas-limit.ts +4 -4
  333. package/src/tx/builder/field-types/gas-price.ts +59 -3
  334. package/src/tx/builder/field-types/index.ts +31 -59
  335. package/src/tx/builder/field-types/name-fee.ts +1 -1
  336. package/src/tx/builder/field-types/nonce.ts +7 -1
  337. package/src/tx/builder/field-types/pointers2.ts +62 -0
  338. package/src/tx/builder/field-types/query-fee.ts +25 -0
  339. package/src/tx/builder/field-types/ttl.ts +13 -3
  340. package/src/tx/builder/field-types/with-default.ts +18 -0
  341. package/src/tx/builder/field-types/with-formatting.ts +18 -0
  342. package/src/tx/builder/helpers.ts +2 -2
  343. package/src/tx/builder/index.ts +42 -59
  344. package/src/tx/builder/schema.generated.ts +39 -3
  345. package/src/tx/builder/schema.ts +55 -29
  346. package/src/tx/execution-cost.ts +6 -5
  347. package/src/tx/validator.ts +31 -5
  348. package/src/utils/autorest.ts +37 -28
  349. package/src/utils/crypto.ts +24 -14
  350. package/src/utils/errors.ts +10 -0
  351. package/src/utils/hd-wallet.ts +2 -0
  352. package/src/utils/jwt.ts +126 -0
  353. package/src/utils/keystore.ts +6 -2
  354. package/src/utils/typed-data.ts +4 -30
  355. package/src/utils/wrap-proxy.ts +24 -0
  356. package/types-legacy/ts4.2/AeSdk.d.ts +3 -0
  357. package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -1
  358. package/types-legacy/ts4.2/AeSdkBase.d.ts +61 -6
  359. package/types-legacy/ts4.2/AeSdkMethods.d.ts +19 -7
  360. package/types-legacy/ts4.2/Middleware.d.ts +1 -1
  361. package/types-legacy/ts4.2/Node.d.ts +15 -2
  362. package/types-legacy/ts4.2/account/Base.d.ts +39 -3
  363. package/types-legacy/ts4.2/account/Generalized.d.ts +2 -0
  364. package/types-legacy/ts4.2/account/Ledger.d.ts +2 -0
  365. package/types-legacy/ts4.2/account/Memory.d.ts +15 -4
  366. package/types-legacy/ts4.2/account/Rpc.d.ts +16 -5
  367. package/types-legacy/ts4.2/aens.d.ts +17 -44
  368. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  369. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +14 -0
  370. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +2 -0
  371. package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +2 -5
  372. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -0
  373. package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +23 -5
  374. package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +164 -15
  375. package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +8 -1
  376. package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +6 -3
  377. package/types-legacy/ts4.2/apis/node/models/index.d.ts +66 -2
  378. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +5 -1
  379. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +2 -2
  380. package/types-legacy/ts4.2/apis/node/node.d.ts +24 -3
  381. package/types-legacy/ts4.2/chain.d.ts +14 -44
  382. package/types-legacy/ts4.2/channel/Base.d.ts +3 -47
  383. package/types-legacy/ts4.2/channel/Contract.d.ts +16 -25
  384. package/types-legacy/ts4.2/channel/Spend.d.ts +0 -8
  385. package/types-legacy/ts4.2/channel/internal.d.ts +104 -5
  386. package/types-legacy/ts4.2/contract/Contract.d.ts +10 -2
  387. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +14 -8
  388. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +12 -11
  389. package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +13 -0
  390. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +3 -9
  391. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +2 -5
  392. package/types-legacy/ts4.2/contract/delegation-signature.d.ts +2 -1
  393. package/types-legacy/ts4.2/contract/ga.d.ts +1 -2
  394. package/types-legacy/ts4.2/deprecated.d.ts +48 -0
  395. package/types-legacy/ts4.2/index-browser.d.ts +11 -6
  396. package/types-legacy/ts4.2/index.d.ts +1 -0
  397. package/types-legacy/ts4.2/oracle.d.ts +6 -37
  398. package/types-legacy/ts4.2/send-transaction.d.ts +53 -0
  399. package/types-legacy/ts4.2/spend.d.ts +4 -3
  400. package/types-legacy/ts4.2/tx/builder/common.d.ts +32 -0
  401. package/types-legacy/ts4.2/tx/builder/constants.d.ts +6 -5
  402. package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +20 -0
  403. package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +136 -0
  404. package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +141 -0
  405. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +2 -2
  406. package/types-legacy/ts4.2/tx/builder/field-types/ct-version.d.ts +1 -1
  407. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +19 -11
  408. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +10 -2
  409. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +31 -29
  410. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +1 -1
  411. package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +1 -0
  412. package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +26 -0
  413. package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +19 -0
  414. package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +9 -1
  415. package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +7 -0
  416. package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +7 -0
  417. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +2 -2
  418. package/types-legacy/ts4.2/tx/builder/index.d.ts +17 -10
  419. package/types-legacy/ts4.2/tx/builder/schema.d.ts +482 -257
  420. package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +39 -3
  421. package/types-legacy/ts4.2/tx/execution-cost.d.ts +6 -5
  422. package/types-legacy/ts4.2/utils/autorest.d.ts +2 -3
  423. package/types-legacy/ts4.2/utils/crypto.d.ts +9 -5
  424. package/types-legacy/ts4.2/utils/errors.d.ts +6 -0
  425. package/types-legacy/ts4.2/utils/hd-wallet.d.ts +2 -0
  426. package/types-legacy/ts4.2/utils/jwt.d.ts +53 -0
  427. package/types-legacy/ts4.2/utils/keystore.d.ts +6 -2
  428. package/types-legacy/ts4.2/utils/typed-data.d.ts +0 -2
  429. package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +2 -0
  430. package/types-legacy/ts4.5/AeSdk.d.ts +3 -0
  431. package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -1
  432. package/types-legacy/ts4.5/AeSdkBase.d.ts +61 -6
  433. package/types-legacy/ts4.5/AeSdkMethods.d.ts +19 -7
  434. package/types-legacy/ts4.5/Middleware.d.ts +1 -1
  435. package/types-legacy/ts4.5/Node.d.ts +15 -2
  436. package/types-legacy/ts4.5/account/Base.d.ts +39 -3
  437. package/types-legacy/ts4.5/account/Generalized.d.ts +2 -0
  438. package/types-legacy/ts4.5/account/Ledger.d.ts +2 -0
  439. package/types-legacy/ts4.5/account/Memory.d.ts +15 -4
  440. package/types-legacy/ts4.5/account/Rpc.d.ts +16 -5
  441. package/types-legacy/ts4.5/aens.d.ts +17 -44
  442. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  443. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +14 -0
  444. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +2 -0
  445. package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +2 -5
  446. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -0
  447. package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +23 -5
  448. package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +164 -15
  449. package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +8 -1
  450. package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +6 -3
  451. package/types-legacy/ts4.5/apis/node/models/index.d.ts +66 -2
  452. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +5 -1
  453. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +2 -2
  454. package/types-legacy/ts4.5/apis/node/node.d.ts +24 -3
  455. package/types-legacy/ts4.5/chain.d.ts +14 -44
  456. package/types-legacy/ts4.5/channel/Base.d.ts +3 -47
  457. package/types-legacy/ts4.5/channel/Contract.d.ts +16 -25
  458. package/types-legacy/ts4.5/channel/Spend.d.ts +0 -8
  459. package/types-legacy/ts4.5/channel/internal.d.ts +104 -5
  460. package/types-legacy/ts4.5/contract/Contract.d.ts +10 -2
  461. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +14 -8
  462. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +12 -11
  463. package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +13 -0
  464. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +3 -9
  465. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +2 -5
  466. package/types-legacy/ts4.5/contract/delegation-signature.d.ts +2 -1
  467. package/types-legacy/ts4.5/contract/ga.d.ts +1 -2
  468. package/types-legacy/ts4.5/deprecated.d.ts +48 -0
  469. package/types-legacy/ts4.5/index-browser.d.ts +11 -6
  470. package/types-legacy/ts4.5/index.d.ts +1 -0
  471. package/types-legacy/ts4.5/oracle.d.ts +6 -37
  472. package/types-legacy/ts4.5/send-transaction.d.ts +53 -0
  473. package/types-legacy/ts4.5/spend.d.ts +4 -3
  474. package/types-legacy/ts4.5/tx/builder/common.d.ts +32 -0
  475. package/types-legacy/ts4.5/tx/builder/constants.d.ts +6 -5
  476. package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +20 -0
  477. package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +136 -0
  478. package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +141 -0
  479. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +2 -2
  480. package/types-legacy/ts4.5/tx/builder/field-types/ct-version.d.ts +1 -1
  481. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +19 -11
  482. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +10 -2
  483. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +31 -29
  484. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +1 -1
  485. package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +1 -0
  486. package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +26 -0
  487. package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +19 -0
  488. package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +9 -1
  489. package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +7 -0
  490. package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +7 -0
  491. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +2 -2
  492. package/types-legacy/ts4.5/tx/builder/index.d.ts +17 -10
  493. package/types-legacy/ts4.5/tx/builder/schema.d.ts +482 -257
  494. package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +39 -3
  495. package/types-legacy/ts4.5/tx/execution-cost.d.ts +6 -5
  496. package/types-legacy/ts4.5/utils/autorest.d.ts +2 -3
  497. package/types-legacy/ts4.5/utils/crypto.d.ts +9 -5
  498. package/types-legacy/ts4.5/utils/errors.d.ts +6 -0
  499. package/types-legacy/ts4.5/utils/hd-wallet.d.ts +2 -0
  500. package/types-legacy/ts4.5/utils/jwt.d.ts +53 -0
  501. package/types-legacy/ts4.5/utils/keystore.d.ts +6 -2
  502. package/types-legacy/ts4.5/utils/typed-data.d.ts +0 -2
  503. package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +2 -0
  504. package/es/tx/builder/field-types/deposit.d.ts +0 -15
  505. package/es/tx/builder/field-types/deposit.mjs +0 -18
  506. package/es/tx/builder/field-types/deposit.mjs.map +0 -1
  507. package/src/tx/builder/field-types/deposit.ts +0 -23
  508. package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +0 -15
  509. package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +0 -15
@@ -6,6 +6,8 @@ export interface Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplica
6
6
  export interface Activity {
7
7
  /** The block hash */
8
8
  blockHash: string;
9
+ /** The time in which the block happened */
10
+ blockTime?: number;
9
11
  /** The block height */
10
12
  height: number;
11
13
  /** Any object */
@@ -252,8 +254,10 @@ export interface Channel {
252
254
  initiator?: string;
253
255
  /** Amount owned by initiator */
254
256
  initiatorAmount?: number;
255
- /** The last height in which the channel was updated */
257
+ /** The last height in which the channel was updated on chain */
256
258
  lastUpdatedHeight?: string;
259
+ /** The block time in which the channel was last updated */
260
+ lastUpdatedTime?: number;
257
261
  /** The transaction type of the last transaction that updated the channel */
258
262
  lastUpdatedTxType?: string;
259
263
  /** Amount of heights locked after a solo closing */
@@ -310,6 +314,15 @@ export interface ContractLog {
310
314
  microIndex?: number;
311
315
  parentContractId?: number;
312
316
  }
317
+ /** Contract creation info */
318
+ export interface Contract {
319
+ aexnType?: string;
320
+ blockHash?: string;
321
+ /** Any object */
322
+ createTx?: Record<string, unknown>;
323
+ sourceTxHash?: string;
324
+ sourceTxType?: string;
325
+ }
313
326
  export interface PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0 {
314
327
  data?: DeltaStat[];
315
328
  }
@@ -325,6 +338,8 @@ export interface DeltaStat {
325
338
  devReward?: number;
326
339
  /** The generation */
327
340
  height?: number;
341
+ /** The last transaction hash for this height */
342
+ lastTxHash?: string;
328
343
  /** The number of names activated */
329
344
  namesActivated?: number;
330
345
  /** The number of names expired */
@@ -428,6 +443,7 @@ export interface Name {
428
443
  status?: NameStatus;
429
444
  }
430
445
  export interface NameInfo {
446
+ activationTime?: number;
431
447
  activeFrom?: number;
432
448
  claims?: number[];
433
449
  expireHeight?: number;
@@ -501,6 +517,9 @@ export interface NameUpdate {
501
517
  /** Any object */
502
518
  tx?: Record<string, unknown>;
503
519
  }
520
+ export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
521
+ data?: Oracle[];
522
+ }
504
523
  export interface Oracle {
505
524
  /** The oracle active status */
506
525
  active: boolean;
@@ -516,6 +535,8 @@ export interface Oracle {
516
535
  queryFee: number;
517
536
  /** The tx index when the oracle is registered */
518
537
  register: number;
538
+ /** The block time in which the oracle was registered */
539
+ registerTime?: number;
519
540
  }
520
541
  /** The oracle's query and response formats */
521
542
  export interface OracleExtendsItem {
@@ -524,8 +545,71 @@ export interface OracleExtendsItem {
524
545
  /** The response format */
525
546
  response: string;
526
547
  }
527
- export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
528
- data?: Oracle[];
548
+ export interface Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0 {
549
+ data?: OracleQuery[];
550
+ }
551
+ 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;
558
+ /** The block height */
559
+ height: number;
560
+ /** The nonce */
561
+ nonce: number;
562
+ /** The oracle ID of this query */
563
+ oracleId: string;
564
+ /** Base64 encoding of the query */
565
+ query: string;
566
+ /** The query fee */
567
+ queryFee: number;
568
+ /** The query ID */
569
+ queryId: string;
570
+ /** Expiration of the query */
571
+ queryTtl: Record<string, unknown>;
572
+ response?: OracleResponse;
573
+ /** Expiration of the response */
574
+ responseTtl: Record<string, unknown>;
575
+ /** 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;
581
+ /** Transaction TTL */
582
+ ttl: number;
583
+ }
584
+ 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;
591
+ /** The block height */
592
+ height: number;
593
+ /** The nonce */
594
+ nonce: number;
595
+ /** The oracle ID of this response */
596
+ oracleId: string;
597
+ query?: OracleResponse;
598
+ /** The query ID */
599
+ queryId: string;
600
+ /** Base64 encoding of the response */
601
+ response: string;
602
+ /** Expiration of the response */
603
+ 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
+ /** Transaction TTL */
609
+ ttl: number;
610
+ }
611
+ export interface Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0 {
612
+ data?: OracleResponse[];
529
613
  }
530
614
  export interface Status {
531
615
  mdwAsyncTasks: StatusMdwAsyncTasks;
@@ -576,6 +660,8 @@ export interface TotalStat {
576
660
  devReward?: number;
577
661
  /** The generation */
578
662
  height?: number;
663
+ /** The last transaction hash for this height */
664
+ lastTxHash?: string;
579
665
  /** The number of names activated */
580
666
  namesActivated?: number;
581
667
  /** The number of names expired */
@@ -757,6 +843,10 @@ export interface Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSc
757
843
  }
758
844
  export interface PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema extends PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
759
845
  }
846
+ export interface Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema extends Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
847
+ }
848
+ export interface Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema extends Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
849
+ }
760
850
  export interface Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema extends PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
761
851
  }
762
852
  export interface PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema extends Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
@@ -909,20 +999,58 @@ export declare enum KnownActivityType {
909
999
  export type ActivityType = string;
910
1000
  /** Known values of {@link Enum3} that the service accepts. */
911
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 {
912
1040
  /** Active */
913
1041
  Active = "active",
914
1042
  /** Inactive */
915
1043
  Inactive = "inactive"
916
1044
  }
917
1045
  /**
918
- * Defines values for Enum3. \
919
- * {@link KnownEnum3} can be used interchangeably with Enum3,
1046
+ * Defines values for Enum5. \
1047
+ * {@link KnownEnum5} can be used interchangeably with Enum5,
920
1048
  * this enum contains the known values that the service supports.
921
1049
  * ### Known values supported by the service
922
1050
  * **active** \
923
1051
  * **inactive**
924
1052
  */
925
- export type Enum3 = string;
1053
+ export type Enum5 = string;
926
1054
  /** Known values of {@link NameStatus} that the service accepts. */
927
1055
  export declare enum KnownNameStatus {
928
1056
  /** Name */
@@ -1174,7 +1302,7 @@ export type GetAccountActivitiesResponse = PathsKlr2M2V2AccountsIdActivitiesGetR
1174
1302
  /** Optional parameters. */
1175
1303
  export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
1176
1304
  /** meta info field used on sorting */
1177
- by?: string;
1305
+ by?: Enum3;
1178
1306
  /** Sorts by name or symbol prefix */
1179
1307
  prefix?: string;
1180
1308
  }
@@ -1182,6 +1310,8 @@ export interface GetSortedAex141ContractsOptionalParams extends coreClient.Opera
1182
1310
  export type GetSortedAex141ContractsResponse = PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
1183
1311
  /** Optional parameters. */
1184
1312
  export interface GetAex141OwnedTokensOptionalParams extends coreClient.OperationOptions {
1313
+ /** Collection contract pubkey */
1314
+ contract?: string;
1185
1315
  }
1186
1316
  /** Contains response data for the getAex141OwnedTokens operation. */
1187
1317
  export type GetAex141OwnedTokensResponse = PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema;
@@ -1215,10 +1345,10 @@ export interface GetAex141ByContractOptionalParams extends coreClient.OperationO
1215
1345
  export type GetAex141ByContractResponse = Aex141Response;
1216
1346
  /** Optional parameters. */
1217
1347
  export interface GetSortedAex9TokensOptionalParams extends coreClient.OperationOptions {
1218
- /** meta info field used on sorting */
1219
- by?: string;
1220
1348
  /** Sorts by name or symbol */
1221
1349
  prefix?: string;
1350
+ /** meta info field used on sorting */
1351
+ by?: Enum4;
1222
1352
  }
1223
1353
  /** Contains response data for the getSortedAex9Tokens operation. */
1224
1354
  export type GetSortedAex9TokensResponse = Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema;
@@ -1298,7 +1428,7 @@ export type GetBlockByMbiResponse = Block;
1298
1428
  /** Optional parameters. */
1299
1429
  export interface GetChannelsOptionalParams extends coreClient.OperationOptions {
1300
1430
  /** Exclusively filter by active/inactive channels. */
1301
- state?: Enum3;
1431
+ state?: Enum5;
1302
1432
  }
1303
1433
  /** Contains response data for the getChannels operation. */
1304
1434
  export type GetChannelsResponse = Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema;
@@ -1319,6 +1449,8 @@ export interface GetContractsLogsOptionalParams extends coreClient.OperationOpti
1319
1449
  /** Name of the event */
1320
1450
  event?: string;
1321
1451
  /** Prefix of the contract called function */
1452
+ function?: string;
1453
+ /** Prefix of the contract called function */
1322
1454
  functionPrefix?: string;
1323
1455
  /** Data prefix from the contract call */
1324
1456
  data?: string;
@@ -1328,6 +1460,11 @@ export interface GetContractsLogsOptionalParams extends coreClient.OperationOpti
1328
1460
  /** Contains response data for the getContractsLogs operation. */
1329
1461
  export type GetContractsLogsResponse = PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema;
1330
1462
  /** Optional parameters. */
1463
+ export interface GetContractOptionalParams extends coreClient.OperationOptions {
1464
+ }
1465
+ /** Contains response data for the getContract operation. */
1466
+ export type GetContractResponse = Contract;
1467
+ /** Optional parameters. */
1331
1468
  export interface GetDeltastatsOptionalParams extends coreClient.OperationOptions {
1332
1469
  }
1333
1470
  /** Contains response data for the getDeltastats operation. */
@@ -1414,15 +1551,27 @@ export interface GetNameUpdatesOptionalParams extends coreClient.OperationOption
1414
1551
  /** Contains response data for the getNameUpdates operation. */
1415
1552
  export type GetNameUpdatesResponse = NameUpdate;
1416
1553
  /** Optional parameters. */
1554
+ export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
1555
+ /** oracle state (active or inactive) */
1556
+ state?: string;
1557
+ }
1558
+ /** Contains response data for the getOracles operation. */
1559
+ export type GetOraclesResponse = PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
1560
+ /** Optional parameters. */
1417
1561
  export interface GetOracleOptionalParams extends coreClient.OperationOptions {
1418
1562
  }
1419
1563
  /** Contains response data for the getOracle operation. */
1420
1564
  export type GetOracleResponse = Oracle;
1421
1565
  /** Optional parameters. */
1422
- export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
1566
+ export interface GetOracleQueriesOptionalParams extends coreClient.OperationOptions {
1423
1567
  }
1424
- /** Contains response data for the getOracles operation. */
1425
- export type GetOraclesResponse = PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
1568
+ /** Contains response data for the getOracleQueries operation. */
1569
+ export type GetOracleQueriesResponse = Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema;
1570
+ /** Optional parameters. */
1571
+ export interface GetOracleResponsesOptionalParams extends coreClient.OperationOptions {
1572
+ }
1573
+ /** Contains response data for the getOracleResponses operation. */
1574
+ export type GetOracleResponsesResponse = Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema;
1426
1575
  /** Optional parameters. */
1427
1576
  export interface GetStatusOptionalParams extends coreClient.OperationOptions {
1428
1577
  }
@@ -1440,14 +1589,14 @@ export interface GetTransfersOptionalParams extends coreClient.OperationOptions
1440
1589
  export type GetTransfersResponse = PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema;
1441
1590
  /** Optional parameters. */
1442
1591
  export interface GetTxsOptionalParams extends coreClient.OperationOptions {
1592
+ /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1593
+ contract?: string;
1443
1594
  /** The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1444
1595
  type?: Get0ItemsItem[];
1445
1596
  /** The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1446
1597
  typeGroup?: Get1ItemsItem[];
1447
1598
  /** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1448
1599
  account?: string;
1449
- /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1450
- contract?: string;
1451
1600
  /** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1452
1601
  channel?: string;
1453
1602
  /** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
@@ -33,6 +33,7 @@ export declare const Paths1Csrt0IV2ContractsCallsGetResponses200ContentApplicati
33
33
  export declare const ContractCall: coreClient.CompositeMapper;
34
34
  export declare const Paths9Ya94MV2ContractsLogsGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
35
35
  export declare const ContractLog: coreClient.CompositeMapper;
36
+ export declare const Contract: coreClient.CompositeMapper;
36
37
  export declare const PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
37
38
  export declare const DeltaStat: coreClient.CompositeMapper;
38
39
  export declare const Paths10TrrshV2KeyBlocksGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
@@ -55,9 +56,13 @@ export declare const NameClaim: coreClient.CompositeMapper;
55
56
  export declare const PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
56
57
  export declare const NameTransfer: coreClient.CompositeMapper;
57
58
  export declare const NameUpdate: coreClient.CompositeMapper;
59
+ export declare const PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
58
60
  export declare const Oracle: coreClient.CompositeMapper;
59
61
  export declare const OracleExtendsItem: coreClient.CompositeMapper;
60
- export declare const PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
62
+ export declare const Paths1LaqrzqV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
63
+ export declare const OracleQuery: coreClient.CompositeMapper;
64
+ export declare const OracleResponse: coreClient.CompositeMapper;
65
+ export declare const Paths3PnwziV2OraclesIdResponsesGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
61
66
  export declare const Status: coreClient.CompositeMapper;
62
67
  export declare const StatusMdwAsyncTasks: coreClient.CompositeMapper;
63
68
  export declare const PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0: coreClient.CompositeMapper;
@@ -94,6 +99,8 @@ export declare const PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplic
94
99
  export declare const PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
95
100
  export declare const Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
96
101
  export declare const PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
102
+ export declare const Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
103
+ export declare const Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
97
104
  export declare const Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
98
105
  export declare const PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
99
106
  export declare const PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema: coreClient.CompositeMapper;
@@ -3,19 +3,22 @@ export declare const accept: OperationParameter;
3
3
  export declare const $host: OperationURLParameter;
4
4
  export declare const id: OperationURLParameter;
5
5
  export declare const ownedOnly: OperationQueryParameter;
6
- export declare const type: OperationQueryParameter;
6
+ export declare const typeParam: OperationQueryParameter;
7
7
  export declare const limit: OperationQueryParameter;
8
8
  export declare const scope: OperationQueryParameter;
9
9
  export declare const direction: OperationQueryParameter;
10
10
  export declare const by: OperationQueryParameter;
11
11
  export declare const prefix: OperationQueryParameter;
12
12
  export declare const accountId: OperationURLParameter;
13
+ export declare const contract: OperationQueryParameter;
13
14
  export declare const contractId: OperationURLParameter;
14
15
  export declare const tokenId: OperationURLParameter;
15
16
  export declare const templateId: OperationURLParameter;
17
+ export declare const by1: OperationQueryParameter;
16
18
  export declare const accountId1: OperationURLParameter;
17
19
  export declare const sender: OperationURLParameter;
18
20
  export declare const recipient: OperationURLParameter;
21
+ export declare const by2: OperationQueryParameter;
19
22
  export declare const hash: OperationQueryParameter;
20
23
  export declare const hashOrKbi: OperationURLParameter;
21
24
  export declare const kbi: OperationURLParameter;
@@ -23,16 +26,16 @@ export declare const mbi: OperationURLParameter;
23
26
  export declare const state: OperationQueryParameter;
24
27
  export declare const contractId1: OperationQueryParameter;
25
28
  export declare const event: OperationQueryParameter;
29
+ export declare const functionParam: OperationQueryParameter;
26
30
  export declare const functionPrefix: OperationQueryParameter;
27
31
  export declare const data: OperationQueryParameter;
28
32
  export declare const aexnArgs: OperationQueryParameter;
29
33
  export declare const hash1: OperationURLParameter;
30
34
  export declare const ownedBy: OperationQueryParameter;
31
35
  export declare const state1: OperationQueryParameter;
32
- export declare const type1: OperationQueryParameter;
36
+ export declare const typeParam1: OperationQueryParameter;
33
37
  export declare const typeGroup: OperationQueryParameter;
34
38
  export declare const account: OperationQueryParameter;
35
- export declare const contract: OperationQueryParameter;
36
39
  export declare const channel: OperationQueryParameter;
37
40
  export declare const oracle: OperationQueryParameter;
38
41
  export declare const senderId: OperationQueryParameter;
@@ -31,6 +31,7 @@ export interface Header {
31
31
  }
32
32
  export interface ErrorModel {
33
33
  reason: string;
34
+ errorCode?: string;
34
35
  }
35
36
  export interface KeyBlock {
36
37
  /** Base58Check encoded tagged hash */
@@ -90,13 +91,13 @@ export interface SignedTx {
90
91
  blockHash: string;
91
92
  /** Base58Check encoded tagged hash */
92
93
  hash: string;
94
+ /** Base64Check encoded tagged byte array */
95
+ encodedTx?: string;
93
96
  /** At least one signature is required unless for Generalized Account Meta transactions */
94
97
  signatures: string[];
95
98
  }
96
99
  /** A mix of all transaction types. */
97
100
  export interface Tx {
98
- /** Polymorphic discriminator, which specifies the different types this object can be */
99
- type: "Tx";
100
101
  /** Base58Check encoded tagged pubkey */
101
102
  recipientId?: string;
102
103
  amount?: string;
@@ -183,6 +184,7 @@ export interface Tx {
183
184
  /** Base58Check encoded tagged pubkey */
184
185
  payerId?: string;
185
186
  version: string;
187
+ type: TxType;
186
188
  }
187
189
  export interface Delegates {
188
190
  initiator?: string[];
@@ -246,6 +248,8 @@ export interface DryRunAccount {
246
248
  export interface DryRunInputItem {
247
249
  /** Base64Check encoded tagged byte array */
248
250
  tx?: string;
251
+ /** Base58Check encoded tagged hash */
252
+ txHash?: string;
249
253
  callReq?: DryRunCallReq;
250
254
  }
251
255
  export interface DryRunCallReq {
@@ -374,6 +378,15 @@ export interface OracleQuery {
374
378
  responseTtl: Ttl;
375
379
  fee: string;
376
380
  }
381
+ export interface AuctionEntry {
382
+ /** Base58Check encoded tagged value */
383
+ id: string;
384
+ startedAt?: string;
385
+ endsAt: string;
386
+ /** Base58Check encoded tagged pubkey */
387
+ highestBidder: string;
388
+ highestBid: string;
389
+ }
377
390
  export interface NameEntry {
378
391
  /** Base58Check encoded tagged value */
379
392
  id: string;
@@ -405,13 +418,21 @@ export interface PeerPubKey {
405
418
  /** Base58Check encoded tagged pubkey */
406
419
  pubkey: string;
407
420
  }
421
+ export interface SyncStatus {
422
+ progress: number;
423
+ target: string;
424
+ speed: number;
425
+ estimate: string;
426
+ }
408
427
  export interface Status {
409
428
  /** Base58Check encoded tagged hash */
410
429
  genesisKeyBlockHash: string;
411
430
  solutions: string;
412
431
  difficulty: string;
432
+ hashrate: string;
413
433
  syncing: boolean;
414
434
  syncProgress?: number;
435
+ uptime: string;
415
436
  listening: boolean;
416
437
  protocols: Protocol[];
417
438
  nodeVersion: string;
@@ -434,6 +455,29 @@ export interface PeerConnections {
434
455
  inbound: string;
435
456
  outbound: string;
436
457
  }
458
+ export interface Currency {
459
+ name: string;
460
+ symbol: string;
461
+ subunit: string;
462
+ subunitsPerUnit: string;
463
+ fiatConverstionUrl?: string;
464
+ logo?: Image;
465
+ primaryColour: string;
466
+ secondaryColour: string;
467
+ networkName: string;
468
+ }
469
+ export interface Image {
470
+ type?: string;
471
+ data?: string;
472
+ }
473
+ export interface GasPricesItem {
474
+ /** Minimum gas price in the block range */
475
+ minGasPrice: string;
476
+ /** Percent of available gas used */
477
+ utilization: string;
478
+ /** Number of minutes from the top */
479
+ minutes: string;
480
+ }
437
481
  export interface SpendTx {
438
482
  /** Base58Check encoded tagged pubkey */
439
483
  recipientId: string;
@@ -1029,6 +1073,11 @@ export interface GetOracleQueryByPubkeyAndQueryIdOptionalParams extends coreClie
1029
1073
  /** Contains response data for the getOracleQueryByPubkeyAndQueryId operation. */
1030
1074
  export type GetOracleQueryByPubkeyAndQueryIdResponse = OracleQuery;
1031
1075
  /** Optional parameters. */
1076
+ export interface GetAuctionEntryByNameOptionalParams extends coreClient.OperationOptions {
1077
+ }
1078
+ /** Contains response data for the getAuctionEntryByName operation. */
1079
+ export type GetAuctionEntryByNameResponse = AuctionEntry;
1080
+ /** Optional parameters. */
1032
1081
  export interface GetNameEntryByNameOptionalParams extends coreClient.OperationOptions {
1033
1082
  }
1034
1083
  /** Contains response data for the getNameEntryByName operation. */
@@ -1044,6 +1093,11 @@ export interface GetPeerPubkeyOptionalParams extends coreClient.OperationOptions
1044
1093
  /** Contains response data for the getPeerPubkey operation. */
1045
1094
  export type GetPeerPubkeyResponse = PeerPubKey;
1046
1095
  /** Optional parameters. */
1096
+ export interface GetSyncStatusOptionalParams extends coreClient.OperationOptions {
1097
+ }
1098
+ /** Contains response data for the getSyncStatus operation. */
1099
+ export type GetSyncStatusResponse = SyncStatus;
1100
+ /** Optional parameters. */
1047
1101
  export interface GetStatusOptionalParams extends coreClient.OperationOptions {
1048
1102
  }
1049
1103
  /** Contains response data for the getStatus operation. */
@@ -1057,6 +1111,16 @@ export type GetChainEndsResponse = {
1057
1111
  body: string[];
1058
1112
  };
1059
1113
  /** Optional parameters. */
1114
+ export interface GetCurrencyOptionalParams extends coreClient.OperationOptions {
1115
+ }
1116
+ /** Contains response data for the getCurrency operation. */
1117
+ export type GetCurrencyResponse = Currency;
1118
+ /** Optional parameters. */
1119
+ export interface GetRecentGasPricesOptionalParams extends coreClient.OperationOptions {
1120
+ }
1121
+ /** Contains response data for the getRecentGasPrices operation. */
1122
+ export type GetRecentGasPricesResponse = GasPricesItem[];
1123
+ /** Optional parameters. */
1060
1124
  export interface NodeOptionalParams extends coreClient.ServiceClientOptions {
1061
1125
  /** If this flag is set to true, the response will have all integers set as strings */
1062
1126
  intAsString?: boolean;
@@ -36,12 +36,17 @@ export declare const PoI: coreClient.CompositeMapper;
36
36
  export declare const RegisteredOracle: coreClient.CompositeMapper;
37
37
  export declare const OracleQueries: coreClient.CompositeMapper;
38
38
  export declare const OracleQuery: coreClient.CompositeMapper;
39
+ export declare const AuctionEntry: coreClient.CompositeMapper;
39
40
  export declare const NameEntry: coreClient.CompositeMapper;
40
41
  export declare const Channel: coreClient.CompositeMapper;
41
42
  export declare const PeerPubKey: coreClient.CompositeMapper;
43
+ export declare const SyncStatus: coreClient.CompositeMapper;
42
44
  export declare const Status: coreClient.CompositeMapper;
43
45
  export declare const Protocol: coreClient.CompositeMapper;
44
46
  export declare const PeerConnections: coreClient.CompositeMapper;
47
+ export declare const Currency: coreClient.CompositeMapper;
48
+ export declare const Image: coreClient.CompositeMapper;
49
+ export declare const GasPricesItem: coreClient.CompositeMapper;
45
50
  export declare const SpendTx: coreClient.CompositeMapper;
46
51
  export declare const OracleRegisterTx: coreClient.CompositeMapper;
47
52
  export declare const OracleExtendTx: coreClient.CompositeMapper;
@@ -85,7 +90,6 @@ export declare const OffChainNewContract: coreClient.CompositeMapper;
85
90
  export declare const OffChainCallContract: coreClient.CompositeMapper;
86
91
  export declare const CreateContractUnsignedTx: coreClient.CompositeMapper;
87
92
  export declare let discriminators: {
88
- "Tx.Tx": coreClient.CompositeMapper;
89
93
  OffChainUpdate: coreClient.CompositeMapper;
90
94
  "OffChainUpdate.OffChainTransfer": coreClient.CompositeMapper;
91
95
  "OffChainUpdate.OffChainWithdrawal": coreClient.CompositeMapper;
@@ -10,8 +10,8 @@ export declare const strategy: OperationQueryParameter;
10
10
  export declare const contentType: OperationParameter;
11
11
  export declare const body: OperationParameter;
12
12
  export declare const body1: OperationParameter;
13
- export declare const from: OperationQueryParameter;
13
+ export declare const fromParam: OperationQueryParameter;
14
14
  export declare const limit: OperationQueryParameter;
15
- export declare const type: OperationQueryParameter;
15
+ export declare const typeParam: OperationQueryParameter;
16
16
  export declare const queryId: OperationURLParameter;
17
17
  export declare const name: OperationURLParameter;
@@ -1,5 +1,5 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- import { NodeOptionalParams, GetTopHeaderOptionalParams, GetTopHeaderResponse, GetCurrentKeyBlockOptionalParams, GetCurrentKeyBlockResponse, GetCurrentKeyBlockHashOptionalParams, GetCurrentKeyBlockHashResponse, GetCurrentKeyBlockHeightOptionalParams, GetCurrentKeyBlockHeightResponse, GetPendingKeyBlockOptionalParams, GetPendingKeyBlockResponse, GetKeyBlockByHashOptionalParams, GetKeyBlockByHashResponse, GetKeyBlockByHeightOptionalParams, GetKeyBlockByHeightResponse, GetMicroBlockHeaderByHashOptionalParams, GetMicroBlockHeaderByHashResponse, GetMicroBlockTransactionsByHashOptionalParams, GetMicroBlockTransactionsByHashResponse, GetMicroBlockTransactionByHashAndIndexOptionalParams, GetMicroBlockTransactionByHashAndIndexResponse, GetMicroBlockTransactionsCountByHashOptionalParams, GetMicroBlockTransactionsCountByHashResponse, GetCurrentGenerationOptionalParams, GetCurrentGenerationResponse, GetGenerationByHashOptionalParams, GetGenerationByHashResponse, GetGenerationByHeightOptionalParams, GetGenerationByHeightResponse, GetAccountByPubkeyOptionalParams, GetAccountByPubkeyResponse, GetAccountByPubkeyAndHeightOptionalParams, GetAccountByPubkeyAndHeightResponse, GetAccountByPubkeyAndHashOptionalParams, GetAccountByPubkeyAndHashResponse, GetPendingAccountTransactionsByPubkeyOptionalParams, GetPendingAccountTransactionsByPubkeyResponse, GetAccountNextNonceOptionalParams, GetAccountNextNonceResponse, DryRunInput, ProtectedDryRunTxsOptionalParams, ProtectedDryRunTxsResponse, GetTransactionByHashOptionalParams, GetTransactionByHashResponse, GetTransactionInfoByHashOptionalParams, GetTransactionInfoByHashResponse, EncodedTx, PostTransactionOptionalParams, PostTransactionResponse, GetContractOptionalParams, GetContractResponse, GetContractCodeOptionalParams, GetContractCodeResponse, GetContractPoIOptionalParams, GetContractPoIResponse, GetOracleByPubkeyOptionalParams, GetOracleByPubkeyResponse, GetOracleQueriesByPubkeyOptionalParams, GetOracleQueriesByPubkeyResponse, GetOracleQueryByPubkeyAndQueryIdOptionalParams, GetOracleQueryByPubkeyAndQueryIdResponse, GetNameEntryByNameOptionalParams, GetNameEntryByNameResponse, GetChannelByPubkeyOptionalParams, GetChannelByPubkeyResponse, GetPeerPubkeyOptionalParams, GetPeerPubkeyResponse, GetStatusOptionalParams, GetStatusResponse, GetChainEndsOptionalParams, GetChainEndsResponse } from "./models";
2
+ import { NodeOptionalParams, GetTopHeaderOptionalParams, GetTopHeaderResponse, GetCurrentKeyBlockOptionalParams, GetCurrentKeyBlockResponse, GetCurrentKeyBlockHashOptionalParams, GetCurrentKeyBlockHashResponse, GetCurrentKeyBlockHeightOptionalParams, GetCurrentKeyBlockHeightResponse, GetPendingKeyBlockOptionalParams, GetPendingKeyBlockResponse, GetKeyBlockByHashOptionalParams, GetKeyBlockByHashResponse, GetKeyBlockByHeightOptionalParams, GetKeyBlockByHeightResponse, GetMicroBlockHeaderByHashOptionalParams, GetMicroBlockHeaderByHashResponse, GetMicroBlockTransactionsByHashOptionalParams, GetMicroBlockTransactionsByHashResponse, GetMicroBlockTransactionByHashAndIndexOptionalParams, GetMicroBlockTransactionByHashAndIndexResponse, GetMicroBlockTransactionsCountByHashOptionalParams, GetMicroBlockTransactionsCountByHashResponse, GetCurrentGenerationOptionalParams, GetCurrentGenerationResponse, GetGenerationByHashOptionalParams, GetGenerationByHashResponse, GetGenerationByHeightOptionalParams, GetGenerationByHeightResponse, GetAccountByPubkeyOptionalParams, GetAccountByPubkeyResponse, GetAccountByPubkeyAndHeightOptionalParams, GetAccountByPubkeyAndHeightResponse, GetAccountByPubkeyAndHashOptionalParams, GetAccountByPubkeyAndHashResponse, GetPendingAccountTransactionsByPubkeyOptionalParams, GetPendingAccountTransactionsByPubkeyResponse, GetAccountNextNonceOptionalParams, GetAccountNextNonceResponse, DryRunInput, ProtectedDryRunTxsOptionalParams, ProtectedDryRunTxsResponse, GetTransactionByHashOptionalParams, GetTransactionByHashResponse, GetTransactionInfoByHashOptionalParams, GetTransactionInfoByHashResponse, EncodedTx, PostTransactionOptionalParams, PostTransactionResponse, GetContractOptionalParams, GetContractResponse, GetContractCodeOptionalParams, GetContractCodeResponse, GetContractPoIOptionalParams, GetContractPoIResponse, GetOracleByPubkeyOptionalParams, GetOracleByPubkeyResponse, GetOracleQueriesByPubkeyOptionalParams, GetOracleQueriesByPubkeyResponse, GetOracleQueryByPubkeyAndQueryIdOptionalParams, GetOracleQueryByPubkeyAndQueryIdResponse, GetAuctionEntryByNameOptionalParams, GetAuctionEntryByNameResponse, GetNameEntryByNameOptionalParams, GetNameEntryByNameResponse, GetChannelByPubkeyOptionalParams, GetChannelByPubkeyResponse, GetPeerPubkeyOptionalParams, GetPeerPubkeyResponse, GetSyncStatusOptionalParams, GetSyncStatusResponse, GetStatusOptionalParams, GetStatusResponse, GetChainEndsOptionalParams, GetChainEndsResponse, GetCurrencyOptionalParams, GetCurrencyResponse, GetRecentGasPricesOptionalParams, GetRecentGasPricesResponse } from "./models";
3
3
  export declare class Node extends coreClient.ServiceClient {
4
4
  $host: string;
5
5
  intAsString?: boolean;
@@ -123,8 +123,8 @@ export declare class Node extends coreClient.ServiceClient {
123
123
  */
124
124
  getAccountNextNonce(pubkey: string, options?: GetAccountNextNonceOptionalParams): Promise<GetAccountNextNonceResponse>;
125
125
  /**
126
- * Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and
127
- * OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a
126
+ * Dry-run unsigned transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx
127
+ * and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a
128
128
  * global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a
129
129
  * default value of 1000000 is being used instead.
130
130
  * @param body transactions
@@ -185,6 +185,12 @@ export declare class Node extends coreClient.ServiceClient {
185
185
  * @param options The options parameters.
186
186
  */
187
187
  getOracleQueryByPubkeyAndQueryId(pubkey: string, queryId: string, options?: GetOracleQueryByPubkeyAndQueryIdOptionalParams): Promise<GetOracleQueryByPubkeyAndQueryIdResponse>;
188
+ /**
189
+ * Get auction entry from naming system
190
+ * @param name The name key of the name entry
191
+ * @param options The options parameters.
192
+ */
193
+ getAuctionEntryByName(name: string, options?: GetAuctionEntryByNameOptionalParams): Promise<GetAuctionEntryByNameResponse>;
188
194
  /**
189
195
  * Get name entry from naming system
190
196
  * @param name The name key of the name entry
@@ -202,6 +208,11 @@ export declare class Node extends coreClient.ServiceClient {
202
208
  * @param options The options parameters.
203
209
  */
204
210
  getPeerPubkey(options?: GetPeerPubkeyOptionalParams): Promise<GetPeerPubkeyResponse>;
211
+ /**
212
+ * Get the sync status of a node
213
+ * @param options The options parameters.
214
+ */
215
+ getSyncStatus(options?: GetSyncStatusOptionalParams): Promise<GetSyncStatusResponse>;
205
216
  /**
206
217
  * Get the status of a node
207
218
  * @param options The options parameters.
@@ -212,4 +223,14 @@ export declare class Node extends coreClient.ServiceClient {
212
223
  * @param options The options parameters.
213
224
  */
214
225
  getChainEnds(options?: GetChainEndsOptionalParams): Promise<GetChainEndsResponse>;
226
+ /**
227
+ * Get the currency metadata of a node
228
+ * @param options The options parameters.
229
+ */
230
+ getCurrency(options?: GetCurrencyOptionalParams): Promise<GetCurrencyResponse>;
231
+ /**
232
+ * Get minimum gas prices in recent blocks
233
+ * @param options The options parameters.
234
+ */
235
+ getRecentGasPrices(options?: GetRecentGasPricesOptionalParams): Promise<GetRecentGasPricesResponse>;
215
236
  }