@aeternity/aepp-sdk 13.2.2 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (494) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/bin/aesophia_cli +0 -0
  4. package/bin/aesophia_cli_8 +0 -0
  5. package/dist/aepp-sdk.browser-script.js +1 -1
  6. package/dist/aepp-sdk.browser-script.js.map +1 -1
  7. package/dist/aepp-sdk.browser.js +1 -1
  8. package/dist/aepp-sdk.browser.js.map +1 -1
  9. package/dist/aepp-sdk.js +9171 -7086
  10. package/dist/aepp-sdk.js.map +1 -1
  11. package/es/AeSdk.d.ts +3 -0
  12. package/es/AeSdk.mjs +12 -12
  13. package/es/AeSdk.mjs.map +1 -1
  14. package/es/AeSdkAepp.d.ts +0 -1
  15. package/es/AeSdkAepp.mjs +12 -16
  16. package/es/AeSdkAepp.mjs.map +1 -1
  17. package/es/AeSdkBase.d.ts +61 -6
  18. package/es/AeSdkBase.mjs +150 -69
  19. package/es/AeSdkBase.mjs.map +1 -1
  20. package/es/AeSdkMethods.d.ts +19 -7
  21. package/es/AeSdkMethods.mjs +39 -38
  22. package/es/AeSdkMethods.mjs.map +1 -1
  23. package/es/AeSdkWallet.mjs +86 -55
  24. package/es/AeSdkWallet.mjs.map +1 -1
  25. package/es/Middleware.mjs +31 -27
  26. package/es/Middleware.mjs.map +1 -1
  27. package/es/MiddlewareSubscriber.mjs +5 -14
  28. package/es/MiddlewareSubscriber.mjs.map +1 -1
  29. package/es/Node.d.ts +10 -2
  30. package/es/Node.mjs +53 -54
  31. package/es/Node.mjs.map +1 -1
  32. package/es/account/Base.d.ts +39 -3
  33. package/es/account/Base.mjs +35 -1
  34. package/es/account/Base.mjs.map +1 -1
  35. package/es/account/Generalized.d.ts +2 -0
  36. package/es/account/Generalized.mjs +15 -6
  37. package/es/account/Generalized.mjs.map +1 -1
  38. package/es/account/Ledger.d.ts +2 -0
  39. package/es/account/Ledger.mjs +14 -5
  40. package/es/account/Ledger.mjs.map +1 -1
  41. package/es/account/LedgerFactory.mjs +4 -6
  42. package/es/account/LedgerFactory.mjs.map +1 -1
  43. package/es/account/Memory.d.ts +15 -4
  44. package/es/account/Memory.mjs +96 -31
  45. package/es/account/Memory.mjs.map +1 -1
  46. package/es/account/Rpc.d.ts +16 -5
  47. package/es/account/Rpc.mjs +94 -21
  48. package/es/account/Rpc.mjs.map +1 -1
  49. package/es/aens.d.ts +17 -44
  50. package/es/aens.mjs +32 -71
  51. package/es/aens.mjs.map +1 -1
  52. package/es/aepp-wallet-communication/connection/Browser.mjs +3 -4
  53. package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
  54. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  55. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +7 -5
  56. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
  57. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +8 -9
  58. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
  59. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +7 -7
  60. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
  61. package/es/aepp-wallet-communication/rpc/types.d.ts +14 -0
  62. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
  63. package/es/aepp-wallet-communication/schema.d.ts +2 -0
  64. package/es/aepp-wallet-communication/schema.mjs +2 -0
  65. package/es/aepp-wallet-communication/schema.mjs.map +1 -1
  66. package/es/aepp-wallet-communication/wallet-detector.mjs +4 -5
  67. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
  68. package/es/apis/compiler/compiler.mjs.map +1 -1
  69. package/es/apis/compiler/models/index.d.ts +1 -0
  70. package/es/apis/compiler/models/index.mjs.map +1 -1
  71. package/es/apis/compiler/models/mappers.mjs +13 -0
  72. package/es/apis/compiler/models/mappers.mjs.map +1 -1
  73. package/es/apis/compiler/models/parameters.mjs.map +1 -1
  74. package/es/apis/middleware/middleware.d.ts +23 -5
  75. package/es/apis/middleware/middleware.mjs +114 -18
  76. package/es/apis/middleware/middleware.mjs.map +1 -1
  77. package/es/apis/middleware/models/index.d.ts +164 -15
  78. package/es/apis/middleware/models/index.mjs +53 -3
  79. package/es/apis/middleware/models/index.mjs.map +1 -1
  80. package/es/apis/middleware/models/mappers.d.ts +8 -1
  81. package/es/apis/middleware/models/mappers.mjs +376 -3
  82. package/es/apis/middleware/models/mappers.mjs.map +1 -1
  83. package/es/apis/middleware/models/parameters.d.ts +6 -3
  84. package/es/apis/middleware/models/parameters.mjs +38 -11
  85. package/es/apis/middleware/models/parameters.mjs.map +1 -1
  86. package/es/apis/node/models/index.d.ts +66 -2
  87. package/es/apis/node/models/index.mjs.map +1 -1
  88. package/es/apis/node/models/mappers.d.ts +5 -1
  89. package/es/apis/node/models/mappers.mjs +229 -7
  90. package/es/apis/node/models/mappers.mjs.map +1 -1
  91. package/es/apis/node/models/parameters.d.ts +2 -2
  92. package/es/apis/node/models/parameters.mjs +2 -2
  93. package/es/apis/node/models/parameters.mjs.map +1 -1
  94. package/es/apis/node/node.d.ts +24 -3
  95. package/es/apis/node/node.mjs +135 -3
  96. package/es/apis/node/node.mjs.map +1 -1
  97. package/es/chain.d.ts +14 -44
  98. package/es/chain.mjs +125 -219
  99. package/es/chain.mjs.map +1 -1
  100. package/es/channel/Base.d.ts +3 -47
  101. package/es/channel/Base.mjs +21 -54
  102. package/es/channel/Base.mjs.map +1 -1
  103. package/es/channel/Contract.d.ts +16 -25
  104. package/es/channel/Contract.mjs +39 -63
  105. package/es/channel/Contract.mjs.map +1 -1
  106. package/es/channel/Spend.d.ts +0 -8
  107. package/es/channel/Spend.mjs +17 -29
  108. package/es/channel/Spend.mjs.map +1 -1
  109. package/es/channel/handlers.mjs +1 -1
  110. package/es/channel/handlers.mjs.map +1 -1
  111. package/es/channel/internal.d.ts +104 -5
  112. package/es/channel/internal.mjs +26 -34
  113. package/es/channel/internal.mjs.map +1 -1
  114. package/es/contract/Contract.d.ts +9 -1
  115. package/es/contract/Contract.mjs +67 -73
  116. package/es/contract/Contract.mjs.map +1 -1
  117. package/es/contract/compiler/Base.d.ts +14 -8
  118. package/es/contract/compiler/Base.mjs.map +1 -1
  119. package/es/contract/compiler/Cli.d.ts +5 -9
  120. package/es/contract/compiler/Cli.mjs +45 -23
  121. package/es/contract/compiler/Cli.mjs.map +1 -1
  122. package/es/contract/compiler/Cli8.d.ts +13 -0
  123. package/es/contract/compiler/Cli8.mjs +22 -0
  124. package/es/contract/compiler/Cli8.mjs.map +1 -0
  125. package/es/contract/compiler/Http.d.ts +3 -9
  126. package/es/contract/compiler/Http.mjs +28 -16
  127. package/es/contract/compiler/Http.mjs.map +1 -1
  128. package/es/contract/compiler/HttpNode.d.ts +2 -5
  129. package/es/contract/compiler/HttpNode.mjs.map +1 -1
  130. package/es/contract/delegation-signature.d.ts +2 -1
  131. package/es/contract/delegation-signature.mjs +18 -14
  132. package/es/contract/delegation-signature.mjs.map +1 -1
  133. package/es/contract/ga.d.ts +1 -2
  134. package/es/contract/ga.mjs +23 -25
  135. package/es/contract/ga.mjs.map +1 -1
  136. package/es/deprecated.d.ts +38 -0
  137. package/es/deprecated.mjs +45 -0
  138. package/es/deprecated.mjs.map +1 -1
  139. package/es/index-browser.d.ts +10 -5
  140. package/es/index-browser.mjs +9 -5
  141. package/es/index-browser.mjs.map +1 -1
  142. package/es/index.d.ts +1 -0
  143. package/es/index.mjs +1 -0
  144. package/es/index.mjs.map +1 -1
  145. package/es/oracle.d.ts +6 -37
  146. package/es/oracle.mjs +32 -66
  147. package/es/oracle.mjs.map +1 -1
  148. package/es/send-transaction.d.ts +53 -0
  149. package/es/send-transaction.mjs +109 -0
  150. package/es/send-transaction.mjs.map +1 -0
  151. package/es/spend.d.ts +4 -3
  152. package/es/spend.mjs +6 -1
  153. package/es/spend.mjs.map +1 -1
  154. package/es/tx/builder/common.d.ts +29 -0
  155. package/es/tx/builder/common.mjs +42 -0
  156. package/es/tx/builder/common.mjs.map +1 -0
  157. package/es/tx/builder/constants.d.ts +4 -4
  158. package/es/tx/builder/constants.mjs +6 -15
  159. package/es/tx/builder/constants.mjs.map +1 -1
  160. package/es/tx/builder/delegation/index.d.ts +20 -0
  161. package/es/tx/builder/delegation/index.mjs +24 -0
  162. package/es/tx/builder/delegation/index.mjs.map +1 -0
  163. package/es/tx/builder/delegation/schema.d.ts +130 -0
  164. package/es/tx/builder/delegation/schema.generated.d.ts +141 -0
  165. package/es/tx/builder/delegation/schema.generated.mjs +2 -0
  166. package/es/tx/builder/delegation/schema.generated.mjs.map +1 -0
  167. package/es/tx/builder/delegation/schema.mjs +54 -0
  168. package/es/tx/builder/delegation/schema.mjs.map +1 -0
  169. package/es/tx/builder/field-types/abi-version.mjs +8 -11
  170. package/es/tx/builder/field-types/abi-version.mjs.map +1 -1
  171. package/es/tx/builder/field-types/address.mjs +1 -4
  172. package/es/tx/builder/field-types/address.mjs.map +1 -1
  173. package/es/tx/builder/field-types/coin-amount.d.ts +2 -2
  174. package/es/tx/builder/field-types/coin-amount.mjs +6 -6
  175. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
  176. package/es/tx/builder/field-types/ct-version.mjs +3 -4
  177. package/es/tx/builder/field-types/ct-version.mjs.map +1 -1
  178. package/es/tx/builder/field-types/entry.mjs +7 -13
  179. package/es/tx/builder/field-types/entry.mjs.map +1 -1
  180. package/es/tx/builder/field-types/fee.d.ts +19 -11
  181. package/es/tx/builder/field-types/fee.mjs +56 -38
  182. package/es/tx/builder/field-types/fee.mjs.map +1 -1
  183. package/es/tx/builder/field-types/gas-limit.mjs +13 -15
  184. package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
  185. package/es/tx/builder/field-types/gas-price.d.ts +10 -2
  186. package/es/tx/builder/field-types/gas-price.mjs +52 -3
  187. package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
  188. package/es/tx/builder/field-types/index.d.ts +31 -29
  189. package/es/tx/builder/field-types/index.mjs +31 -29
  190. package/es/tx/builder/field-types/index.mjs.map +1 -1
  191. package/es/tx/builder/field-types/map.mjs +20 -31
  192. package/es/tx/builder/field-types/map.mjs.map +1 -1
  193. package/es/tx/builder/field-types/mptree.mjs +14 -29
  194. package/es/tx/builder/field-types/mptree.mjs.map +1 -1
  195. package/es/tx/builder/field-types/name-fee.d.ts +1 -1
  196. package/es/tx/builder/field-types/name-fee.mjs +1 -1
  197. package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
  198. package/es/tx/builder/field-types/nonce.d.ts +1 -0
  199. package/es/tx/builder/field-types/nonce.mjs +2 -0
  200. package/es/tx/builder/field-types/nonce.mjs.map +1 -1
  201. package/es/tx/builder/field-types/pointers.mjs +4 -7
  202. package/es/tx/builder/field-types/pointers.mjs.map +1 -1
  203. package/es/tx/builder/field-types/pointers2.d.ts +23 -0
  204. package/es/tx/builder/field-types/pointers2.mjs +65 -0
  205. package/es/tx/builder/field-types/pointers2.mjs.map +1 -0
  206. package/es/tx/builder/field-types/query-fee.d.ts +19 -0
  207. package/es/tx/builder/field-types/query-fee.mjs +20 -0
  208. package/es/tx/builder/field-types/query-fee.mjs.map +1 -0
  209. package/es/tx/builder/field-types/ttl.d.ts +9 -1
  210. package/es/tx/builder/field-types/ttl.mjs +19 -8
  211. package/es/tx/builder/field-types/ttl.mjs.map +1 -1
  212. package/es/tx/builder/field-types/with-default.d.ts +7 -0
  213. package/es/tx/builder/field-types/with-default.mjs +9 -0
  214. package/es/tx/builder/field-types/with-default.mjs.map +1 -0
  215. package/es/tx/builder/field-types/with-formatting.d.ts +7 -0
  216. package/es/tx/builder/field-types/with-formatting.mjs +9 -0
  217. package/es/tx/builder/field-types/with-formatting.mjs.map +1 -0
  218. package/es/tx/builder/field-types/wrapped.mjs +6 -8
  219. package/es/tx/builder/field-types/wrapped.mjs.map +1 -1
  220. package/es/tx/builder/helpers.d.ts +2 -2
  221. package/es/tx/builder/helpers.mjs +12 -21
  222. package/es/tx/builder/helpers.mjs.map +1 -1
  223. package/es/tx/builder/index.d.ts +17 -10
  224. package/es/tx/builder/index.mjs +39 -65
  225. package/es/tx/builder/index.mjs.map +1 -1
  226. package/es/tx/builder/schema.d.ts +478 -257
  227. package/es/tx/builder/schema.generated.d.ts +39 -3
  228. package/es/tx/builder/schema.generated.mjs.map +1 -1
  229. package/es/tx/builder/schema.mjs +48 -36
  230. package/es/tx/builder/schema.mjs.map +1 -1
  231. package/es/tx/execution-cost.d.ts +6 -5
  232. package/es/tx/execution-cost.mjs +16 -17
  233. package/es/tx/execution-cost.mjs.map +1 -1
  234. package/es/tx/transaction-signer.mjs +1 -4
  235. package/es/tx/transaction-signer.mjs.map +1 -1
  236. package/es/tx/validator.mjs +61 -42
  237. package/es/tx/validator.mjs.map +1 -1
  238. package/es/utils/amount-formatter.mjs +15 -22
  239. package/es/utils/amount-formatter.mjs.map +1 -1
  240. package/es/utils/autorest.d.ts +2 -3
  241. package/es/utils/autorest.mjs +40 -24
  242. package/es/utils/autorest.mjs.map +1 -1
  243. package/es/utils/bytes.mjs +1 -2
  244. package/es/utils/bytes.mjs.map +1 -1
  245. package/es/utils/crypto.d.ts +8 -4
  246. package/es/utils/crypto.mjs +17 -13
  247. package/es/utils/crypto.mjs.map +1 -1
  248. package/es/utils/errors.d.ts +6 -0
  249. package/es/utils/errors.mjs +12 -6
  250. package/es/utils/errors.mjs.map +1 -1
  251. package/es/utils/hd-wallet.d.ts +2 -0
  252. package/es/utils/hd-wallet.mjs +6 -5
  253. package/es/utils/hd-wallet.mjs.map +1 -1
  254. package/es/utils/json-big.mjs +2 -10
  255. package/es/utils/json-big.mjs.map +1 -1
  256. package/es/utils/jwt.d.ts +53 -0
  257. package/es/utils/jwt.mjs +120 -0
  258. package/es/utils/jwt.mjs.map +1 -0
  259. package/es/utils/keystore.d.ts +6 -2
  260. package/es/utils/keystore.mjs +8 -16
  261. package/es/utils/keystore.mjs.map +1 -1
  262. package/es/utils/typed-data.mjs +1 -0
  263. package/es/utils/typed-data.mjs.map +1 -1
  264. package/es/utils/wrap-proxy.d.ts +2 -0
  265. package/es/utils/wrap-proxy.mjs +15 -0
  266. package/es/utils/wrap-proxy.mjs.map +1 -0
  267. package/package.json +57 -51
  268. package/src/AeSdk.ts +3 -0
  269. package/src/AeSdkAepp.ts +0 -1
  270. package/src/AeSdkBase.ts +97 -10
  271. package/src/AeSdkMethods.ts +37 -33
  272. package/src/AeSdkWallet.ts +22 -3
  273. package/src/Middleware.ts +16 -8
  274. package/src/MiddlewareSubscriber.ts +1 -1
  275. package/src/Node.ts +37 -18
  276. package/src/account/Base.ts +62 -3
  277. package/src/account/Generalized.ts +10 -0
  278. package/src/account/Ledger.ts +10 -0
  279. package/src/account/Memory.ts +83 -9
  280. package/src/account/Rpc.ts +69 -6
  281. package/src/aens.ts +35 -56
  282. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +3 -0
  283. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +2 -2
  284. package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -2
  285. package/src/aepp-wallet-communication/rpc/types.ts +13 -0
  286. package/src/aepp-wallet-communication/schema.ts +2 -0
  287. package/src/apis/compiler/compiler.ts +93 -93
  288. package/src/apis/compiler/models/index.ts +1 -0
  289. package/src/apis/compiler/models/mappers.ts +178 -165
  290. package/src/apis/compiler/models/parameters.ts +18 -18
  291. package/src/apis/middleware/middleware.ts +462 -341
  292. package/src/apis/middleware/models/index.ts +258 -56
  293. package/src/apis/middleware/models/mappers.ts +2357 -1919
  294. package/src/apis/middleware/models/parameters.ts +172 -142
  295. package/src/apis/node/models/index.ts +79 -2
  296. package/src/apis/node/models/mappers.ts +1529 -1302
  297. package/src/apis/node/models/parameters.ts +51 -51
  298. package/src/apis/node/node.ts +420 -275
  299. package/src/chain.ts +42 -128
  300. package/src/channel/Base.ts +14 -47
  301. package/src/channel/Contract.ts +18 -26
  302. package/src/channel/Spend.ts +0 -8
  303. package/src/channel/internal.ts +115 -13
  304. package/src/contract/Contract.ts +26 -8
  305. package/src/contract/compiler/Base.ts +15 -8
  306. package/src/contract/compiler/Cli.ts +37 -21
  307. package/src/contract/compiler/Cli8.ts +17 -0
  308. package/src/contract/compiler/Http.ts +24 -14
  309. package/src/contract/compiler/HttpNode.ts +2 -2
  310. package/src/contract/delegation-signature.ts +11 -5
  311. package/src/contract/ga.ts +4 -3
  312. package/src/deprecated.ts +36 -0
  313. package/src/index-browser.ts +14 -7
  314. package/src/index.ts +1 -0
  315. package/src/oracle.ts +11 -54
  316. package/src/send-transaction.ts +136 -0
  317. package/src/spend.ts +25 -11
  318. package/src/tx/builder/common.ts +74 -0
  319. package/src/tx/builder/constants.ts +6 -9
  320. package/src/tx/builder/delegation/index.ts +28 -0
  321. package/src/tx/builder/delegation/schema.generated.ts +143 -0
  322. package/src/tx/builder/delegation/schema.ts +61 -0
  323. package/src/tx/builder/field-types/coin-amount.ts +3 -2
  324. package/src/tx/builder/field-types/entry.ts +1 -4
  325. package/src/tx/builder/field-types/fee.ts +71 -43
  326. package/src/tx/builder/field-types/gas-limit.ts +4 -4
  327. package/src/tx/builder/field-types/gas-price.ts +58 -2
  328. package/src/tx/builder/field-types/index.ts +31 -59
  329. package/src/tx/builder/field-types/name-fee.ts +1 -1
  330. package/src/tx/builder/field-types/nonce.ts +7 -1
  331. package/src/tx/builder/field-types/pointers2.ts +62 -0
  332. package/src/tx/builder/field-types/query-fee.ts +25 -0
  333. package/src/tx/builder/field-types/ttl.ts +13 -3
  334. package/src/tx/builder/field-types/with-default.ts +18 -0
  335. package/src/tx/builder/field-types/with-formatting.ts +18 -0
  336. package/src/tx/builder/helpers.ts +2 -2
  337. package/src/tx/builder/index.ts +42 -59
  338. package/src/tx/builder/schema.generated.ts +39 -3
  339. package/src/tx/builder/schema.ts +55 -29
  340. package/src/tx/execution-cost.ts +6 -5
  341. package/src/tx/validator.ts +31 -5
  342. package/src/utils/autorest.ts +36 -27
  343. package/src/utils/crypto.ts +23 -13
  344. package/src/utils/errors.ts +10 -0
  345. package/src/utils/hd-wallet.ts +2 -0
  346. package/src/utils/jwt.ts +126 -0
  347. package/src/utils/keystore.ts +6 -2
  348. package/src/utils/wrap-proxy.ts +24 -0
  349. package/types-legacy/ts4.2/AeSdk.d.ts +3 -0
  350. package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -1
  351. package/types-legacy/ts4.2/AeSdkBase.d.ts +61 -6
  352. package/types-legacy/ts4.2/AeSdkMethods.d.ts +19 -7
  353. package/types-legacy/ts4.2/Node.d.ts +14 -1
  354. package/types-legacy/ts4.2/account/Base.d.ts +39 -3
  355. package/types-legacy/ts4.2/account/Generalized.d.ts +2 -0
  356. package/types-legacy/ts4.2/account/Ledger.d.ts +2 -0
  357. package/types-legacy/ts4.2/account/Memory.d.ts +15 -4
  358. package/types-legacy/ts4.2/account/Rpc.d.ts +16 -5
  359. package/types-legacy/ts4.2/aens.d.ts +17 -44
  360. package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  361. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +14 -0
  362. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +2 -0
  363. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -0
  364. package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +23 -5
  365. package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +164 -15
  366. package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +8 -1
  367. package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +6 -3
  368. package/types-legacy/ts4.2/apis/node/models/index.d.ts +66 -2
  369. package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +5 -1
  370. package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +2 -2
  371. package/types-legacy/ts4.2/apis/node/node.d.ts +24 -3
  372. package/types-legacy/ts4.2/chain.d.ts +14 -44
  373. package/types-legacy/ts4.2/channel/Base.d.ts +3 -47
  374. package/types-legacy/ts4.2/channel/Contract.d.ts +16 -25
  375. package/types-legacy/ts4.2/channel/Spend.d.ts +0 -8
  376. package/types-legacy/ts4.2/channel/internal.d.ts +104 -5
  377. package/types-legacy/ts4.2/contract/Contract.d.ts +9 -1
  378. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +14 -8
  379. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +5 -9
  380. package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +13 -0
  381. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +3 -9
  382. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +2 -5
  383. package/types-legacy/ts4.2/contract/delegation-signature.d.ts +2 -1
  384. package/types-legacy/ts4.2/contract/ga.d.ts +1 -2
  385. package/types-legacy/ts4.2/deprecated.d.ts +38 -0
  386. package/types-legacy/ts4.2/index-browser.d.ts +10 -5
  387. package/types-legacy/ts4.2/index.d.ts +1 -0
  388. package/types-legacy/ts4.2/oracle.d.ts +6 -37
  389. package/types-legacy/ts4.2/send-transaction.d.ts +53 -0
  390. package/types-legacy/ts4.2/spend.d.ts +4 -3
  391. package/types-legacy/ts4.2/tx/builder/common.d.ts +32 -0
  392. package/types-legacy/ts4.2/tx/builder/constants.d.ts +4 -4
  393. package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +20 -0
  394. package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +136 -0
  395. package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +141 -0
  396. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +2 -2
  397. package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +19 -11
  398. package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +10 -2
  399. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +31 -29
  400. package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +1 -1
  401. package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +1 -0
  402. package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +26 -0
  403. package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +19 -0
  404. package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +9 -1
  405. package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +7 -0
  406. package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +7 -0
  407. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +2 -2
  408. package/types-legacy/ts4.2/tx/builder/index.d.ts +17 -10
  409. package/types-legacy/ts4.2/tx/builder/schema.d.ts +482 -257
  410. package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +39 -3
  411. package/types-legacy/ts4.2/tx/execution-cost.d.ts +6 -5
  412. package/types-legacy/ts4.2/utils/autorest.d.ts +2 -3
  413. package/types-legacy/ts4.2/utils/crypto.d.ts +8 -4
  414. package/types-legacy/ts4.2/utils/errors.d.ts +6 -0
  415. package/types-legacy/ts4.2/utils/hd-wallet.d.ts +2 -0
  416. package/types-legacy/ts4.2/utils/jwt.d.ts +53 -0
  417. package/types-legacy/ts4.2/utils/keystore.d.ts +6 -2
  418. package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +2 -0
  419. package/types-legacy/ts4.5/AeSdk.d.ts +3 -0
  420. package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -1
  421. package/types-legacy/ts4.5/AeSdkBase.d.ts +61 -6
  422. package/types-legacy/ts4.5/AeSdkMethods.d.ts +19 -7
  423. package/types-legacy/ts4.5/Node.d.ts +14 -1
  424. package/types-legacy/ts4.5/account/Base.d.ts +39 -3
  425. package/types-legacy/ts4.5/account/Generalized.d.ts +2 -0
  426. package/types-legacy/ts4.5/account/Ledger.d.ts +2 -0
  427. package/types-legacy/ts4.5/account/Memory.d.ts +15 -4
  428. package/types-legacy/ts4.5/account/Rpc.d.ts +16 -5
  429. package/types-legacy/ts4.5/aens.d.ts +17 -44
  430. package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
  431. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +14 -0
  432. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +2 -0
  433. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -0
  434. package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +23 -5
  435. package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +164 -15
  436. package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +8 -1
  437. package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +6 -3
  438. package/types-legacy/ts4.5/apis/node/models/index.d.ts +66 -2
  439. package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +5 -1
  440. package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +2 -2
  441. package/types-legacy/ts4.5/apis/node/node.d.ts +24 -3
  442. package/types-legacy/ts4.5/chain.d.ts +14 -44
  443. package/types-legacy/ts4.5/channel/Base.d.ts +3 -47
  444. package/types-legacy/ts4.5/channel/Contract.d.ts +16 -25
  445. package/types-legacy/ts4.5/channel/Spend.d.ts +0 -8
  446. package/types-legacy/ts4.5/channel/internal.d.ts +104 -5
  447. package/types-legacy/ts4.5/contract/Contract.d.ts +9 -1
  448. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +14 -8
  449. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +5 -9
  450. package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +13 -0
  451. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +3 -9
  452. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +2 -5
  453. package/types-legacy/ts4.5/contract/delegation-signature.d.ts +2 -1
  454. package/types-legacy/ts4.5/contract/ga.d.ts +1 -2
  455. package/types-legacy/ts4.5/deprecated.d.ts +38 -0
  456. package/types-legacy/ts4.5/index-browser.d.ts +10 -5
  457. package/types-legacy/ts4.5/index.d.ts +1 -0
  458. package/types-legacy/ts4.5/oracle.d.ts +6 -37
  459. package/types-legacy/ts4.5/send-transaction.d.ts +53 -0
  460. package/types-legacy/ts4.5/spend.d.ts +4 -3
  461. package/types-legacy/ts4.5/tx/builder/common.d.ts +32 -0
  462. package/types-legacy/ts4.5/tx/builder/constants.d.ts +4 -4
  463. package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +20 -0
  464. package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +136 -0
  465. package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +141 -0
  466. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +2 -2
  467. package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +19 -11
  468. package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +10 -2
  469. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +31 -29
  470. package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +1 -1
  471. package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +1 -0
  472. package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +26 -0
  473. package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +19 -0
  474. package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +9 -1
  475. package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +7 -0
  476. package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +7 -0
  477. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +2 -2
  478. package/types-legacy/ts4.5/tx/builder/index.d.ts +17 -10
  479. package/types-legacy/ts4.5/tx/builder/schema.d.ts +482 -257
  480. package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +39 -3
  481. package/types-legacy/ts4.5/tx/execution-cost.d.ts +6 -5
  482. package/types-legacy/ts4.5/utils/autorest.d.ts +2 -3
  483. package/types-legacy/ts4.5/utils/crypto.d.ts +8 -4
  484. package/types-legacy/ts4.5/utils/errors.d.ts +6 -0
  485. package/types-legacy/ts4.5/utils/hd-wallet.d.ts +2 -0
  486. package/types-legacy/ts4.5/utils/jwt.d.ts +53 -0
  487. package/types-legacy/ts4.5/utils/keystore.d.ts +6 -2
  488. package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +2 -0
  489. package/es/tx/builder/field-types/deposit.d.ts +0 -15
  490. package/es/tx/builder/field-types/deposit.mjs +0 -18
  491. package/es/tx/builder/field-types/deposit.mjs.map +0 -1
  492. package/src/tx/builder/field-types/deposit.ts +0 -23
  493. package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +0 -15
  494. package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +0 -15
@@ -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;
@@ -39,7 +39,7 @@ export const ownedOnly = {
39
39
  }
40
40
  }
41
41
  };
42
- export const type = {
42
+ export const typeParam = {
43
43
  parameterPath: ["options", "type"],
44
44
  mapper: {
45
45
  serializedName: "type",
@@ -111,6 +111,15 @@ export const accountId = {
111
111
  }
112
112
  }
113
113
  };
114
+ export const contract = {
115
+ parameterPath: ["options", "contract"],
116
+ mapper: {
117
+ serializedName: "contract",
118
+ type: {
119
+ name: "String"
120
+ }
121
+ }
122
+ };
114
123
  export const contractId = {
115
124
  parameterPath: "contractId",
116
125
  mapper: {
@@ -141,6 +150,15 @@ export const templateId = {
141
150
  }
142
151
  }
143
152
  };
153
+ export const by1 = {
154
+ parameterPath: ["options", "by"],
155
+ mapper: {
156
+ serializedName: "by",
157
+ type: {
158
+ name: "String"
159
+ }
160
+ }
161
+ };
144
162
  export const accountId1 = {
145
163
  parameterPath: "accountId",
146
164
  mapper: {
@@ -171,6 +189,15 @@ export const recipient = {
171
189
  }
172
190
  }
173
191
  };
192
+ export const by2 = {
193
+ parameterPath: ["options", "by"],
194
+ mapper: {
195
+ serializedName: "by",
196
+ type: {
197
+ name: "String"
198
+ }
199
+ }
200
+ };
174
201
  export const hash = {
175
202
  parameterPath: "hash",
176
203
  mapper: {
@@ -238,6 +265,15 @@ export const event = {
238
265
  }
239
266
  }
240
267
  };
268
+ export const functionParam = {
269
+ parameterPath: ["options", "function"],
270
+ mapper: {
271
+ serializedName: "function",
272
+ type: {
273
+ name: "String"
274
+ }
275
+ }
276
+ };
241
277
  export const functionPrefix = {
242
278
  parameterPath: ["options", "functionPrefix"],
243
279
  mapper: {
@@ -293,7 +329,7 @@ export const state1 = {
293
329
  }
294
330
  }
295
331
  };
296
- export const type1 = {
332
+ export const typeParam1 = {
297
333
  parameterPath: ["options", "type"],
298
334
  mapper: {
299
335
  serializedName: "type",
@@ -332,15 +368,6 @@ export const account = {
332
368
  }
333
369
  }
334
370
  };
335
- export const contract = {
336
- parameterPath: ["options", "contract"],
337
- mapper: {
338
- serializedName: "contract",
339
- type: {
340
- name: "String"
341
- }
342
- }
343
- };
344
371
  export const channel = {
345
372
  parameterPath: ["options", "channel"],
346
373
  mapper: {
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.mjs","names":["accept","parameterPath","mapper","defaultValue","isConstant","serializedName","type","name","$host","required","skipEncoding","id","ownedOnly","limit","constraints","InclusiveMaximum","InclusiveMinimum","scope","Pattern","RegExp","direction","by","prefix","accountId","contractId","tokenId","templateId","accountId1","sender","recipient","hash","hashOrKbi","kbi","mbi","state","contractId1","event","functionPrefix","data","aexnArgs","hash1","ownedBy","state1","type1","element","collectionFormat","typeGroup","account","contract","channel","oracle","senderId","recipientId","entrypoint","txType","id1","hashOrIndex"],"sources":["../../../../src/apis/middleware/models/parameters.ts"],"sourcesContent":["import {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const id: OperationURLParameter = {\n parameterPath: \"id\",\n mapper: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ownedOnly: OperationQueryParameter = {\n parameterPath: [\"options\", \"ownedOnly\"],\n mapper: {\n serializedName: \"owned_only\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const type: OperationQueryParameter = {\n parameterPath: [\"options\", \"type\"],\n mapper: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const limit: OperationQueryParameter = {\n parameterPath: \"limit\",\n mapper: {\n defaultValue: 10,\n constraints: {\n InclusiveMaximum: 100,\n InclusiveMinimum: 1\n },\n serializedName: \"limit\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const scope: OperationQueryParameter = {\n parameterPath: \"scope\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"(txi|gen):\\\\d+(-\\\\d+)?\")\n },\n serializedName: \"scope\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const direction: OperationQueryParameter = {\n parameterPath: \"direction\",\n mapper: {\n serializedName: \"direction\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const by: OperationQueryParameter = {\n parameterPath: [\"options\", \"by\"],\n mapper: {\n serializedName: \"by\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const prefix: OperationQueryParameter = {\n parameterPath: [\"options\", \"prefix\"],\n mapper: {\n serializedName: \"prefix\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accountId: OperationURLParameter = {\n parameterPath: \"accountId\",\n mapper: {\n serializedName: \"accountId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contractId: OperationURLParameter = {\n parameterPath: \"contractId\",\n mapper: {\n serializedName: \"contractId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const tokenId: OperationURLParameter = {\n parameterPath: \"tokenId\",\n mapper: {\n serializedName: \"tokenId\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const templateId: OperationURLParameter = {\n parameterPath: \"templateId\",\n mapper: {\n serializedName: \"templateId\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const accountId1: OperationURLParameter = {\n parameterPath: \"accountId\",\n mapper: {\n serializedName: \"account_id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const sender: OperationURLParameter = {\n parameterPath: \"sender\",\n mapper: {\n serializedName: \"sender\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const recipient: OperationURLParameter = {\n parameterPath: \"recipient\",\n mapper: {\n serializedName: \"recipient\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const hash: OperationQueryParameter = {\n parameterPath: \"hash\",\n mapper: {\n serializedName: \"hash\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const hashOrKbi: OperationURLParameter = {\n parameterPath: \"hashOrKbi\",\n mapper: {\n serializedName: \"hash_or_kbi\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const kbi: OperationURLParameter = {\n parameterPath: \"kbi\",\n mapper: {\n serializedName: \"kbi\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const mbi: OperationURLParameter = {\n parameterPath: \"mbi\",\n mapper: {\n serializedName: \"mbi\",\n required: true,\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const state: OperationQueryParameter = {\n parameterPath: [\"options\", \"state\"],\n mapper: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contractId1: OperationQueryParameter = {\n parameterPath: [\"options\", \"contractId\"],\n mapper: {\n serializedName: \"contract_id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const event: OperationQueryParameter = {\n parameterPath: [\"options\", \"event\"],\n mapper: {\n serializedName: \"event\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const functionPrefix: OperationQueryParameter = {\n parameterPath: [\"options\", \"functionPrefix\"],\n mapper: {\n serializedName: \"function_prefix\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const data: OperationQueryParameter = {\n parameterPath: [\"options\", \"data\"],\n mapper: {\n serializedName: \"data\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const aexnArgs: OperationQueryParameter = {\n parameterPath: [\"options\", \"aexnArgs\"],\n mapper: {\n serializedName: \"aexn-args\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const hash1: OperationURLParameter = {\n parameterPath: \"hash\",\n mapper: {\n serializedName: \"hash\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ownedBy: OperationQueryParameter = {\n parameterPath: [\"options\", \"ownedBy\"],\n mapper: {\n serializedName: \"owned_by\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const state1: OperationQueryParameter = {\n parameterPath: [\"options\", \"state\"],\n mapper: {\n serializedName: \"state\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const type1: OperationQueryParameter = {\n parameterPath: [\"options\", \"type\"],\n mapper: {\n serializedName: \"type\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const typeGroup: OperationQueryParameter = {\n parameterPath: [\"options\", \"typeGroup\"],\n mapper: {\n serializedName: \"type_group\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const account: OperationQueryParameter = {\n parameterPath: [\"options\", \"account\"],\n mapper: {\n serializedName: \"account\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contract: OperationQueryParameter = {\n parameterPath: [\"options\", \"contract\"],\n mapper: {\n serializedName: \"contract\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const channel: OperationQueryParameter = {\n parameterPath: [\"options\", \"channel\"],\n mapper: {\n serializedName: \"channel\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const oracle: OperationQueryParameter = {\n parameterPath: [\"options\", \"oracle\"],\n mapper: {\n serializedName: \"oracle\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const senderId: OperationQueryParameter = {\n parameterPath: [\"options\", \"senderId\"],\n mapper: {\n serializedName: \"sender_id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const recipientId: OperationQueryParameter = {\n parameterPath: [\"options\", \"recipientId\"],\n mapper: {\n serializedName: \"recipient_id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const entrypoint: OperationQueryParameter = {\n parameterPath: [\"options\", \"entrypoint\"],\n mapper: {\n serializedName: \"entrypoint\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const txType: OperationQueryParameter = {\n parameterPath: [\"options\", \"txType\"],\n mapper: {\n serializedName: \"tx_type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const id1: OperationQueryParameter = {\n parameterPath: [\"options\", \"id\"],\n mapper: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const hashOrIndex: OperationURLParameter = {\n parameterPath: \"hashOrIndex\",\n mapper: {\n serializedName: \"hash_or_index\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n"],"mappings":"AAMA,OAAO,MAAMA,MAA0B,GAAG;EACxCC,aAAa,EAAE,QAAQ;EACvBC,MAAM,EAAE;IACNC,YAAY,EAAE,kBAAkB;IAChCC,UAAU,EAAE,IAAI;IAChBC,cAAc,EAAE,QAAQ;IACxBC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMC,KAA4B,GAAG;EAC1CP,aAAa,EAAE,OAAO;EACtBC,MAAM,EAAE;IACNG,cAAc,EAAE,OAAO;IACvBI,QAAQ,EAAE,IAAI;IACdH,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF,CAAC;EACDG,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,EAAyB,GAAG;EACvCV,aAAa,EAAE,IAAI;EACnBC,MAAM,EAAE;IACNG,cAAc,EAAE,IAAI;IACpBI,QAAQ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AI;IACpBC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMiD,WAAkC,GAAG;EAChDvD,aAAa,EAAE,aAAa;EAC5BC,MAAM,EAAE;IACNG,cAAc,EAAE,eAAe;IAC/BI,QAAQ,EAAE,IAAI;IACdH,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC"}
1
+ {"version":3,"file":"parameters.mjs","names":["accept","parameterPath","mapper","defaultValue","isConstant","serializedName","type","name","$host","required","skipEncoding","id","ownedOnly","typeParam","limit","constraints","InclusiveMaximum","InclusiveMinimum","scope","Pattern","RegExp","direction","by","prefix","accountId","contract","contractId","tokenId","templateId","by1","accountId1","sender","recipient","by2","hash","hashOrKbi","kbi","mbi","state","contractId1","event","functionParam","functionPrefix","data","aexnArgs","hash1","ownedBy","state1","typeParam1","element","collectionFormat","typeGroup","account","channel","oracle","senderId","recipientId","entrypoint","txType","id1","hashOrIndex"],"sources":["../../../../src/apis/middleware/models/parameters.ts"],"sourcesContent":["import {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const id: OperationURLParameter = {\n parameterPath: \"id\",\n mapper: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ownedOnly: OperationQueryParameter = {\n parameterPath: [\"options\", \"ownedOnly\"],\n mapper: {\n serializedName: \"owned_only\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const typeParam: OperationQueryParameter = {\n parameterPath: [\"options\", \"type\"],\n mapper: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const limit: OperationQueryParameter = {\n parameterPath: \"limit\",\n mapper: {\n defaultValue: 10,\n constraints: {\n InclusiveMaximum: 100,\n InclusiveMinimum: 1,\n },\n serializedName: \"limit\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const scope: OperationQueryParameter = {\n parameterPath: \"scope\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"(txi|gen):\\\\d+(-\\\\d+)?\"),\n },\n serializedName: \"scope\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const direction: OperationQueryParameter = {\n parameterPath: \"direction\",\n mapper: {\n serializedName: \"direction\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const by: OperationQueryParameter = {\n parameterPath: [\"options\", \"by\"],\n mapper: {\n serializedName: \"by\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const prefix: OperationQueryParameter = {\n parameterPath: [\"options\", \"prefix\"],\n mapper: {\n serializedName: \"prefix\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accountId: OperationURLParameter = {\n parameterPath: \"accountId\",\n mapper: {\n serializedName: \"accountId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contract: OperationQueryParameter = {\n parameterPath: [\"options\", \"contract\"],\n mapper: {\n serializedName: \"contract\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contractId: OperationURLParameter = {\n parameterPath: \"contractId\",\n mapper: {\n serializedName: \"contractId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tokenId: OperationURLParameter = {\n parameterPath: \"tokenId\",\n mapper: {\n serializedName: \"tokenId\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const templateId: OperationURLParameter = {\n parameterPath: \"templateId\",\n mapper: {\n serializedName: \"templateId\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const by1: OperationQueryParameter = {\n parameterPath: [\"options\", \"by\"],\n mapper: {\n serializedName: \"by\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accountId1: OperationURLParameter = {\n parameterPath: \"accountId\",\n mapper: {\n serializedName: \"account_id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const sender: OperationURLParameter = {\n parameterPath: \"sender\",\n mapper: {\n serializedName: \"sender\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recipient: OperationURLParameter = {\n parameterPath: \"recipient\",\n mapper: {\n serializedName: \"recipient\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const by2: OperationQueryParameter = {\n parameterPath: [\"options\", \"by\"],\n mapper: {\n serializedName: \"by\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const hash: OperationQueryParameter = {\n parameterPath: \"hash\",\n mapper: {\n serializedName: \"hash\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const hashOrKbi: OperationURLParameter = {\n parameterPath: \"hashOrKbi\",\n mapper: {\n serializedName: \"hash_or_kbi\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const kbi: OperationURLParameter = {\n parameterPath: \"kbi\",\n mapper: {\n serializedName: \"kbi\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const mbi: OperationURLParameter = {\n parameterPath: \"mbi\",\n mapper: {\n serializedName: \"mbi\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const state: OperationQueryParameter = {\n parameterPath: [\"options\", \"state\"],\n mapper: {\n serializedName: \"state\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contractId1: OperationQueryParameter = {\n parameterPath: [\"options\", \"contractId\"],\n mapper: {\n serializedName: \"contract_id\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const event: OperationQueryParameter = {\n parameterPath: [\"options\", \"event\"],\n mapper: {\n serializedName: \"event\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const functionParam: OperationQueryParameter = {\n parameterPath: [\"options\", \"function\"],\n mapper: {\n serializedName: \"function\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const functionPrefix: OperationQueryParameter = {\n parameterPath: [\"options\", \"functionPrefix\"],\n mapper: {\n serializedName: \"function_prefix\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const data: OperationQueryParameter = {\n parameterPath: [\"options\", \"data\"],\n mapper: {\n serializedName: \"data\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const aexnArgs: OperationQueryParameter = {\n parameterPath: [\"options\", \"aexnArgs\"],\n mapper: {\n serializedName: \"aexn-args\",\n type: {\n name: \"Boolean\",\n },\n },\n};\n\nexport const hash1: OperationURLParameter = {\n parameterPath: \"hash\",\n mapper: {\n serializedName: \"hash\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ownedBy: OperationQueryParameter = {\n parameterPath: [\"options\", \"ownedBy\"],\n mapper: {\n serializedName: \"owned_by\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const state1: OperationQueryParameter = {\n parameterPath: [\"options\", \"state\"],\n mapper: {\n serializedName: \"state\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const typeParam1: OperationQueryParameter = {\n parameterPath: [\"options\", \"type\"],\n mapper: {\n serializedName: \"type\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n collectionFormat: \"Multi\",\n};\n\nexport const typeGroup: OperationQueryParameter = {\n parameterPath: [\"options\", \"typeGroup\"],\n mapper: {\n serializedName: \"type_group\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n collectionFormat: \"Multi\",\n};\n\nexport const account: OperationQueryParameter = {\n parameterPath: [\"options\", \"account\"],\n mapper: {\n serializedName: \"account\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const channel: OperationQueryParameter = {\n parameterPath: [\"options\", \"channel\"],\n mapper: {\n serializedName: \"channel\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const oracle: OperationQueryParameter = {\n parameterPath: [\"options\", \"oracle\"],\n mapper: {\n serializedName: \"oracle\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const senderId: OperationQueryParameter = {\n parameterPath: [\"options\", \"senderId\"],\n mapper: {\n serializedName: \"sender_id\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recipientId: OperationQueryParameter = {\n parameterPath: [\"options\", \"recipientId\"],\n mapper: {\n serializedName: \"recipient_id\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const entrypoint: OperationQueryParameter = {\n parameterPath: [\"options\", \"entrypoint\"],\n mapper: {\n serializedName: \"entrypoint\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const txType: OperationQueryParameter = {\n parameterPath: [\"options\", \"txType\"],\n mapper: {\n serializedName: \"tx_type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const id1: OperationQueryParameter = {\n parameterPath: [\"options\", \"id\"],\n mapper: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const hashOrIndex: OperationURLParameter = {\n parameterPath: \"hashOrIndex\",\n mapper: {\n serializedName: \"hash_or_index\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"],"mappings":"AAMA,OAAO,MAAMA,MAA0B,GAAG;EACxCC,aAAa,EAAE,QAAQ;EACvBC,MAAM,EAAE;IACNC,YAAY,EAAE,kBAAkB;IAChCC,UAAU,EAAE,IAAI;IAChBC,cAAc,EAAE,QAAQ;IACxBC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMC,KAA4B,GAAG;EAC1CP,aAAa,EAAE,OAAO;EACtBC,MAAM,EAAE;IACNG,cAAc,EAAE,OAAO;IACvBI,QAAQ,EAAE,IAAI;IACdH,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF,CAAC;EACDG,YAAY,EAAE;AAChB,CAAC;AAED,OAAO,MAAMC,EAAyB,GAAG;EACvCV,aAAa,EAAE,IAAI;EACnBC,M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,CAAC;EACzCC,MAAM,EAAE;IACNG,cAAc,EAAE,cAAc;IAC9BC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMkD,UAAmC,GAAG;EACjDxD,aAAa,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;EACxCC,MAAM,EAAE;IACNG,cAAc,EAAE,YAAY;IAC5BC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMmD,MAA+B,GAAG;EAC7CzD,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;EACpCC,MAAM,EAAE;IACNG,cAAc,EAAE,SAAS;IACzBC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMoD,GAA4B,GAAG;EAC1C1D,aAAa,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;EAChCC,MAAM,EAAE;IACNG,cAAc,EAAE,IAAI;IACpBC,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC;AAED,OAAO,MAAMqD,WAAkC,GAAG;EAChD3D,aAAa,EAAE,aAAa;EAC5BC,MAAM,EAAE;IACNG,cAAc,EAAE,eAAe;IAC/BI,QAAQ,EAAE,IAAI;IACdH,IAAI,EAAE;MACJC,IAAI,EAAE;IACR;EACF;AACF,CAAC"}
@@ -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;
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/apis/node/models/index.ts"],"sourcesContent":["import * as coreClient from \"@azure/core-client\";\n\nexport type OffChainUpdateUnion =\n | OffChainUpdate\n | OffChainTransfer\n | OffChainWithdrawal\n | OffChainDeposit\n | OffChainNewContract\n | OffChainCallContract;\n\n/** A mix of KeyBlock, MicroBlockHeader properties. */\nexport interface Header {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner?: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary?: string;\n target?: string;\n pow?: string[];\n nonce?: string;\n time: string;\n version: string;\n /** Base64Check encoded tagged byte array */\n info?: string;\n /** Base58Check encoded tagged hash */\n pofHash?: string;\n /** Base58Check encoded tagged hash */\n txsHash?: string;\n /** Base58Check encoded tagged value */\n signature?: string;\n}\n\nexport interface ErrorModel {\n reason: string;\n}\n\nexport interface KeyBlock {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary: string;\n target: string;\n pow?: string[];\n nonce?: string;\n time: string;\n version: string;\n /** Base64Check encoded tagged byte array */\n info: string;\n}\n\nexport interface HashResponse {\n hash: string;\n}\n\nexport interface HeightResponse {\n height: string;\n}\n\nexport interface MicroBlockHeader {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: string;\n /** Base58Check encoded tagged hash */\n pofHash: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged hash */\n txsHash: string;\n /** Base58Check encoded tagged value */\n signature: string;\n time: string;\n version: string;\n}\n\nexport interface SignedTxs {\n transactions: SignedTx[];\n}\n\nexport interface SignedTx {\n /** A mix of all transaction types. */\n tx: Tx;\n blockHeight: string;\n /** Base58Check encoded tagged hash */\n blockHash: string;\n /** Base58Check encoded tagged hash */\n hash: string;\n /** At least one signature is required unless for Generalized Account Meta transactions */\n signatures: string[];\n}\n\n/** A mix of all transaction types. */\nexport interface Tx {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n type: \"Tx\";\n /** Base58Check encoded tagged pubkey */\n recipientId?: string;\n amount?: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n senderId?: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n payload?: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId?: string;\n initiatorAmount?: string;\n /** Base58Check encoded tagged pubkey */\n responderId?: string;\n responderAmount?: string;\n channelReserve?: string;\n lockPeriod?: string;\n /** Base58Check encoded tagged pubkey */\n stateHash?: string;\n delegateIds?: Delegates;\n /** Base58Check encoded tagged pubkey */\n channelId?: string;\n /** Base58Check encoded tagged pubkey */\n fromId?: string;\n round?: string;\n /** Base58Check encoded tagged pubkey */\n toId?: string;\n update?: OffChainUpdateUnion;\n /** Base64Check encoded tagged byte array */\n offchainTrees?: string;\n initiatorAmountFinal?: string;\n responderAmountFinal?: string;\n /** Base64Check encoded tagged byte array */\n poi?: string;\n initiatorDelegateIds?: string[];\n responderDelegateIds?: string[];\n queryFormat?: string;\n responseFormat?: string;\n queryFee?: string;\n oracleTtl?: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n accountId?: string;\n abiVersion?: string;\n /** Base58Check encoded tagged pubkey */\n oracleId?: string;\n query?: string;\n queryTtl?: Ttl;\n responseTtl?: RelativeTTL;\n /** Base58Check encoded tagged value */\n queryId?: string;\n response?: string;\n /** Base58Check encoded tagged value */\n commitmentId?: string;\n name?: string;\n nameSalt?: string;\n nameFee?: string;\n /** Base58Check encoded tagged value */\n nameId?: string;\n nameTtl?: string;\n pointers?: NamePointer[];\n clientTtl?: string;\n /** Base58Check encoded tagged pubkey */\n ownerId?: string;\n /** Base64Check encoded tagged byte array */\n code?: string;\n vmVersion?: string;\n deposit?: string;\n gas?: string;\n gasPrice?: string;\n /** Base64Check encoded tagged byte array */\n callData?: string;\n /** Base58Check encoded tagged pubkey */\n callerId?: string;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Contract authorization function hash (hex encoded) */\n authFun?: string;\n /** Base58Check encoded tagged pubkey */\n gaId?: string;\n /** Base64Check encoded tagged byte array */\n authData?: string;\n tx?: SignedTx;\n /** Base58Check encoded tagged pubkey */\n payerId?: string;\n version: string;\n}\n\nexport interface Delegates {\n initiator?: string[];\n responder?: string[];\n}\n\nexport interface OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op:\n | \"OffChainTransfer\"\n | \"OffChainWithdrawal\"\n | \"OffChainDeposit\"\n | \"OffChainNewContract\"\n | \"OffChainCallContract\";\n}\n\nexport interface RelativeTTL {\n type: \"delta\";\n value: string;\n}\n\nexport interface Ttl {\n type: TTLType;\n value: string;\n}\n\nexport interface NamePointer {\n key: string;\n /** Base58Check encoded tagged pubkey */\n id: string;\n}\n\nexport interface CountResponse {\n count: string;\n}\n\nexport interface Generation {\n keyBlock: KeyBlock;\n microBlocks: string[];\n}\n\nexport interface Account {\n /** Base58Check encoded tagged pubkey */\n id: string;\n balance: string;\n nonce: string;\n /** Payable */\n payable?: boolean;\n kind?: AccountKind;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Name of authorization function for generalized account */\n authFun?: string;\n}\n\nexport interface NextNonceResponse {\n nextNonce: string;\n}\n\nexport interface DryRunInput {\n /** Base58Check encoded tagged hash */\n top?: string;\n /** Accounts */\n accounts?: DryRunAccount[];\n /** Txs */\n txs: DryRunInputItem[];\n /** Collect and return on-chain tx events that would result from the call */\n txEvents?: boolean;\n}\n\nexport interface DryRunAccount {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n amount: string;\n}\n\nexport interface DryRunInputItem {\n /** Base64Check encoded tagged byte array */\n tx?: string;\n callReq?: DryRunCallReq;\n}\n\nexport interface DryRunCallReq {\n /** Base64Check encoded tagged byte array */\n calldata: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n amount?: string;\n gas?: string;\n /** Base58Check encoded tagged pubkey */\n caller?: string;\n nonce?: string;\n abiVersion?: string;\n context?: DryRunCallContext;\n}\n\nexport interface DryRunCallContext {\n /** Base64Check encoded tagged byte array */\n tx?: string;\n /** Base58Check encoded tagged hash */\n txHash?: string;\n /** This call will have effects on the next call in this dry-run (or not) */\n stateful?: boolean;\n}\n\nexport interface DryRunResults {\n /** results */\n results: DryRunResult[];\n /** on-chain tx events */\n txEvents?: Record<string, unknown>[];\n}\n\nexport interface DryRunResult {\n type: string;\n result: string;\n reason?: string;\n callObj?: ContractCallObject;\n}\n\nexport interface ContractCallObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n callerNonce: string;\n height: string;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n gasPrice: string;\n gasUsed: string;\n log: Event[];\n /** Base64Check encoded tagged byte array */\n returnValue: string;\n /** The status of the call 'ok | error | revert'. */\n returnType: ContractCallReturnType;\n}\n\nexport interface Event {\n /** Base58Check encoded tagged pubkey */\n address: string;\n /** Event topics */\n topics: string[];\n /** Base64Check encoded tagged byte array */\n data: string;\n}\n\nexport interface TxInfoObject {\n callInfo?: ContractCallObject;\n gaInfo?: GAObject;\n txInfo?: string;\n}\n\nexport interface GAObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n height: string;\n gasPrice: string;\n gasUsed: string;\n /** Base64Check encoded tagged byte array */\n returnValue: string;\n /** The status of the call 'ok | error'. */\n returnType: GAReturnType;\n innerObject?: TxInfoObject;\n}\n\nexport interface EncodedTx {\n /** Base64Check encoded tagged byte array */\n tx: string;\n}\n\nexport interface PostTxResponse {\n /** Base58Check encoded tagged hash */\n txHash: string;\n}\n\nexport interface ContractObject {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n vmVersion: string;\n abiVersion: string;\n active: boolean;\n referrerIds: string[];\n deposit: string;\n}\n\nexport interface ByteCode {\n /** Base64Check encoded tagged byte array */\n bytecode: string;\n}\n\nexport interface PoI {\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface RegisteredOracle {\n /** Base58Check encoded tagged pubkey */\n id: string;\n queryFormat: string;\n responseFormat: string;\n queryFee: string;\n ttl: string;\n abiVersion: string;\n}\n\nexport interface OracleQueries {\n oracleQueries: OracleQuery[];\n}\n\nexport interface OracleQuery {\n /** Base58Check encoded tagged value */\n id: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n senderNonce: string;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n response: string;\n ttl: string;\n responseTtl: Ttl;\n fee: string;\n}\n\nexport interface NameEntry {\n /** Base58Check encoded tagged value */\n id: string;\n /** Base58Check encoded tagged pubkey */\n owner?: string;\n ttl: string;\n pointers: NamePointer[];\n}\n\nexport interface Channel {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n channelAmount: string;\n initiatorAmount: string;\n responderAmount: string;\n channelReserve: string;\n delegateIds: Delegates;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: string;\n soloRound: string;\n lockPeriod: string;\n lockedUntil: string;\n}\n\nexport interface PeerPubKey {\n /** Base58Check encoded tagged pubkey */\n pubkey: string;\n}\n\nexport interface Status {\n /** Base58Check encoded tagged hash */\n genesisKeyBlockHash: string;\n solutions: string;\n difficulty: string;\n syncing: boolean;\n syncProgress?: number;\n listening: boolean;\n protocols: Protocol[];\n nodeVersion: string;\n nodeRevision: string;\n peerCount: string;\n peerConnections: PeerConnections;\n pendingTransactionsCount: string;\n networkId: string;\n /** Base58Check encoded tagged pubkey */\n peerPubkey: string;\n /** Base58Check encoded tagged hash */\n topKeyBlockHash: string;\n topBlockHeight: string;\n}\n\nexport interface Protocol {\n version: string;\n effectiveAtHeight: string;\n}\n\nexport interface PeerConnections {\n inbound: string;\n outbound: string;\n}\n\nexport interface SpendTx {\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n amount: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n}\n\nexport interface OracleRegisterTx {\n queryFormat: string;\n responseFormat: string;\n queryFee: string;\n oracleTtl: Ttl;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n fee: string;\n ttl?: string;\n abiVersion?: string;\n}\n\nexport interface OracleExtendTx {\n fee: string;\n oracleTtl: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: string;\n ttl?: string;\n}\n\nexport interface OracleQueryTx {\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n queryFee: string;\n queryTtl: Ttl;\n responseTtl: RelativeTTL;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: string;\n}\n\nexport interface OracleRespondTx {\n /** Base58Check encoded tagged value */\n queryId: string;\n response: string;\n responseTtl: RelativeTTL;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: string;\n}\n\nexport interface NamePreclaimTx {\n /** Base58Check encoded tagged value */\n commitmentId: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameClaimTx {\n name: string;\n nameSalt: string;\n nameFee?: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameUpdateTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n nameTtl: string;\n pointers: NamePointer[];\n clientTtl: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameTransferTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameRevokeTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface CommitmentId {\n /** Base58Check encoded tagged value */\n commitmentId: string;\n}\n\nexport interface NameHash {\n /** Base58Check encoded tagged value */\n nameId: string;\n}\n\nexport interface ChannelCreateTx {\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n initiatorAmount: string;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n responderAmount: string;\n channelReserve: string;\n lockPeriod: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n delegateIds?: Delegates;\n}\n\nexport interface ChannelDepositTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n amount: string;\n ttl?: string;\n fee: string;\n nonce: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: string;\n}\n\nexport interface ChannelWithdrawTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n toId: string;\n amount: string;\n ttl?: string;\n fee: string;\n nonce: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: string;\n}\n\nexport interface ChannelForceProgressTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n round: string;\n update: OffChainUpdateUnion;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n offchainTrees?: string;\n}\n\nexport interface ChannelCloseMutualTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: string;\n responderAmountFinal: string;\n ttl?: string;\n fee: string;\n nonce: string;\n}\n\nexport interface ChannelCloseSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface ChannelSlashTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface ChannelSettleTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: string;\n responderAmountFinal: string;\n ttl?: string;\n fee: string;\n nonce: string;\n}\n\nexport interface ChannelSnapshotSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n}\n\nexport interface ChannelSetDelegatesTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorDelegateIds: string[];\n responderDelegateIds: string[];\n /** Base58Check encoded tagged pubkey */\n stateHash: string;\n round: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n}\n\nexport interface PubKey {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n}\n\nexport interface PeerDetails {\n /** Hostname of peer */\n host: string;\n port: string;\n firstSeen: string;\n lastSeen: string;\n /** Base58Check encoded tagged hash */\n genesisHash: string;\n /** Base58Check encoded tagged hash */\n topHash: string;\n topDifficulty: string;\n networkId?: string;\n nodeVersion?: string;\n nodeRevision?: string;\n nodeVendor?: string;\n nodeOs?: string;\n}\n\nexport interface Peers {\n /** All discovered peers */\n peers: string[];\n /** All blocked peers */\n blocked: string[];\n}\n\nexport interface PeerCount {\n connected: PeerCountConnected;\n available: PeerCountAvailable;\n blocked: string;\n}\n\nexport interface PeerCountConnected {\n inbound?: string;\n outbound?: string;\n}\n\nexport interface PeerCountAvailable {\n verified?: string;\n unverified?: string;\n}\n\nexport interface ContractCreateTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n code: string;\n vmVersion: string;\n abiVersion: string;\n deposit: string;\n amount: string;\n gas: string;\n gasPrice: string;\n fee: string;\n ttl?: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface ContractCallTx {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n nonce?: string;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n abiVersion: string;\n fee: string;\n ttl?: string;\n amount: string;\n gas: string;\n gasPrice: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface UnsignedTx {\n /** Base64Check encoded tagged byte array */\n tx: string;\n}\n\nexport interface TokenSupply {\n accounts?: string;\n contracts?: string;\n contractOracles?: string;\n locked?: string;\n oracles?: string;\n oracleQueries?: string;\n pendingRewards?: string;\n total?: string;\n}\n\nexport interface GAAttachTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n code: string;\n vmVersion: string;\n abiVersion: string;\n gas: string;\n gasPrice: string;\n fee: string;\n ttl?: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n /** Contract authorization function hash (hex encoded) */\n authFun: string;\n}\n\nexport interface GAMetaTx {\n /** Base58Check encoded tagged pubkey */\n gaId: string;\n abiVersion: string;\n gas: string;\n gasPrice: string;\n fee: string;\n ttl?: string;\n /** Base64Check encoded tagged byte array */\n authData: string;\n tx: SignedTx;\n}\n\nexport interface PayingForTx {\n /** Base58Check encoded tagged pubkey */\n payerId: string;\n fee: string;\n nonce?: string;\n tx: SignedTx;\n}\n\nexport interface CheckTxInPoolResponse {\n status: string;\n}\n\nexport interface OffChainTransfer extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainTransfer\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: string;\n}\n\nexport interface OffChainWithdrawal extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainWithdrawal\";\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: string;\n}\n\nexport interface OffChainDeposit extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainDeposit\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n amount: string;\n}\n\nexport interface OffChainNewContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainNewContract\";\n /** Base58Check encoded tagged pubkey */\n owner: string;\n vmVersion: string;\n abiVersion: string;\n code: ByteCode;\n deposit: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface OffChainCallContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainCallContract\";\n /** Base58Check encoded tagged pubkey */\n caller: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n abiVersion: string;\n amount: string;\n gas: string;\n gasPrice: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface CreateContractUnsignedTx extends UnsignedTx {\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n}\n\n/** Defines values for TTLType. */\nexport type TTLType = \"delta\" | \"block\";\n/** Defines values for TxType. */\nexport type TxType =\n | \"SpendTx\"\n | \"ChannelCreateTx\"\n | \"ChannelDepositTx\"\n | \"ChannelWithdrawTx\"\n | \"ChannelForceProgressTx\"\n | \"ChannelCloseMutualTx\"\n | \"ChannelCloseSoloTx\"\n | \"ChannelSlashTx\"\n | \"ChannelSettleTx\"\n | \"ChannelSnapshotSoloTx\"\n | \"ChannelSetDelegatesTx\"\n | \"OracleRegisterTx\"\n | \"OracleExtendTx\"\n | \"OracleQueryTx\"\n | \"OracleRespondTx\"\n | \"NamePreclaimTx\"\n | \"NameClaimTx\"\n | \"NameUpdateTx\"\n | \"NameTransferTx\"\n | \"NameRevokeTx\"\n | \"ContractCreateTx\"\n | \"ContractCallTx\"\n | \"GAAttachTx\"\n | \"GAMetaTx\"\n | \"PayingForTx\";\n/** Defines values for AccountKind. */\nexport type AccountKind = \"basic\" | \"generalized\";\n/** Defines values for NextNonceStrategy. */\nexport type NextNonceStrategy = \"max\" | \"continuity\";\n/** Defines values for ContractCallReturnType. */\nexport type ContractCallReturnType = \"ok\" | \"error\" | \"revert\";\n/** Defines values for GAReturnType. */\nexport type GAReturnType = \"ok\" | \"error\";\n/** Defines values for OracleQueryType. */\nexport type OracleQueryType = \"open\" | \"closed\" | \"all\";\n\n/** Optional parameters. */\nexport interface GetTopHeaderOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTopHeader operation. */\nexport type GetTopHeaderResponse = Header;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlock operation. */\nexport type GetCurrentKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHash operation. */\nexport type GetCurrentKeyBlockHashResponse = HashResponse;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHeight operation. */\nexport type GetCurrentKeyBlockHeightResponse = HeightResponse;\n\n/** Optional parameters. */\nexport interface GetPendingKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingKeyBlock operation. */\nexport type GetPendingKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHash operation. */\nexport type GetKeyBlockByHashResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHeight operation. */\nexport type GetKeyBlockByHeightResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetMicroBlockHeaderByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockHeaderByHash operation. */\nexport type GetMicroBlockHeaderByHashResponse = MicroBlockHeader;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsByHash operation. */\nexport type GetMicroBlockTransactionsByHashResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionByHashAndIndexOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionByHashAndIndex operation. */\nexport type GetMicroBlockTransactionByHashAndIndexResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsCountByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsCountByHash operation. */\nexport type GetMicroBlockTransactionsCountByHashResponse = CountResponse;\n\n/** Optional parameters. */\nexport interface GetCurrentGenerationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentGeneration operation. */\nexport type GetCurrentGenerationResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHash operation. */\nexport type GetGenerationByHashResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHeight operation. */\nexport type GetGenerationByHeightResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkey operation. */\nexport type GetAccountByPubkeyResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHeight operation. */\nexport type GetAccountByPubkeyAndHeightResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHash operation. */\nexport type GetAccountByPubkeyAndHashResponse = Account;\n\n/** Optional parameters. */\nexport interface GetPendingAccountTransactionsByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingAccountTransactionsByPubkey operation. */\nexport type GetPendingAccountTransactionsByPubkeyResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetAccountNextNonceOptionalParams\n extends coreClient.OperationOptions {\n /** What strategy to use in order to determine the next nonce: shall it check for continuity or return the largest nonce seen + 1. If you choose strategy max, then the greatest nonce seen in the account or currently in the transaction pool is incremented with 1 and returned. If you choose the strategy continuity, then transactions in the mempool are checked if there are gaps - missing nonces that prevent transactions with greater nonces to get included. */\n strategy?: NextNonceStrategy;\n}\n\n/** Contains response data for the getAccountNextNonce operation. */\nexport type GetAccountNextNonceResponse = NextNonceResponse;\n\n/** Optional parameters. */\nexport interface ProtectedDryRunTxsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the protectedDryRunTxs operation. */\nexport type ProtectedDryRunTxsResponse = DryRunResults;\n\n/** Optional parameters. */\nexport interface GetTransactionByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionByHash operation. */\nexport type GetTransactionByHashResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetTransactionInfoByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionInfoByHash operation. */\nexport type GetTransactionInfoByHashResponse = TxInfoObject;\n\n/** Optional parameters. */\nexport interface PostTransactionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the postTransaction operation. */\nexport type PostTransactionResponse = PostTxResponse;\n\n/** Optional parameters. */\nexport interface GetContractOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContract operation. */\nexport type GetContractResponse = ContractObject;\n\n/** Optional parameters. */\nexport interface GetContractCodeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractCode operation. */\nexport type GetContractCodeResponse = ByteCode;\n\n/** Optional parameters. */\nexport interface GetContractPoIOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractPoI operation. */\nexport type GetContractPoIResponse = PoI;\n\n/** Optional parameters. */\nexport interface GetOracleByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleByPubkey operation. */\nexport type GetOracleByPubkeyResponse = RegisteredOracle;\n\n/** Optional parameters. */\nexport interface GetOracleQueriesByPubkeyOptionalParams\n extends coreClient.OperationOptions {\n /** Last query id in previous page */\n from?: string;\n /** Max number of oracle queries */\n limit?: number;\n /** The type of a query: open, closed or all */\n type?: OracleQueryType;\n}\n\n/** Contains response data for the getOracleQueriesByPubkey operation. */\nexport type GetOracleQueriesByPubkeyResponse = OracleQueries;\n\n/** Optional parameters. */\nexport interface GetOracleQueryByPubkeyAndQueryIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleQueryByPubkeyAndQueryId operation. */\nexport type GetOracleQueryByPubkeyAndQueryIdResponse = OracleQuery;\n\n/** Optional parameters. */\nexport interface GetNameEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNameEntryByName operation. */\nexport type GetNameEntryByNameResponse = NameEntry;\n\n/** Optional parameters. */\nexport interface GetChannelByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChannelByPubkey operation. */\nexport type GetChannelByPubkeyResponse = Channel;\n\n/** Optional parameters. */\nexport interface GetPeerPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPeerPubkey operation. */\nexport type GetPeerPubkeyResponse = PeerPubKey;\n\n/** Optional parameters. */\nexport interface GetStatusOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the getStatus operation. */\nexport type GetStatusResponse = Status;\n\n/** Optional parameters. */\nexport interface GetChainEndsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChainEnds operation. */\nexport type GetChainEndsResponse = {\n /** The parsed response body. */\n body: string[];\n};\n\n/** Optional parameters. */\nexport interface NodeOptionalParams extends coreClient.ServiceClientOptions {\n /** If this flag is set to true, the response will have all integers set as strings */\n intAsString?: boolean;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/apis/node/models/index.ts"],"sourcesContent":["import * as coreClient from \"@azure/core-client\";\n\nexport type OffChainUpdateUnion =\n | OffChainUpdate\n | OffChainTransfer\n | OffChainWithdrawal\n | OffChainDeposit\n | OffChainNewContract\n | OffChainCallContract;\n\n/** A mix of KeyBlock, MicroBlockHeader properties. */\nexport interface Header {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner?: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary?: string;\n target?: string;\n pow?: string[];\n nonce?: string;\n time: string;\n version: string;\n /** Base64Check encoded tagged byte array */\n info?: string;\n /** Base58Check encoded tagged hash */\n pofHash?: string;\n /** Base58Check encoded tagged hash */\n txsHash?: string;\n /** Base58Check encoded tagged value */\n signature?: string;\n}\n\nexport interface ErrorModel {\n reason: string;\n errorCode?: string;\n}\n\nexport interface KeyBlock {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged pubkey */\n miner: string;\n /** Base58Check encoded tagged pubkey */\n beneficiary: string;\n target: string;\n pow?: string[];\n nonce?: string;\n time: string;\n version: string;\n /** Base64Check encoded tagged byte array */\n info: string;\n}\n\nexport interface HashResponse {\n hash: string;\n}\n\nexport interface HeightResponse {\n height: string;\n}\n\nexport interface MicroBlockHeader {\n /** Base58Check encoded tagged hash */\n hash: string;\n height: string;\n /** Base58Check encoded tagged hash */\n pofHash: string;\n /** Base58Check encoded tagged hash */\n prevHash: string;\n /** Base58Check encoded tagged hash */\n prevKeyHash: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n /** Base58Check encoded tagged hash */\n txsHash: string;\n /** Base58Check encoded tagged value */\n signature: string;\n time: string;\n version: string;\n}\n\nexport interface SignedTxs {\n transactions: SignedTx[];\n}\n\nexport interface SignedTx {\n /** A mix of all transaction types. */\n tx: Tx;\n blockHeight: string;\n /** Base58Check encoded tagged hash */\n blockHash: string;\n /** Base58Check encoded tagged hash */\n hash: string;\n /** Base64Check encoded tagged byte array */\n encodedTx?: string;\n /** At least one signature is required unless for Generalized Account Meta transactions */\n signatures: string[];\n}\n\n/** A mix of all transaction types. */\nexport interface Tx {\n /** Base58Check encoded tagged pubkey */\n recipientId?: string;\n amount?: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n senderId?: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n payload?: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId?: string;\n initiatorAmount?: string;\n /** Base58Check encoded tagged pubkey */\n responderId?: string;\n responderAmount?: string;\n channelReserve?: string;\n lockPeriod?: string;\n /** Base58Check encoded tagged pubkey */\n stateHash?: string;\n delegateIds?: Delegates;\n /** Base58Check encoded tagged pubkey */\n channelId?: string;\n /** Base58Check encoded tagged pubkey */\n fromId?: string;\n round?: string;\n /** Base58Check encoded tagged pubkey */\n toId?: string;\n update?: OffChainUpdateUnion;\n /** Base64Check encoded tagged byte array */\n offchainTrees?: string;\n initiatorAmountFinal?: string;\n responderAmountFinal?: string;\n /** Base64Check encoded tagged byte array */\n poi?: string;\n initiatorDelegateIds?: string[];\n responderDelegateIds?: string[];\n queryFormat?: string;\n responseFormat?: string;\n queryFee?: string;\n oracleTtl?: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n accountId?: string;\n abiVersion?: string;\n /** Base58Check encoded tagged pubkey */\n oracleId?: string;\n query?: string;\n queryTtl?: Ttl;\n responseTtl?: RelativeTTL;\n /** Base58Check encoded tagged value */\n queryId?: string;\n response?: string;\n /** Base58Check encoded tagged value */\n commitmentId?: string;\n name?: string;\n nameSalt?: string;\n nameFee?: string;\n /** Base58Check encoded tagged value */\n nameId?: string;\n nameTtl?: string;\n pointers?: NamePointer[];\n clientTtl?: string;\n /** Base58Check encoded tagged pubkey */\n ownerId?: string;\n /** Base64Check encoded tagged byte array */\n code?: string;\n vmVersion?: string;\n deposit?: string;\n gas?: string;\n gasPrice?: string;\n /** Base64Check encoded tagged byte array */\n callData?: string;\n /** Base58Check encoded tagged pubkey */\n callerId?: string;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Contract authorization function hash (hex encoded) */\n authFun?: string;\n /** Base58Check encoded tagged pubkey */\n gaId?: string;\n /** Base64Check encoded tagged byte array */\n authData?: string;\n tx?: SignedTx;\n /** Base58Check encoded tagged pubkey */\n payerId?: string;\n version: string;\n type: TxType;\n}\n\nexport interface Delegates {\n initiator?: string[];\n responder?: string[];\n}\n\nexport interface OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op:\n | \"OffChainTransfer\"\n | \"OffChainWithdrawal\"\n | \"OffChainDeposit\"\n | \"OffChainNewContract\"\n | \"OffChainCallContract\";\n}\n\nexport interface RelativeTTL {\n type: \"delta\";\n value: string;\n}\n\nexport interface Ttl {\n type: TTLType;\n value: string;\n}\n\nexport interface NamePointer {\n key: string;\n /** Base58Check encoded tagged pubkey */\n id: string;\n}\n\nexport interface CountResponse {\n count: string;\n}\n\nexport interface Generation {\n keyBlock: KeyBlock;\n microBlocks: string[];\n}\n\nexport interface Account {\n /** Base58Check encoded tagged pubkey */\n id: string;\n balance: string;\n nonce: string;\n /** Payable */\n payable?: boolean;\n kind?: AccountKind;\n /** Base58Check encoded tagged pubkey */\n contractId?: string;\n /** Name of authorization function for generalized account */\n authFun?: string;\n}\n\nexport interface NextNonceResponse {\n nextNonce: string;\n}\n\nexport interface DryRunInput {\n /** Base58Check encoded tagged hash */\n top?: string;\n /** Accounts */\n accounts?: DryRunAccount[];\n /** Txs */\n txs: DryRunInputItem[];\n /** Collect and return on-chain tx events that would result from the call */\n txEvents?: boolean;\n}\n\nexport interface DryRunAccount {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n amount: string;\n}\n\nexport interface DryRunInputItem {\n /** Base64Check encoded tagged byte array */\n tx?: string;\n /** Base58Check encoded tagged hash */\n txHash?: string;\n callReq?: DryRunCallReq;\n}\n\nexport interface DryRunCallReq {\n /** Base64Check encoded tagged byte array */\n calldata: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n amount?: string;\n gas?: string;\n /** Base58Check encoded tagged pubkey */\n caller?: string;\n nonce?: string;\n abiVersion?: string;\n context?: DryRunCallContext;\n}\n\nexport interface DryRunCallContext {\n /** Base64Check encoded tagged byte array */\n tx?: string;\n /** Base58Check encoded tagged hash */\n txHash?: string;\n /** This call will have effects on the next call in this dry-run (or not) */\n stateful?: boolean;\n}\n\nexport interface DryRunResults {\n /** results */\n results: DryRunResult[];\n /** on-chain tx events */\n txEvents?: Record<string, unknown>[];\n}\n\nexport interface DryRunResult {\n type: string;\n result: string;\n reason?: string;\n callObj?: ContractCallObject;\n}\n\nexport interface ContractCallObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n callerNonce: string;\n height: string;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n gasPrice: string;\n gasUsed: string;\n log: Event[];\n /** Base64Check encoded tagged byte array */\n returnValue: string;\n /** The status of the call 'ok | error | revert'. */\n returnType: ContractCallReturnType;\n}\n\nexport interface Event {\n /** Base58Check encoded tagged pubkey */\n address: string;\n /** Event topics */\n topics: string[];\n /** Base64Check encoded tagged byte array */\n data: string;\n}\n\nexport interface TxInfoObject {\n callInfo?: ContractCallObject;\n gaInfo?: GAObject;\n txInfo?: string;\n}\n\nexport interface GAObject {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n height: string;\n gasPrice: string;\n gasUsed: string;\n /** Base64Check encoded tagged byte array */\n returnValue: string;\n /** The status of the call 'ok | error'. */\n returnType: GAReturnType;\n innerObject?: TxInfoObject;\n}\n\nexport interface EncodedTx {\n /** Base64Check encoded tagged byte array */\n tx: string;\n}\n\nexport interface PostTxResponse {\n /** Base58Check encoded tagged hash */\n txHash: string;\n}\n\nexport interface ContractObject {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n vmVersion: string;\n abiVersion: string;\n active: boolean;\n referrerIds: string[];\n deposit: string;\n}\n\nexport interface ByteCode {\n /** Base64Check encoded tagged byte array */\n bytecode: string;\n}\n\nexport interface PoI {\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface RegisteredOracle {\n /** Base58Check encoded tagged pubkey */\n id: string;\n queryFormat: string;\n responseFormat: string;\n queryFee: string;\n ttl: string;\n abiVersion: string;\n}\n\nexport interface OracleQueries {\n oracleQueries: OracleQuery[];\n}\n\nexport interface OracleQuery {\n /** Base58Check encoded tagged value */\n id: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n senderNonce: string;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n response: string;\n ttl: string;\n responseTtl: Ttl;\n fee: string;\n}\n\nexport interface AuctionEntry {\n /** Base58Check encoded tagged value */\n id: string;\n startedAt?: string;\n endsAt: string;\n /** Base58Check encoded tagged pubkey */\n highestBidder: string;\n highestBid: string;\n}\n\nexport interface NameEntry {\n /** Base58Check encoded tagged value */\n id: string;\n /** Base58Check encoded tagged pubkey */\n owner?: string;\n ttl: string;\n pointers: NamePointer[];\n}\n\nexport interface Channel {\n /** Base58Check encoded tagged pubkey */\n id: string;\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n channelAmount: string;\n initiatorAmount: string;\n responderAmount: string;\n channelReserve: string;\n delegateIds: Delegates;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: string;\n soloRound: string;\n lockPeriod: string;\n lockedUntil: string;\n}\n\nexport interface PeerPubKey {\n /** Base58Check encoded tagged pubkey */\n pubkey: string;\n}\n\nexport interface SyncStatus {\n progress: number;\n target: string;\n speed: number;\n estimate: string;\n}\n\nexport interface Status {\n /** Base58Check encoded tagged hash */\n genesisKeyBlockHash: string;\n solutions: string;\n difficulty: string;\n hashrate: string;\n syncing: boolean;\n syncProgress?: number;\n uptime: string;\n listening: boolean;\n protocols: Protocol[];\n nodeVersion: string;\n nodeRevision: string;\n peerCount: string;\n peerConnections: PeerConnections;\n pendingTransactionsCount: string;\n networkId: string;\n /** Base58Check encoded tagged pubkey */\n peerPubkey: string;\n /** Base58Check encoded tagged hash */\n topKeyBlockHash: string;\n topBlockHeight: string;\n}\n\nexport interface Protocol {\n version: string;\n effectiveAtHeight: string;\n}\n\nexport interface PeerConnections {\n inbound: string;\n outbound: string;\n}\n\nexport interface Currency {\n name: string;\n symbol: string;\n subunit: string;\n subunitsPerUnit: string;\n fiatConverstionUrl?: string;\n logo?: Image;\n primaryColour: string;\n secondaryColour: string;\n networkName: string;\n}\n\nexport interface Image {\n type?: string;\n data?: string;\n}\n\nexport interface GasPricesItem {\n /** Minimum gas price in the block range */\n minGasPrice: string;\n /** Percent of available gas used */\n utilization: string;\n /** Number of minutes from the top */\n minutes: string;\n}\n\nexport interface SpendTx {\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n amount: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n}\n\nexport interface OracleRegisterTx {\n queryFormat: string;\n responseFormat: string;\n queryFee: string;\n oracleTtl: Ttl;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n fee: string;\n ttl?: string;\n abiVersion?: string;\n}\n\nexport interface OracleExtendTx {\n fee: string;\n oracleTtl: RelativeTTL;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: string;\n ttl?: string;\n}\n\nexport interface OracleQueryTx {\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n query: string;\n queryFee: string;\n queryTtl: Ttl;\n responseTtl: RelativeTTL;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n senderId: string;\n nonce?: string;\n}\n\nexport interface OracleRespondTx {\n /** Base58Check encoded tagged value */\n queryId: string;\n response: string;\n responseTtl: RelativeTTL;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n oracleId: string;\n nonce?: string;\n}\n\nexport interface NamePreclaimTx {\n /** Base58Check encoded tagged value */\n commitmentId: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameClaimTx {\n name: string;\n nameSalt: string;\n nameFee?: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameUpdateTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n nameTtl: string;\n pointers: NamePointer[];\n clientTtl: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameTransferTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n /** Base58Check encoded tagged pubkey */\n recipientId: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface NameRevokeTx {\n /** Base58Check encoded tagged value */\n nameId: string;\n fee: string;\n ttl?: string;\n /** Base58Check encoded tagged pubkey */\n accountId: string;\n nonce?: string;\n}\n\nexport interface CommitmentId {\n /** Base58Check encoded tagged value */\n commitmentId: string;\n}\n\nexport interface NameHash {\n /** Base58Check encoded tagged value */\n nameId: string;\n}\n\nexport interface ChannelCreateTx {\n /** Base58Check encoded tagged pubkey */\n initiatorId: string;\n initiatorAmount: string;\n /** Base58Check encoded tagged pubkey */\n responderId: string;\n responderAmount: string;\n channelReserve: string;\n lockPeriod: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n delegateIds?: Delegates;\n}\n\nexport interface ChannelDepositTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n amount: string;\n ttl?: string;\n fee: string;\n nonce: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: string;\n}\n\nexport interface ChannelWithdrawTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n toId: string;\n amount: string;\n ttl?: string;\n fee: string;\n nonce: string;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n round: string;\n}\n\nexport interface ChannelForceProgressTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n round: string;\n update: OffChainUpdateUnion;\n /** Base58Check encoded tagged hash */\n stateHash: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n offchainTrees?: string;\n}\n\nexport interface ChannelCloseMutualTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: string;\n responderAmountFinal: string;\n ttl?: string;\n fee: string;\n nonce: string;\n}\n\nexport interface ChannelCloseSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface ChannelSlashTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n poi: string;\n}\n\nexport interface ChannelSettleTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorAmountFinal: string;\n responderAmountFinal: string;\n ttl?: string;\n fee: string;\n nonce: string;\n}\n\nexport interface ChannelSnapshotSoloTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n}\n\nexport interface ChannelSetDelegatesTx {\n /** Base58Check encoded tagged pubkey */\n channelId: string;\n /** Base58Check encoded tagged pubkey */\n fromId: string;\n initiatorDelegateIds: string[];\n responderDelegateIds: string[];\n /** Base58Check encoded tagged pubkey */\n stateHash: string;\n round: string;\n /** Base64Check encoded tagged byte array */\n payload: string;\n ttl?: string;\n fee: string;\n nonce?: string;\n}\n\nexport interface PubKey {\n /** Base58Check encoded tagged pubkey */\n pubKey: string;\n}\n\nexport interface PeerDetails {\n /** Hostname of peer */\n host: string;\n port: string;\n firstSeen: string;\n lastSeen: string;\n /** Base58Check encoded tagged hash */\n genesisHash: string;\n /** Base58Check encoded tagged hash */\n topHash: string;\n topDifficulty: string;\n networkId?: string;\n nodeVersion?: string;\n nodeRevision?: string;\n nodeVendor?: string;\n nodeOs?: string;\n}\n\nexport interface Peers {\n /** All discovered peers */\n peers: string[];\n /** All blocked peers */\n blocked: string[];\n}\n\nexport interface PeerCount {\n connected: PeerCountConnected;\n available: PeerCountAvailable;\n blocked: string;\n}\n\nexport interface PeerCountConnected {\n inbound?: string;\n outbound?: string;\n}\n\nexport interface PeerCountAvailable {\n verified?: string;\n unverified?: string;\n}\n\nexport interface ContractCreateTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n code: string;\n vmVersion: string;\n abiVersion: string;\n deposit: string;\n amount: string;\n gas: string;\n gasPrice: string;\n fee: string;\n ttl?: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface ContractCallTx {\n /** Base58Check encoded tagged pubkey */\n callerId: string;\n nonce?: string;\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n abiVersion: string;\n fee: string;\n ttl?: string;\n amount: string;\n gas: string;\n gasPrice: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface UnsignedTx {\n /** Base64Check encoded tagged byte array */\n tx: string;\n}\n\nexport interface TokenSupply {\n accounts?: string;\n contracts?: string;\n contractOracles?: string;\n locked?: string;\n oracles?: string;\n oracleQueries?: string;\n pendingRewards?: string;\n total?: string;\n}\n\nexport interface GAAttachTx {\n /** Base58Check encoded tagged pubkey */\n ownerId: string;\n nonce?: string;\n /** Base64Check encoded tagged byte array */\n code: string;\n vmVersion: string;\n abiVersion: string;\n gas: string;\n gasPrice: string;\n fee: string;\n ttl?: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n /** Contract authorization function hash (hex encoded) */\n authFun: string;\n}\n\nexport interface GAMetaTx {\n /** Base58Check encoded tagged pubkey */\n gaId: string;\n abiVersion: string;\n gas: string;\n gasPrice: string;\n fee: string;\n ttl?: string;\n /** Base64Check encoded tagged byte array */\n authData: string;\n tx: SignedTx;\n}\n\nexport interface PayingForTx {\n /** Base58Check encoded tagged pubkey */\n payerId: string;\n fee: string;\n nonce?: string;\n tx: SignedTx;\n}\n\nexport interface CheckTxInPoolResponse {\n status: string;\n}\n\nexport interface OffChainTransfer extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainTransfer\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: string;\n}\n\nexport interface OffChainWithdrawal extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainWithdrawal\";\n /** Base58Check encoded tagged pubkey */\n to: string;\n amount: string;\n}\n\nexport interface OffChainDeposit extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainDeposit\";\n /** Base58Check encoded tagged pubkey */\n from: string;\n amount: string;\n}\n\nexport interface OffChainNewContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainNewContract\";\n /** Base58Check encoded tagged pubkey */\n owner: string;\n vmVersion: string;\n abiVersion: string;\n code: ByteCode;\n deposit: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface OffChainCallContract extends OffChainUpdate {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n op: \"OffChainCallContract\";\n /** Base58Check encoded tagged pubkey */\n caller: string;\n /** Base58Check encoded tagged pubkey */\n contract: string;\n abiVersion: string;\n amount: string;\n gas: string;\n gasPrice: string;\n /** Base64Check encoded tagged byte array */\n callData: string;\n}\n\nexport interface CreateContractUnsignedTx extends UnsignedTx {\n /** Base58Check encoded tagged pubkey */\n contractId: string;\n}\n\n/** Defines values for TTLType. */\nexport type TTLType = \"delta\" | \"block\";\n/** Defines values for TxType. */\nexport type TxType =\n | \"SpendTx\"\n | \"ChannelCreateTx\"\n | \"ChannelDepositTx\"\n | \"ChannelWithdrawTx\"\n | \"ChannelForceProgressTx\"\n | \"ChannelCloseMutualTx\"\n | \"ChannelCloseSoloTx\"\n | \"ChannelSlashTx\"\n | \"ChannelSettleTx\"\n | \"ChannelSnapshotSoloTx\"\n | \"ChannelSetDelegatesTx\"\n | \"OracleRegisterTx\"\n | \"OracleExtendTx\"\n | \"OracleQueryTx\"\n | \"OracleRespondTx\"\n | \"NamePreclaimTx\"\n | \"NameClaimTx\"\n | \"NameUpdateTx\"\n | \"NameTransferTx\"\n | \"NameRevokeTx\"\n | \"ContractCreateTx\"\n | \"ContractCallTx\"\n | \"GAAttachTx\"\n | \"GAMetaTx\"\n | \"PayingForTx\";\n/** Defines values for AccountKind. */\nexport type AccountKind = \"basic\" | \"generalized\";\n/** Defines values for NextNonceStrategy. */\nexport type NextNonceStrategy = \"max\" | \"continuity\";\n/** Defines values for ContractCallReturnType. */\nexport type ContractCallReturnType = \"ok\" | \"error\" | \"revert\";\n/** Defines values for GAReturnType. */\nexport type GAReturnType = \"ok\" | \"error\";\n/** Defines values for OracleQueryType. */\nexport type OracleQueryType = \"open\" | \"closed\" | \"all\";\n\n/** Optional parameters. */\nexport interface GetTopHeaderOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTopHeader operation. */\nexport type GetTopHeaderResponse = Header;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlock operation. */\nexport type GetCurrentKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHash operation. */\nexport type GetCurrentKeyBlockHashResponse = HashResponse;\n\n/** Optional parameters. */\nexport interface GetCurrentKeyBlockHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentKeyBlockHeight operation. */\nexport type GetCurrentKeyBlockHeightResponse = HeightResponse;\n\n/** Optional parameters. */\nexport interface GetPendingKeyBlockOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingKeyBlock operation. */\nexport type GetPendingKeyBlockResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHash operation. */\nexport type GetKeyBlockByHashResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetKeyBlockByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getKeyBlockByHeight operation. */\nexport type GetKeyBlockByHeightResponse = KeyBlock;\n\n/** Optional parameters. */\nexport interface GetMicroBlockHeaderByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockHeaderByHash operation. */\nexport type GetMicroBlockHeaderByHashResponse = MicroBlockHeader;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsByHash operation. */\nexport type GetMicroBlockTransactionsByHashResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionByHashAndIndexOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionByHashAndIndex operation. */\nexport type GetMicroBlockTransactionByHashAndIndexResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetMicroBlockTransactionsCountByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getMicroBlockTransactionsCountByHash operation. */\nexport type GetMicroBlockTransactionsCountByHashResponse = CountResponse;\n\n/** Optional parameters. */\nexport interface GetCurrentGenerationOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrentGeneration operation. */\nexport type GetCurrentGenerationResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHash operation. */\nexport type GetGenerationByHashResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetGenerationByHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getGenerationByHeight operation. */\nexport type GetGenerationByHeightResponse = Generation;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkey operation. */\nexport type GetAccountByPubkeyResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHeightOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHeight operation. */\nexport type GetAccountByPubkeyAndHeightResponse = Account;\n\n/** Optional parameters. */\nexport interface GetAccountByPubkeyAndHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccountByPubkeyAndHash operation. */\nexport type GetAccountByPubkeyAndHashResponse = Account;\n\n/** Optional parameters. */\nexport interface GetPendingAccountTransactionsByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPendingAccountTransactionsByPubkey operation. */\nexport type GetPendingAccountTransactionsByPubkeyResponse = SignedTxs;\n\n/** Optional parameters. */\nexport interface GetAccountNextNonceOptionalParams\n extends coreClient.OperationOptions {\n /** What strategy to use in order to determine the next nonce: shall it check for continuity or return the largest nonce seen + 1. If you choose strategy max, then the greatest nonce seen in the account or currently in the transaction pool is incremented with 1 and returned. If you choose the strategy continuity, then transactions in the mempool are checked if there are gaps - missing nonces that prevent transactions with greater nonces to get included. */\n strategy?: NextNonceStrategy;\n}\n\n/** Contains response data for the getAccountNextNonce operation. */\nexport type GetAccountNextNonceResponse = NextNonceResponse;\n\n/** Optional parameters. */\nexport interface ProtectedDryRunTxsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the protectedDryRunTxs operation. */\nexport type ProtectedDryRunTxsResponse = DryRunResults;\n\n/** Optional parameters. */\nexport interface GetTransactionByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionByHash operation. */\nexport type GetTransactionByHashResponse = SignedTx;\n\n/** Optional parameters. */\nexport interface GetTransactionInfoByHashOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getTransactionInfoByHash operation. */\nexport type GetTransactionInfoByHashResponse = TxInfoObject;\n\n/** Optional parameters. */\nexport interface PostTransactionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the postTransaction operation. */\nexport type PostTransactionResponse = PostTxResponse;\n\n/** Optional parameters. */\nexport interface GetContractOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContract operation. */\nexport type GetContractResponse = ContractObject;\n\n/** Optional parameters. */\nexport interface GetContractCodeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractCode operation. */\nexport type GetContractCodeResponse = ByteCode;\n\n/** Optional parameters. */\nexport interface GetContractPoIOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getContractPoI operation. */\nexport type GetContractPoIResponse = PoI;\n\n/** Optional parameters. */\nexport interface GetOracleByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleByPubkey operation. */\nexport type GetOracleByPubkeyResponse = RegisteredOracle;\n\n/** Optional parameters. */\nexport interface GetOracleQueriesByPubkeyOptionalParams\n extends coreClient.OperationOptions {\n /** Last query id in previous page */\n from?: string;\n /** Max number of oracle queries */\n limit?: number;\n /** The type of a query: open, closed or all */\n type?: OracleQueryType;\n}\n\n/** Contains response data for the getOracleQueriesByPubkey operation. */\nexport type GetOracleQueriesByPubkeyResponse = OracleQueries;\n\n/** Optional parameters. */\nexport interface GetOracleQueryByPubkeyAndQueryIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOracleQueryByPubkeyAndQueryId operation. */\nexport type GetOracleQueryByPubkeyAndQueryIdResponse = OracleQuery;\n\n/** Optional parameters. */\nexport interface GetAuctionEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAuctionEntryByName operation. */\nexport type GetAuctionEntryByNameResponse = AuctionEntry;\n\n/** Optional parameters. */\nexport interface GetNameEntryByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getNameEntryByName operation. */\nexport type GetNameEntryByNameResponse = NameEntry;\n\n/** Optional parameters. */\nexport interface GetChannelByPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChannelByPubkey operation. */\nexport type GetChannelByPubkeyResponse = Channel;\n\n/** Optional parameters. */\nexport interface GetPeerPubkeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getPeerPubkey operation. */\nexport type GetPeerPubkeyResponse = PeerPubKey;\n\n/** Optional parameters. */\nexport interface GetSyncStatusOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getSyncStatus operation. */\nexport type GetSyncStatusResponse = SyncStatus;\n\n/** Optional parameters. */\nexport interface GetStatusOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the getStatus operation. */\nexport type GetStatusResponse = Status;\n\n/** Optional parameters. */\nexport interface GetChainEndsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getChainEnds operation. */\nexport type GetChainEndsResponse = {\n /** The parsed response body. */\n body: string[];\n};\n\n/** Optional parameters. */\nexport interface GetCurrencyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getCurrency operation. */\nexport type GetCurrencyResponse = Currency;\n\n/** Optional parameters. */\nexport interface GetRecentGasPricesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getRecentGasPrices operation. */\nexport type GetRecentGasPricesResponse = GasPricesItem[];\n\n/** Optional parameters. */\nexport interface NodeOptionalParams extends coreClient.ServiceClientOptions {\n /** If this flag is set to true, the response will have all integers set as strings */\n intAsString?: boolean;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"],"mappings":""}
@@ -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;