@aeternity/aepp-sdk 13.0.1 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/README.md +4 -2
  2. package/bin/aesophia_cli +0 -0
  3. package/dist/aepp-sdk.browser-script.js +1 -1
  4. package/dist/aepp-sdk.browser-script.js.map +1 -1
  5. package/dist/aepp-sdk.browser.js +1 -1
  6. package/dist/aepp-sdk.browser.js.map +1 -1
  7. package/dist/aepp-sdk.js +26702 -16514
  8. package/dist/aepp-sdk.js.map +1 -1
  9. package/es/AeSdkBase.d.ts +11 -3
  10. package/es/AeSdkBase.mjs +24 -3
  11. package/es/AeSdkBase.mjs.map +1 -1
  12. package/es/AeSdkMethods.d.ts +9 -14
  13. package/es/AeSdkMethods.mjs +20 -49
  14. package/es/AeSdkMethods.mjs.map +1 -1
  15. package/es/AeSdkWallet.mjs +28 -5
  16. package/es/AeSdkWallet.mjs.map +1 -1
  17. package/es/Middleware.d.ts +38 -0
  18. package/es/Middleware.mjs +90 -0
  19. package/es/Middleware.mjs.map +1 -0
  20. package/es/MiddlewareSubscriber.d.ts +30 -0
  21. package/es/MiddlewareSubscriber.mjs +198 -0
  22. package/es/MiddlewareSubscriber.mjs.map +1 -0
  23. package/es/Node.d.ts +1 -1
  24. package/es/Node.mjs.map +1 -1
  25. package/es/account/Base.d.ts +14 -2
  26. package/es/account/Base.mjs.map +1 -1
  27. package/es/account/Generalized.d.ts +1 -0
  28. package/es/account/Generalized.mjs +5 -0
  29. package/es/account/Generalized.mjs.map +1 -1
  30. package/es/account/Ledger.d.ts +1 -0
  31. package/es/account/Ledger.mjs +5 -0
  32. package/es/account/Ledger.mjs.map +1 -1
  33. package/es/account/Memory.d.ts +2 -0
  34. package/es/account/Memory.mjs +18 -0
  35. package/es/account/Memory.mjs.map +1 -1
  36. package/es/account/Rpc.d.ts +1 -6
  37. package/es/account/Rpc.mjs +24 -10
  38. package/es/account/Rpc.mjs.map +1 -1
  39. package/es/aens.d.ts +1 -1
  40. package/es/aens.mjs +1 -1
  41. package/es/aens.mjs.map +1 -1
  42. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +5 -2
  43. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
  44. package/es/aepp-wallet-communication/rpc/types.d.ts +10 -0
  45. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
  46. package/es/aepp-wallet-communication/schema.d.ts +1 -8
  47. package/es/aepp-wallet-communication/schema.mjs +1 -14
  48. package/es/aepp-wallet-communication/schema.mjs.map +1 -1
  49. package/es/aepp-wallet-communication/wallet-detector.d.ts +1 -1
  50. package/es/aepp-wallet-communication/wallet-detector.mjs +0 -3
  51. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
  52. package/es/apis/compiler/compiler.mjs +15 -1
  53. package/es/apis/compiler/compiler.mjs.map +1 -1
  54. package/es/apis/compiler/models/index.d.ts +1 -7
  55. package/es/apis/compiler/models/index.mjs.map +1 -1
  56. package/es/apis/compiler/models/mappers.d.ts +0 -1
  57. package/es/apis/compiler/models/mappers.mjs +0 -43
  58. package/es/apis/compiler/models/mappers.mjs.map +1 -1
  59. package/es/apis/middleware/index.d.ts +2 -0
  60. package/es/apis/middleware/index.mjs +3 -0
  61. package/es/apis/middleware/index.mjs.map +1 -0
  62. package/es/apis/middleware/middleware.d.ts +309 -0
  63. package/es/apis/middleware/middleware.mjs +1527 -0
  64. package/es/apis/middleware/middleware.mjs.map +1 -0
  65. package/es/apis/middleware/models/index.d.ts +1496 -0
  66. package/es/apis/middleware/models/index.mjs +364 -0
  67. package/es/apis/middleware/models/index.mjs.map +1 -0
  68. package/es/apis/middleware/models/mappers.d.ts +102 -0
  69. package/es/apis/middleware/models/mappers.mjs +3334 -0
  70. package/es/apis/middleware/models/mappers.mjs.map +1 -0
  71. package/es/apis/middleware/models/parameters.d.ts +43 -0
  72. package/es/apis/middleware/models/parameters.mjs +417 -0
  73. package/es/apis/middleware/models/parameters.mjs.map +1 -0
  74. package/es/chain.d.ts +2 -1
  75. package/es/chain.mjs +4 -2
  76. package/es/chain.mjs.map +1 -1
  77. package/es/channel/Base.d.ts +1 -1
  78. package/es/channel/Base.mjs +1 -4
  79. package/es/channel/Base.mjs.map +1 -1
  80. package/es/channel/internal.mjs +2 -0
  81. package/es/channel/internal.mjs.map +1 -1
  82. package/es/contract/Contract.mjs +1 -1
  83. package/es/contract/Contract.mjs.map +1 -1
  84. package/es/contract/compiler/Base.d.ts +21 -0
  85. package/es/contract/compiler/Base.mjs.map +1 -1
  86. package/es/contract/compiler/Cli.d.ts +2 -0
  87. package/es/contract/compiler/Cli.mjs +24 -3
  88. package/es/contract/compiler/Cli.mjs.map +1 -1
  89. package/es/contract/compiler/Http.d.ts +2 -0
  90. package/es/contract/compiler/Http.mjs +22 -2
  91. package/es/contract/compiler/Http.mjs.map +1 -1
  92. package/es/contract/compiler/HttpNode.d.ts +1 -0
  93. package/es/contract/compiler/HttpNode.mjs +5 -0
  94. package/es/contract/compiler/HttpNode.mjs.map +1 -1
  95. package/es/deprecated.d.ts +14 -0
  96. package/es/deprecated.mjs +22 -0
  97. package/es/deprecated.mjs.map +1 -0
  98. package/es/index-browser.d.ts +20 -14
  99. package/es/index-browser.mjs +19 -15
  100. package/es/index-browser.mjs.map +1 -1
  101. package/es/tx/builder/constants.d.ts +0 -1
  102. package/es/tx/builder/constants.mjs +0 -1
  103. package/es/tx/builder/constants.mjs.map +1 -1
  104. package/es/tx/builder/field-types/coin-amount.d.ts +1 -1
  105. package/es/tx/builder/field-types/coin-amount.mjs +2 -1
  106. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
  107. package/es/tx/builder/field-types/deposit.d.ts +1 -1
  108. package/es/tx/builder/field-types/entry.mjs +2 -1
  109. package/es/tx/builder/field-types/entry.mjs.map +1 -1
  110. package/es/tx/builder/field-types/index.d.ts +2 -2
  111. package/es/tx/builder/helpers.d.ts +8 -1
  112. package/es/tx/builder/helpers.mjs +53 -9
  113. package/es/tx/builder/helpers.mjs.map +1 -1
  114. package/es/tx/builder/index.d.ts +4 -2
  115. package/es/tx/builder/index.mjs +0 -1
  116. package/es/tx/builder/index.mjs.map +1 -1
  117. package/es/tx/builder/schema.d.ts +9 -9
  118. package/es/tx/validator.mjs +6 -3
  119. package/es/tx/validator.mjs.map +1 -1
  120. package/es/utils/autorest.mjs +6 -8
  121. package/es/utils/autorest.mjs.map +1 -1
  122. package/es/utils/crypto.d.ts +1 -0
  123. package/es/utils/crypto.mjs +12 -2
  124. package/es/utils/crypto.mjs.map +1 -1
  125. package/es/utils/errors.d.ts +2 -2
  126. package/es/utils/errors.mjs.map +1 -1
  127. package/es/utils/other.d.ts +1 -0
  128. package/es/utils/other.mjs +5 -0
  129. package/es/utils/other.mjs.map +1 -1
  130. package/es/utils/typed-data.d.ts +45 -0
  131. package/es/utils/typed-data.mjs +71 -0
  132. package/es/utils/typed-data.mjs.map +1 -0
  133. package/package.json +23 -4
  134. package/src/AeSdkBase.ts +30 -5
  135. package/src/AeSdkMethods.ts +31 -50
  136. package/src/AeSdkWallet.ts +27 -5
  137. package/src/Middleware.ts +141 -0
  138. package/src/MiddlewareSubscriber.ts +207 -0
  139. package/src/Node.ts +1 -1
  140. package/src/account/Base.ts +20 -3
  141. package/src/account/Generalized.ts +5 -0
  142. package/src/account/Ledger.ts +5 -0
  143. package/src/account/Memory.ts +15 -0
  144. package/src/account/Rpc.ts +19 -7
  145. package/src/aens.ts +1 -1
  146. package/src/aepp-wallet-communication/rpc/RpcClient.ts +11 -3
  147. package/src/aepp-wallet-communication/rpc/types.ts +11 -0
  148. package/src/aepp-wallet-communication/schema.ts +2 -17
  149. package/src/aepp-wallet-communication/wallet-detector.ts +1 -2
  150. package/src/apis/compiler/compiler.ts +8 -1
  151. package/src/apis/compiler/models/index.ts +1 -8
  152. package/src/apis/compiler/models/mappers.ts +0 -36
  153. package/src/apis/middleware/index.ts +2 -0
  154. package/src/apis/middleware/middleware.ts +1807 -0
  155. package/src/apis/middleware/models/index.ts +1747 -0
  156. package/src/apis/middleware/models/mappers.ts +3370 -0
  157. package/src/apis/middleware/models/parameters.ts +463 -0
  158. package/src/chain.ts +3 -2
  159. package/src/channel/Base.ts +5 -5
  160. package/src/channel/internal.ts +2 -0
  161. package/src/contract/Contract.ts +1 -0
  162. package/src/contract/compiler/Base.ts +26 -0
  163. package/src/contract/compiler/Cli.ts +27 -3
  164. package/src/contract/compiler/Http.ts +21 -2
  165. package/src/contract/compiler/HttpNode.ts +6 -0
  166. package/src/deprecated.ts +23 -0
  167. package/src/index-browser.ts +77 -15
  168. package/src/tx/builder/constants.ts +0 -1
  169. package/src/tx/builder/field-types/coin-amount.ts +2 -1
  170. package/src/tx/builder/field-types/entry.ts +1 -1
  171. package/src/tx/builder/helpers.ts +54 -9
  172. package/src/tx/builder/index.ts +6 -9
  173. package/src/tx/validator.ts +4 -2
  174. package/src/utils/autorest.ts +5 -10
  175. package/src/utils/crypto.ts +12 -2
  176. package/src/utils/errors.ts +2 -2
  177. package/src/utils/other.ts +5 -0
  178. package/src/utils/typed-data.ts +95 -0
  179. package/types-legacy/ts4.2/AeSdkBase.d.ts +11 -3
  180. package/types-legacy/ts4.2/AeSdkMethods.d.ts +9 -14
  181. package/types-legacy/ts4.2/Middleware.d.ts +46 -0
  182. package/types-legacy/ts4.2/MiddlewareSubscriber.d.ts +30 -0
  183. package/types-legacy/ts4.2/Node.d.ts +1 -1
  184. package/types-legacy/ts4.2/account/Base.d.ts +14 -2
  185. package/types-legacy/ts4.2/account/Generalized.d.ts +1 -0
  186. package/types-legacy/ts4.2/account/Ledger.d.ts +1 -0
  187. package/types-legacy/ts4.2/account/Memory.d.ts +2 -0
  188. package/types-legacy/ts4.2/account/Rpc.d.ts +1 -6
  189. package/types-legacy/ts4.2/aens.d.ts +1 -1
  190. package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +10 -0
  191. package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +1 -8
  192. package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +1 -1
  193. package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -7
  194. package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +0 -1
  195. package/types-legacy/ts4.2/apis/middleware/index.d.ts +2 -0
  196. package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +309 -0
  197. package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +1496 -0
  198. package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +102 -0
  199. package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +43 -0
  200. package/types-legacy/ts4.2/chain.d.ts +2 -1
  201. package/types-legacy/ts4.2/channel/Base.d.ts +1 -1
  202. package/types-legacy/ts4.2/contract/compiler/Base.d.ts +21 -0
  203. package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +2 -0
  204. package/types-legacy/ts4.2/contract/compiler/Http.d.ts +2 -0
  205. package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +1 -0
  206. package/types-legacy/ts4.2/deprecated.d.ts +14 -0
  207. package/types-legacy/ts4.2/index-browser.d.ts +20 -14
  208. package/types-legacy/ts4.2/tx/builder/constants.d.ts +0 -1
  209. package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +1 -1
  210. package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +1 -1
  211. package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +2 -2
  212. package/types-legacy/ts4.2/tx/builder/helpers.d.ts +8 -1
  213. package/types-legacy/ts4.2/tx/builder/index.d.ts +4 -2
  214. package/types-legacy/ts4.2/tx/builder/schema.d.ts +9 -9
  215. package/types-legacy/ts4.2/utils/crypto.d.ts +1 -0
  216. package/types-legacy/ts4.2/utils/errors.d.ts +2 -2
  217. package/types-legacy/ts4.2/utils/other.d.ts +1 -0
  218. package/types-legacy/ts4.2/utils/typed-data.d.ts +60 -0
  219. package/types-legacy/ts4.5/AeSdkBase.d.ts +11 -3
  220. package/types-legacy/ts4.5/AeSdkMethods.d.ts +9 -14
  221. package/types-legacy/ts4.5/Middleware.d.ts +46 -0
  222. package/types-legacy/ts4.5/MiddlewareSubscriber.d.ts +30 -0
  223. package/types-legacy/ts4.5/Node.d.ts +1 -1
  224. package/types-legacy/ts4.5/account/Base.d.ts +14 -2
  225. package/types-legacy/ts4.5/account/Generalized.d.ts +1 -0
  226. package/types-legacy/ts4.5/account/Ledger.d.ts +1 -0
  227. package/types-legacy/ts4.5/account/Memory.d.ts +2 -0
  228. package/types-legacy/ts4.5/account/Rpc.d.ts +1 -6
  229. package/types-legacy/ts4.5/aens.d.ts +1 -1
  230. package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +10 -0
  231. package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +1 -8
  232. package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +1 -1
  233. package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -7
  234. package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +0 -1
  235. package/types-legacy/ts4.5/apis/middleware/index.d.ts +2 -0
  236. package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +309 -0
  237. package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +1496 -0
  238. package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +102 -0
  239. package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +43 -0
  240. package/types-legacy/ts4.5/chain.d.ts +2 -1
  241. package/types-legacy/ts4.5/channel/Base.d.ts +1 -1
  242. package/types-legacy/ts4.5/contract/compiler/Base.d.ts +21 -0
  243. package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +2 -0
  244. package/types-legacy/ts4.5/contract/compiler/Http.d.ts +2 -0
  245. package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +1 -0
  246. package/types-legacy/ts4.5/deprecated.d.ts +14 -0
  247. package/types-legacy/ts4.5/index-browser.d.ts +20 -14
  248. package/types-legacy/ts4.5/tx/builder/constants.d.ts +0 -1
  249. package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +1 -1
  250. package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +1 -1
  251. package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +2 -2
  252. package/types-legacy/ts4.5/tx/builder/helpers.d.ts +8 -1
  253. package/types-legacy/ts4.5/tx/builder/index.d.ts +4 -2
  254. package/types-legacy/ts4.5/tx/builder/schema.d.ts +9 -9
  255. package/types-legacy/ts4.5/utils/crypto.d.ts +1 -0
  256. package/types-legacy/ts4.5/utils/errors.d.ts +2 -2
  257. package/types-legacy/ts4.5/utils/other.d.ts +1 -0
  258. package/types-legacy/ts4.5/utils/typed-data.d.ts +60 -0
@@ -0,0 +1,1496 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export interface Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchemaAllof0 {
3
+ data?: Activity[];
4
+ }
5
+ /** Activity related to an account */
6
+ export interface Activity {
7
+ /** The block hash */
8
+ blockHash: string;
9
+ /** The block height */
10
+ height: number;
11
+ /** Any object */
12
+ payload: Record<string, unknown>;
13
+ /** The event type */
14
+ type: ActivityType;
15
+ }
16
+ export interface PaginatedResponse {
17
+ next: string | null;
18
+ prev: string | null;
19
+ }
20
+ /** Error response from the API */
21
+ export interface ErrorResponse {
22
+ /** The message of the error raised */
23
+ error: string;
24
+ }
25
+ export interface Paths17FlgdkV2Aex141GetResponses200ContentApplicationJsonSchemaAllof0 {
26
+ data?: Aex141Response[];
27
+ }
28
+ /** Response Schema for AEX141 contract */
29
+ export interface Aex141Response {
30
+ /** Metadata base url */
31
+ baseUrl: string;
32
+ /** NFT contract id */
33
+ contractId: string;
34
+ /** Transaction that created the contract */
35
+ contractTxi: string;
36
+ /** Extensions implemented by the contract */
37
+ extensions: string[];
38
+ /** Limit for amount of tokens or templates */
39
+ limits: Record<string, unknown>;
40
+ }
41
+ export interface PathsAxw0PwV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchemaAllof0 {
42
+ data?: Aex141OwnedTokenResponse[];
43
+ }
44
+ /** Response Schema for owners of AEX-141 tokens */
45
+ export interface Aex141OwnedTokenResponse {
46
+ /** Account id */
47
+ accountId: string;
48
+ /** NFT contract id */
49
+ contractId: string;
50
+ /** Non-fungible token id */
51
+ tokenId: number;
52
+ }
53
+ export interface PathsN3Ru7DV2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchemaAllof0 {
54
+ data?: Aex141OwnedTokenResponse[];
55
+ }
56
+ export interface PathsRa6Pv6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchemaAllof0 {
57
+ data?: Aex141TemplatesResponse[];
58
+ }
59
+ /** Response Schema for templates of a AEX-141 contract */
60
+ export interface Aex141TemplatesResponse {
61
+ /** NFT contract id */
62
+ contractId: string;
63
+ /** Template edition details */
64
+ edition?: Record<string, unknown>;
65
+ /** Log index of the TemplateCreation */
66
+ logIdx: number;
67
+ /** Template id of AEX-141 tokens */
68
+ templateId: number;
69
+ /** Transaction hash of the TemplateCreation */
70
+ txHash: string;
71
+ }
72
+ export interface Paths19B9O7TV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchemaAllof0 {
73
+ data?: Aex141TemplateTokensResponse[];
74
+ }
75
+ /** Response Schema for template tokens of a AEX-141 contract */
76
+ export interface Aex141TemplateTokensResponse {
77
+ /** Mint event index */
78
+ logIdx: number;
79
+ /** Owner wallet address */
80
+ ownerId: string;
81
+ /** NFT id */
82
+ tokenId: number;
83
+ /** Mint transaction hash */
84
+ txHash: string;
85
+ }
86
+ export interface Paths1Fe570RV2Aex9GetResponses200ContentApplicationJsonSchemaAllof0 {
87
+ data?: Aex9Response[];
88
+ }
89
+ /** Response Schema for AEX9 contract */
90
+ export interface Aex9Response {
91
+ /** Id of the contract of the AEX9 tokens */
92
+ contractId: string;
93
+ /** Index of transaction that created the contract */
94
+ contractTxi: number;
95
+ /** The number of decimals for AEX9 token */
96
+ decimals: number;
97
+ /** Token supply updated on event basis (Mint, Burn, Swap) */
98
+ eventSupply: number;
99
+ /** Extensions implemnted by the contract */
100
+ extensions?: string[];
101
+ /** Count of accounts having balance (nil when contract is not complaint) */
102
+ holders: number;
103
+ /** Token supply right after contract's creation */
104
+ initialSupply: number;
105
+ /** Name of AEX9 token */
106
+ name: string;
107
+ /** Symbol of AEX9 token */
108
+ symbol: string;
109
+ }
110
+ export interface PathsO9MbpkV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchemaAllof1 {
111
+ data?: Aex9BalanceResponse[];
112
+ }
113
+ /** Response Schema for AEX9 balance responses */
114
+ export interface Aex9BalanceResponse {
115
+ /** Amount of AEX9 token */
116
+ amount: number;
117
+ /** Block hash, indicating a state of a balance for that block */
118
+ blockHash: number;
119
+ /** Contract id of AEX9 token */
120
+ contractId: string;
121
+ /** Number of decimals of AEX9 token */
122
+ decimals: number;
123
+ /** Block height, indicating a state of a balance for that block height */
124
+ height: number;
125
+ /** Name of AEX9 token */
126
+ tokenName: string;
127
+ /** Symbol of AEX9 token */
128
+ tokenSymbol: string;
129
+ /** Transaction hash, indicating a state of a balance for that block height */
130
+ txHash: string;
131
+ /** Transaction index, indicating a state of a balance for that block height */
132
+ txIndex: number;
133
+ /** Transaction type, indicating a state of a balance for that block height */
134
+ txType: string;
135
+ }
136
+ export interface PathsY2JwfkV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchemaAllof0 {
137
+ data?: Aex9TransferResponse[];
138
+ }
139
+ /** Response Schema for AEX9 transfer responses */
140
+ export interface Aex9TransferResponse {
141
+ /** Transfer amount of AEX9 token */
142
+ amount: number;
143
+ /** The block height */
144
+ blockHeight: number;
145
+ /** AEX9 token transfer index */
146
+ callTxi: number;
147
+ /** Contract identifier */
148
+ contractId: string;
149
+ /** Log index */
150
+ logIdx: number;
151
+ /** The unix timestamp */
152
+ microTime: number;
153
+ /** Recipient of AEX9 transfer */
154
+ recipient: string;
155
+ /** Sender of AEX9 transfer */
156
+ sender: string;
157
+ }
158
+ export interface Paths5U7W2V2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchemaAllof0 {
159
+ data?: Aex9TransferResponse[];
160
+ }
161
+ export interface Paths12TleqhV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchemaAllof0 {
162
+ data?: Aex9TransferResponse[];
163
+ }
164
+ export interface Paths1C2B0UpV2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchemaAllof0 {
165
+ data?: Aex9ContractBalanceResponse[];
166
+ }
167
+ /** Response Schema for AEX9 contract balances responses */
168
+ export interface Aex9ContractBalanceResponse {
169
+ /** The wallet pubkey */
170
+ accountId: string;
171
+ /** The balance amount */
172
+ amount: number;
173
+ /** The block hash, indicating a state of a balance for that block */
174
+ blockHash: number;
175
+ /** The contract id of given token */
176
+ contractId: number;
177
+ /** The block height, indicating a state of a balance for that block height */
178
+ height: number;
179
+ /** The index of the event log that changed the balance */
180
+ lastLogIdx: number;
181
+ /** The hash of the last transaction that changed the balance */
182
+ lastTxHash: string;
183
+ }
184
+ export interface PathsBelvp6V2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchemaAllof0 {
185
+ /** The account present on a AEX9 */
186
+ account?: string;
187
+ /** The amount of AEX9 token */
188
+ amount?: number;
189
+ /** The contract id of given token */
190
+ contract?: string;
191
+ }
192
+ export interface Paths11X7LpcV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchemaAllof0 {
193
+ /** The account present on a AEX9 */
194
+ account?: string;
195
+ /** The amount of AEX9 token */
196
+ amount?: number;
197
+ /** The contract id of given token */
198
+ contract?: string;
199
+ /** The block height, indicating a state of a balance for that block height */
200
+ height?: number;
201
+ }
202
+ export interface Paths5LeqfqV2BlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
203
+ data?: Block[];
204
+ }
205
+ /** Key Block */
206
+ export interface Block {
207
+ /** The beneficiary */
208
+ beneficiary?: string;
209
+ /** The block hash */
210
+ hash?: string;
211
+ /** The block height */
212
+ height?: number;
213
+ /** The info */
214
+ info?: string;
215
+ /** The miner public key */
216
+ miner?: string;
217
+ /** The nonce */
218
+ nonce?: string;
219
+ /** The pow */
220
+ pow?: number[];
221
+ /** The previous block hash */
222
+ prevHash?: string;
223
+ /** The previous key block hash */
224
+ prevKeyHash?: string;
225
+ /** The state hash */
226
+ stateHash?: string;
227
+ /** The target */
228
+ target?: number;
229
+ /** The time */
230
+ time?: number;
231
+ /** The version */
232
+ version?: number;
233
+ }
234
+ /** Resource not found on the API */
235
+ export interface NotFoundResponse {
236
+ /** The message of the error raised */
237
+ error: string;
238
+ }
239
+ export interface PathsC25EgV2ChannelsGetResponses200ContentApplicationJsonSchemaAllof0 {
240
+ data?: Channel[];
241
+ }
242
+ export interface Channel {
243
+ /** Balance currently left in the channel */
244
+ amount?: number;
245
+ /** Channel pubkey */
246
+ channel?: string;
247
+ /** Minimum amount for sufficient funds */
248
+ channelReserve?: number;
249
+ /** Pubkeys of delegated accounts */
250
+ delegateIds?: Record<string, unknown>;
251
+ /** Channel initiator pubkey */
252
+ initiator?: string;
253
+ /** Amount owned by initiator */
254
+ initiatorAmount?: number;
255
+ /** The last height in which the channel was updated */
256
+ lastUpdatedHeight?: string;
257
+ /** The transaction type of the last transaction that updated the channel */
258
+ lastUpdatedTxType?: string;
259
+ /** Amount of heights locked after a solo closing */
260
+ lockPeriod?: number;
261
+ /** Non-inclusive height until which the channel is locked */
262
+ lockedUntil?: number;
263
+ /** The channel responder pubkey */
264
+ responder?: string;
265
+ /** Amount owned by responder */
266
+ responderAmount?: number;
267
+ /** Round after last transaction */
268
+ round?: number;
269
+ /** Round of last solo transaction */
270
+ soloRound?: number;
271
+ /** The hash of the current channel state */
272
+ stateHash?: string;
273
+ /** The amount of times the channel's been updated by any of the channel transactions */
274
+ updatesCount?: string;
275
+ }
276
+ export interface Paths1Csrt0IV2ContractsCallsGetResponses200ContentApplicationJsonSchemaAllof0 {
277
+ data?: ContractCall[];
278
+ }
279
+ /** ContractCall */
280
+ export interface ContractCall {
281
+ blockHash?: string;
282
+ callTxHash?: string;
283
+ callTxi?: number;
284
+ contractId?: string;
285
+ contractTxi?: number;
286
+ function?: string;
287
+ height?: number;
288
+ /** Any object */
289
+ internalTx?: Record<string, unknown>;
290
+ localIdx?: number;
291
+ microIndex?: number;
292
+ }
293
+ export interface Paths9Ya94MV2ContractsLogsGetResponses200ContentApplicationJsonSchemaAllof0 {
294
+ data?: ContractLog[];
295
+ }
296
+ /** ContractLog */
297
+ export interface ContractLog {
298
+ args?: number[];
299
+ blockHash?: string;
300
+ callTxHash?: string;
301
+ callTxi?: number;
302
+ contractId?: string;
303
+ contractTxi?: number;
304
+ data?: string;
305
+ eventHash?: string;
306
+ extCallerContractId?: string;
307
+ extCallerContractTxi?: number;
308
+ height?: number;
309
+ logIdx?: number;
310
+ microIndex?: number;
311
+ parentContractId?: number;
312
+ }
313
+ export interface PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0 {
314
+ data?: DeltaStat[];
315
+ }
316
+ /** DeltaStat */
317
+ export interface DeltaStat {
318
+ /** The number of auctions started */
319
+ auctionsStarted?: number;
320
+ /** The block reward */
321
+ blockReward?: number;
322
+ /** The number of contracts created */
323
+ contractsCreated?: number;
324
+ /** The dev reward */
325
+ devReward?: number;
326
+ /** The generation */
327
+ height?: number;
328
+ /** The number of names activated */
329
+ namesActivated?: number;
330
+ /** The number of names expired */
331
+ namesExpired?: number;
332
+ /** The number of names revoked */
333
+ namesRevoked?: number;
334
+ /** The number of oracles expired */
335
+ oraclesExpired?: number;
336
+ /** The number of oracles registered */
337
+ oraclesRegistered?: number;
338
+ }
339
+ export interface Paths10TrrshV2KeyBlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
340
+ data?: KeyBlock[];
341
+ }
342
+ /** Key Block */
343
+ export interface KeyBlock {
344
+ /** The beneficiary */
345
+ beneficiary?: string;
346
+ /** The block hash */
347
+ hash?: string;
348
+ /** The block height */
349
+ height?: number;
350
+ /** The info */
351
+ info?: string;
352
+ /** The miner public key */
353
+ miner?: string;
354
+ /** The nonce */
355
+ nonce?: string;
356
+ /** The pow */
357
+ pow?: number[];
358
+ /** The previous block hash */
359
+ prevHash?: string;
360
+ /** The previous key block hash */
361
+ prevKeyHash?: string;
362
+ /** The state hash */
363
+ stateHash?: string;
364
+ /** The target */
365
+ target?: number;
366
+ /** The time */
367
+ time?: number;
368
+ /** The version */
369
+ version?: number;
370
+ }
371
+ export interface Paths7Hfka2V2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchemaAllof0 {
372
+ data?: MicroBlock[];
373
+ }
374
+ /** MicroBlock */
375
+ export interface MicroBlock {
376
+ /** The micro block hash */
377
+ hash?: string;
378
+ /** The block height */
379
+ height?: number;
380
+ /** The index of the micro-block on the micro-block height, starting from 0 */
381
+ microBlockIndex?: number;
382
+ /** The pow */
383
+ pofHash?: number[];
384
+ /** The previous block hash */
385
+ prevHash?: string;
386
+ /** The previous key block hash */
387
+ prevKeyHash?: string;
388
+ /** The state hash */
389
+ stateHash?: string;
390
+ /** The time */
391
+ time?: number;
392
+ /** The number of transactions */
393
+ transactionsCount?: number;
394
+ /** The version */
395
+ version?: number;
396
+ }
397
+ export interface Paths1RxrrvbV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchemaAllof0 {
398
+ data?: Tx[];
399
+ }
400
+ /** Transaction */
401
+ export interface Tx {
402
+ /** The block hash */
403
+ blockHash?: string;
404
+ /** The block height */
405
+ blockHeight?: number;
406
+ /** The transaction hash */
407
+ hash?: string;
408
+ /** The micro block index */
409
+ microIndex?: number;
410
+ /** The unix timestamp */
411
+ microTime?: number;
412
+ /** The signatures */
413
+ signatures?: string[];
414
+ /** The transaction */
415
+ tx?: Record<string, unknown>;
416
+ /** The transaction index */
417
+ txIndex?: number;
418
+ }
419
+ export interface Paths16Srg6EV2NamesGetResponses200ContentApplicationJsonSchemaAllof0 {
420
+ data?: Name[];
421
+ }
422
+ /** Name */
423
+ export interface Name {
424
+ active?: boolean;
425
+ hash?: string;
426
+ info?: NameInfo;
427
+ previous?: Name[];
428
+ status?: NameStatus;
429
+ }
430
+ export interface NameInfo {
431
+ activeFrom?: number;
432
+ claims?: number[];
433
+ expireHeight?: number;
434
+ ownership?: NameInfoOwnership;
435
+ pointers?: NameInfoPointers;
436
+ transfers?: number[];
437
+ updates?: string;
438
+ }
439
+ export interface NameInfoOwnership {
440
+ current?: string;
441
+ original?: string;
442
+ }
443
+ export interface NameInfoPointers {
444
+ accountPubkey?: string;
445
+ }
446
+ /** Auction */
447
+ export interface Auction {
448
+ active?: boolean;
449
+ info?: AuctionInfo;
450
+ }
451
+ export interface AuctionInfo {
452
+ auctionEnd?: number;
453
+ bids?: number[];
454
+ lastBid?: AuctionInfoLastBid;
455
+ name?: string;
456
+ /** Auction */
457
+ previous?: Auction;
458
+ status?: AuctionInfoStatus;
459
+ txIndex?: number;
460
+ }
461
+ export interface AuctionInfoLastBid {
462
+ blockHash?: string;
463
+ blockHeight?: number;
464
+ hash?: string;
465
+ microIndex?: number;
466
+ microTime?: number;
467
+ signatures?: string[];
468
+ /** Any object */
469
+ tx?: Record<string, unknown>;
470
+ }
471
+ export interface Paths1I6PwfdV2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0 {
472
+ data?: Get200ApplicationJsonAllOfPropertiesItemsItem[];
473
+ }
474
+ export interface Paths7P6Qc1V2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0PropertiesDataItemsAllof1 {
475
+ status?: Get200ApplicationJsonAllOfPropertiesItems1Status;
476
+ }
477
+ /** Name Claim */
478
+ export interface NameClaim {
479
+ blockHash?: string;
480
+ height?: number;
481
+ /** Any object */
482
+ tx?: Record<string, unknown>;
483
+ }
484
+ export interface PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema {
485
+ /** Any object */
486
+ active?: Record<string, unknown>;
487
+ /** Any object */
488
+ inactive?: Record<string, unknown>;
489
+ }
490
+ /** Name Transfer */
491
+ export interface NameTransfer {
492
+ blockHash?: string;
493
+ height?: number;
494
+ /** Any object */
495
+ tx?: Record<string, unknown>;
496
+ }
497
+ /** Name Update */
498
+ export interface NameUpdate {
499
+ blockHash?: string;
500
+ height?: number;
501
+ /** Any object */
502
+ tx?: Record<string, unknown>;
503
+ }
504
+ export interface Oracle {
505
+ /** The oracle active status */
506
+ active: boolean;
507
+ /** The block height when the oracle became active */
508
+ activeFrom: number;
509
+ /** The block height when the oracle expires */
510
+ expireHeight: number;
511
+ /** The tx indexes when the oracle has been extended */
512
+ extends: OracleExtendsItem[];
513
+ /** The oracle id */
514
+ oracle: string;
515
+ /** The query fee */
516
+ queryFee: number;
517
+ /** The tx index when the oracle is registered */
518
+ register: number;
519
+ }
520
+ /** The oracle's query and response formats */
521
+ export interface OracleExtendsItem {
522
+ /** The query format */
523
+ query: string;
524
+ /** The response format */
525
+ response: string;
526
+ }
527
+ export interface PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0 {
528
+ data?: Oracle[];
529
+ }
530
+ export interface Status {
531
+ mdwAsyncTasks: StatusMdwAsyncTasks;
532
+ /** The approximate number of generations synced per minute on middleware */
533
+ mdwGensPerMinute: number;
534
+ /** The top generation up to which the middleware was synced */
535
+ mdwHeight: number;
536
+ /** The last middleware migration ran */
537
+ mdwLastMigration: number;
538
+ /** The middleware's git revision of the latest commit applied */
539
+ mdwRevision: string;
540
+ /** true if middleware was synced up to the latest node block */
541
+ mdwSynced: boolean;
542
+ /** true if middleware is syncing (i.e. it didn't stop due to an error) */
543
+ mdwSyncing: boolean;
544
+ /** index of the latest synced transaction */
545
+ mdwTxIndex: number;
546
+ /** The middleware's version */
547
+ mdwVersion: string;
548
+ /** The node generation of the last block synced */
549
+ nodeHeight: number;
550
+ /** The percentage of generations synced on the node */
551
+ nodeProgress: number;
552
+ /** The node's git revision of the latest commit applied */
553
+ nodeRevision: string;
554
+ /** If true, the node is still processing additional blocks to reach the latest one */
555
+ nodeSyncing: boolean;
556
+ /** The node's version */
557
+ nodeVersion: string;
558
+ }
559
+ export interface StatusMdwAsyncTasks {
560
+ longTasks: number;
561
+ producerBuffer: number;
562
+ totalPending: number;
563
+ }
564
+ export interface PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0 {
565
+ data?: TotalStat[];
566
+ }
567
+ /** TotalStat */
568
+ export interface TotalStat {
569
+ /** The number of auctions started */
570
+ auctionsStarted?: number;
571
+ /** The block reward */
572
+ blockReward?: number;
573
+ /** The number of contracts created */
574
+ contractsCreated?: number;
575
+ /** The dev reward */
576
+ devReward?: number;
577
+ /** The generation */
578
+ height?: number;
579
+ /** The number of names activated */
580
+ namesActivated?: number;
581
+ /** The number of names expired */
582
+ namesExpired?: number;
583
+ /** The number of names revoked */
584
+ namesRevoked?: number;
585
+ /** The number of oracles expired */
586
+ oraclesExpired?: number;
587
+ /** The number of oracles registered */
588
+ oraclesRegistered?: number;
589
+ }
590
+ export interface Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0 {
591
+ data?: Transfer[];
592
+ }
593
+ export interface Transfer {
594
+ accountId?: string;
595
+ amount?: number;
596
+ height?: number;
597
+ kind?: TransferKind;
598
+ refTxi?: number;
599
+ }
600
+ export interface Paths1R74KpvV2TxsGetResponses200ContentApplicationJsonSchemaAllof0 {
601
+ data?: Tx[];
602
+ }
603
+ export interface Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema {
604
+ /** The channel close mutual txs count */
605
+ channelCloseMutualTx?: Record<string, unknown>;
606
+ /** The channel close solo txs count */
607
+ channelCloseSoloTx?: Record<string, unknown>;
608
+ /** The channel create txs count */
609
+ channelCreateTx?: Record<string, unknown>;
610
+ /** The channel deposit txs count */
611
+ channelDepositTx?: Record<string, unknown>;
612
+ /** The channel force progress txs count */
613
+ channelForceProgressTx?: number;
614
+ /** The channel offchain txs count */
615
+ channelOffchainTx?: Record<string, unknown>;
616
+ /** The channel settle txs count */
617
+ channelSettleTx?: Record<string, unknown>;
618
+ /** The channel slash txs count */
619
+ channelSlashTx?: Record<string, unknown>;
620
+ /** The channel snapshot solo txs count */
621
+ channelSnapshotSoloTx?: Record<string, unknown>;
622
+ /** The channel withdraw txs count */
623
+ channelWithdrawTx?: Record<string, unknown>;
624
+ /** The contract call txs count */
625
+ contractCallTx?: Record<string, unknown>;
626
+ /** The contract create txs count */
627
+ contractCreateTx?: Record<string, unknown>;
628
+ /** The ga attach txs count */
629
+ gaAttachTx?: Record<string, unknown>;
630
+ /** The ga meta txs count */
631
+ gaMetaTx?: Record<string, unknown>;
632
+ /** The name claim txs count */
633
+ nameClaimTx?: Record<string, unknown>;
634
+ /** The name preclaim txs count */
635
+ namePreclaimTx?: Record<string, unknown>;
636
+ /** The name revoke txs count */
637
+ nameRevokeTx?: Record<string, unknown>;
638
+ /** The name transfer txs count */
639
+ nameTransferTx?: number;
640
+ /** The name update txs count */
641
+ nameUpdateTx?: Record<string, unknown>;
642
+ /** The oracle extend txs count */
643
+ oracleExtendTx?: Record<string, unknown>;
644
+ /** The oracle query txs count */
645
+ oracleQueryTx?: Record<string, unknown>;
646
+ /** The oracle register txs count */
647
+ oracleRegisterTx?: Record<string, unknown>;
648
+ /** The oracle response txs count */
649
+ oracleResponseTx?: Record<string, unknown>;
650
+ /** The paying for txs count */
651
+ payingForTx?: Record<string, unknown>;
652
+ /** The spend txs count */
653
+ spendTx?: Record<string, unknown>;
654
+ }
655
+ /** AEx141 Transfer */
656
+ export interface Aex141TransferEvent {
657
+ blockHeight?: string;
658
+ contractId?: string;
659
+ logIdx?: number;
660
+ microIndex?: number;
661
+ microTime?: number;
662
+ recipientId?: string;
663
+ senderId?: string;
664
+ tokenId?: number;
665
+ txHash?: string;
666
+ }
667
+ /** AEx9 Transfer */
668
+ export interface Aex9TransferEvent {
669
+ amount?: number;
670
+ blockHeight?: number;
671
+ contractId?: string;
672
+ logIdx?: number;
673
+ microIndex?: number;
674
+ microTime?: number;
675
+ recipientId?: string;
676
+ senderId?: string;
677
+ txHash?: string;
678
+ }
679
+ /** Contract call made inside of a contract call or contract create transaction */
680
+ export interface InternalContractCallEvent {
681
+ /** The micro block hash in which the transaction happened */
682
+ blockHash: string;
683
+ /** The contract call transaction hash */
684
+ callTxHash?: string;
685
+ /** The contract pubkey */
686
+ contractId: string;
687
+ /** The contract creation transaction hash */
688
+ contractTxHash: string;
689
+ /** The name of the function */
690
+ function: string;
691
+ /** The height in which the internal call happened */
692
+ height: number;
693
+ /** The transaction object */
694
+ internalTx: Record<string, unknown>;
695
+ /** The micro block index */
696
+ microIndex: number;
697
+ }
698
+ /** Internal transfer */
699
+ export interface InternalTransferEvent {
700
+ /** The amount of AE tokens */
701
+ amount: number;
702
+ /** The kind of internal transfer */
703
+ kind: InternalTransferEventKind;
704
+ /** The transaction hash of a transaction related to the internal transfer */
705
+ refTxHash: string;
706
+ }
707
+ /** Name claim */
708
+ export interface NameClaimEvent {
709
+ /** The claim transaction (internal or not) */
710
+ tx: Record<string, unknown>;
711
+ /** The hash of the transaction (either a name claim or a contract call transaction) */
712
+ txHash: string;
713
+ }
714
+ export interface PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema extends Paths1I5J7OcV2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
715
+ }
716
+ export interface PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema extends Paths17FlgdkV2Aex141GetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
717
+ }
718
+ export interface PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema extends PathsAxw0PwV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
719
+ }
720
+ export interface Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema extends PathsN3Ru7DV2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
721
+ }
722
+ export interface Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema extends PathsRa6Pv6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
723
+ }
724
+ export interface PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema extends Paths19B9O7TV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
725
+ }
726
+ export interface Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema extends Paths1Fe570RV2Aex9GetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
727
+ }
728
+ export interface Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema extends PaginatedResponse, PathsO9MbpkV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchemaAllof1 {
729
+ }
730
+ export interface Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema extends PathsY2JwfkV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
731
+ }
732
+ export interface Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema extends Paths5U7W2V2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
733
+ }
734
+ export interface Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema extends Paths12TleqhV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
735
+ }
736
+ export interface PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema extends Paths1C2B0UpV2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
737
+ }
738
+ export interface Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema extends Paths5LeqfqV2BlocksGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
739
+ }
740
+ export interface Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema extends PathsC25EgV2ChannelsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
741
+ }
742
+ export interface Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema extends Paths1Csrt0IV2ContractsCallsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
743
+ }
744
+ export interface PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema extends Paths9Ya94MV2ContractsLogsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
745
+ }
746
+ export interface Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema extends PathsRzn6HzV2DeltastatsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
747
+ }
748
+ export interface Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema extends Paths10TrrshV2KeyBlocksGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
749
+ }
750
+ export interface PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema extends Paths7Hfka2V2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
751
+ }
752
+ export interface PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema extends Paths1RxrrvbV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
753
+ }
754
+ export interface PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema extends Paths16Srg6EV2NamesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
755
+ }
756
+ export interface Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema extends Paths1I6PwfdV2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
757
+ }
758
+ export interface PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema extends PathsMherz6V2OraclesGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
759
+ }
760
+ export interface Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema extends PathsDpxn99V2TotalstatsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
761
+ }
762
+ export interface PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema extends Paths17Cjtx5V2TransfersGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
763
+ }
764
+ export interface PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema extends Paths1R74KpvV2TxsGetResponses200ContentApplicationJsonSchemaAllof0, PaginatedResponse {
765
+ }
766
+ export interface Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema extends PathsBelvp6V2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchemaAllof0 {
767
+ }
768
+ export interface Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema extends Paths11X7LpcV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchemaAllof0 {
769
+ }
770
+ export interface Get200ApplicationJsonAllOfPropertiesItemsItem extends Name, Paths7P6Qc1V2NamesSearchGetResponses200ContentApplicationJsonSchemaAllof0PropertiesDataItemsAllof1 {
771
+ }
772
+ /** Known values of {@link Enum0} that the service accepts. */
773
+ export declare enum KnownEnum0 {
774
+ /** Transactions */
775
+ Transactions = "transactions",
776
+ /** Aexn */
777
+ Aexn = "aexn",
778
+ /** Aex9 */
779
+ Aex9 = "aex9",
780
+ /** Aex141 */
781
+ Aex141 = "aex141",
782
+ /** Contract */
783
+ Contract = "contract",
784
+ /** Transfers */
785
+ Transfers = "transfers",
786
+ /** Claims */
787
+ Claims = "claims"
788
+ }
789
+ /**
790
+ * Defines values for Enum0. \
791
+ * {@link KnownEnum0} can be used interchangeably with Enum0,
792
+ * this enum contains the known values that the service supports.
793
+ * ### Known values supported by the service
794
+ * **transactions** \
795
+ * **aexn** \
796
+ * **aex9** \
797
+ * **aex141** \
798
+ * **contract** \
799
+ * **transfers** \
800
+ * **claims**
801
+ */
802
+ export type Enum0 = string;
803
+ /** Known values of {@link Enum1} that the service accepts. */
804
+ export declare enum KnownEnum1 {
805
+ /** Forward */
806
+ Forward = "forward",
807
+ /** Backward */
808
+ Backward = "backward"
809
+ }
810
+ /**
811
+ * Defines values for Enum1. \
812
+ * {@link KnownEnum1} can be used interchangeably with Enum1,
813
+ * this enum contains the known values that the service supports.
814
+ * ### Known values supported by the service
815
+ * **forward** \
816
+ * **backward**
817
+ */
818
+ export type Enum1 = string;
819
+ /** Known values of {@link ActivityType} that the service accepts. */
820
+ export declare enum KnownActivityType {
821
+ /** SpendTxEvent */
822
+ SpendTxEvent = "SpendTxEvent",
823
+ /** OracleRegisterTxEvent */
824
+ OracleRegisterTxEvent = "OracleRegisterTxEvent",
825
+ /** OracleExtendTxEvent */
826
+ OracleExtendTxEvent = "OracleExtendTxEvent",
827
+ /** OracleQueryTxEvent */
828
+ OracleQueryTxEvent = "OracleQueryTxEvent",
829
+ /** OracleResponseTxEvent */
830
+ OracleResponseTxEvent = "OracleResponseTxEvent",
831
+ /** NamePreclaimTxEvent */
832
+ NamePreclaimTxEvent = "NamePreclaimTxEvent",
833
+ /** NameClaimTxEvent */
834
+ NameClaimTxEvent = "NameClaimTxEvent",
835
+ /** NameTransferTxEvent */
836
+ NameTransferTxEvent = "NameTransferTxEvent",
837
+ /** NameUpdateTxEvent */
838
+ NameUpdateTxEvent = "NameUpdateTxEvent",
839
+ /** NameRevokeTxEvent */
840
+ NameRevokeTxEvent = "NameRevokeTxEvent",
841
+ /** ContractCreateTxEvent */
842
+ ContractCreateTxEvent = "ContractCreateTxEvent",
843
+ /** ContractCallTxEvent */
844
+ ContractCallTxEvent = "ContractCallTxEvent",
845
+ /** GaAttachTxEvent */
846
+ GaAttachTxEvent = "GaAttachTxEvent",
847
+ /** GaMetaTxEvent */
848
+ GaMetaTxEvent = "GaMetaTxEvent",
849
+ /** ChannelCreateTxEvent */
850
+ ChannelCreateTxEvent = "ChannelCreateTxEvent",
851
+ /** ChannelDepositTxEvent */
852
+ ChannelDepositTxEvent = "ChannelDepositTxEvent",
853
+ /** ChannelWithdrawTxEvent */
854
+ ChannelWithdrawTxEvent = "ChannelWithdrawTxEvent",
855
+ /** ChannelForceProgressTxEvent */
856
+ ChannelForceProgressTxEvent = "ChannelForceProgressTxEvent",
857
+ /** ChannelCloseMutualTxEvent */
858
+ ChannelCloseMutualTxEvent = "ChannelCloseMutualTxEvent",
859
+ /** ChannelCloseSoloTxEvent */
860
+ ChannelCloseSoloTxEvent = "ChannelCloseSoloTxEvent",
861
+ /** ChannelSlashTxEvent */
862
+ ChannelSlashTxEvent = "ChannelSlashTxEvent",
863
+ /** ChannelSettleTxEvent */
864
+ ChannelSettleTxEvent = "ChannelSettleTxEvent",
865
+ /** ChannelSnapshotSoloTxEvent */
866
+ ChannelSnapshotSoloTxEvent = "ChannelSnapshotSoloTxEvent",
867
+ /** ChannelSetDelegatesTxEvent */
868
+ ChannelSetDelegatesTxEvent = "ChannelSetDelegatesTxEvent",
869
+ /** ChannelOffchainTxEvent */
870
+ ChannelOffchainTxEvent = "ChannelOffchainTxEvent",
871
+ /** ChannelClientReconnectTxEvent */
872
+ ChannelClientReconnectTxEvent = "ChannelClientReconnectTxEvent",
873
+ /** PayingForTxEvent */
874
+ PayingForTxEvent = "PayingForTxEvent"
875
+ }
876
+ /**
877
+ * Defines values for ActivityType. \
878
+ * {@link KnownActivityType} can be used interchangeably with ActivityType,
879
+ * this enum contains the known values that the service supports.
880
+ * ### Known values supported by the service
881
+ * **SpendTxEvent** \
882
+ * **OracleRegisterTxEvent** \
883
+ * **OracleExtendTxEvent** \
884
+ * **OracleQueryTxEvent** \
885
+ * **OracleResponseTxEvent** \
886
+ * **NamePreclaimTxEvent** \
887
+ * **NameClaimTxEvent** \
888
+ * **NameTransferTxEvent** \
889
+ * **NameUpdateTxEvent** \
890
+ * **NameRevokeTxEvent** \
891
+ * **ContractCreateTxEvent** \
892
+ * **ContractCallTxEvent** \
893
+ * **GaAttachTxEvent** \
894
+ * **GaMetaTxEvent** \
895
+ * **ChannelCreateTxEvent** \
896
+ * **ChannelDepositTxEvent** \
897
+ * **ChannelWithdrawTxEvent** \
898
+ * **ChannelForceProgressTxEvent** \
899
+ * **ChannelCloseMutualTxEvent** \
900
+ * **ChannelCloseSoloTxEvent** \
901
+ * **ChannelSlashTxEvent** \
902
+ * **ChannelSettleTxEvent** \
903
+ * **ChannelSnapshotSoloTxEvent** \
904
+ * **ChannelSetDelegatesTxEvent** \
905
+ * **ChannelOffchainTxEvent** \
906
+ * **ChannelClientReconnectTxEvent** \
907
+ * **PayingForTxEvent**
908
+ */
909
+ export type ActivityType = string;
910
+ /** Known values of {@link Enum3} that the service accepts. */
911
+ export declare enum KnownEnum3 {
912
+ /** Active */
913
+ Active = "active",
914
+ /** Inactive */
915
+ Inactive = "inactive"
916
+ }
917
+ /**
918
+ * Defines values for Enum3. \
919
+ * {@link KnownEnum3} can be used interchangeably with Enum3,
920
+ * this enum contains the known values that the service supports.
921
+ * ### Known values supported by the service
922
+ * **active** \
923
+ * **inactive**
924
+ */
925
+ export type Enum3 = string;
926
+ /** Known values of {@link NameStatus} that the service accepts. */
927
+ export declare enum KnownNameStatus {
928
+ /** Name */
929
+ Name = "name",
930
+ /** Auction */
931
+ Auction = "auction"
932
+ }
933
+ /**
934
+ * Defines values for NameStatus. \
935
+ * {@link KnownNameStatus} can be used interchangeably with NameStatus,
936
+ * this enum contains the known values that the service supports.
937
+ * ### Known values supported by the service
938
+ * **name** \
939
+ * **auction**
940
+ */
941
+ export type NameStatus = string;
942
+ /** Known values of {@link AuctionInfoStatus} that the service accepts. */
943
+ export declare enum KnownAuctionInfoStatus {
944
+ /** Auction */
945
+ Auction = "auction"
946
+ }
947
+ /**
948
+ * Defines values for AuctionInfoStatus. \
949
+ * {@link KnownAuctionInfoStatus} can be used interchangeably with AuctionInfoStatus,
950
+ * this enum contains the known values that the service supports.
951
+ * ### Known values supported by the service
952
+ * **auction**
953
+ */
954
+ export type AuctionInfoStatus = string;
955
+ /** Known values of {@link Get200ApplicationJsonAllOfPropertiesItems1Status} that the service accepts. */
956
+ export declare enum KnownGet200ApplicationJsonAllOfPropertiesItems1Status {
957
+ /** Auction */
958
+ Auction = "auction",
959
+ /** Active */
960
+ Active = "active",
961
+ /** Inactive */
962
+ Inactive = "inactive"
963
+ }
964
+ /**
965
+ * Defines values for Get200ApplicationJsonAllOfPropertiesItems1Status. \
966
+ * {@link KnownGet200ApplicationJsonAllOfPropertiesItems1Status} can be used interchangeably with Get200ApplicationJsonAllOfPropertiesItems1Status,
967
+ * this enum contains the known values that the service supports.
968
+ * ### Known values supported by the service
969
+ * **auction** \
970
+ * **active** \
971
+ * **inactive**
972
+ */
973
+ export type Get200ApplicationJsonAllOfPropertiesItems1Status = string;
974
+ /** Known values of {@link TransferKind} that the service accepts. */
975
+ export declare enum KnownTransferKind {
976
+ /** RewardDev */
977
+ RewardDev = "reward_dev",
978
+ /** RewardBlock */
979
+ RewardBlock = "reward_block"
980
+ }
981
+ /**
982
+ * Defines values for TransferKind. \
983
+ * {@link KnownTransferKind} can be used interchangeably with TransferKind,
984
+ * this enum contains the known values that the service supports.
985
+ * ### Known values supported by the service
986
+ * **reward_dev** \
987
+ * **reward_block**
988
+ */
989
+ export type TransferKind = string;
990
+ /** Known values of {@link Get0ItemsItem} that the service accepts. */
991
+ export declare enum KnownGet0ItemsItem {
992
+ /** ChannelCloseMutual */
993
+ ChannelCloseMutual = "channel_close_mutual",
994
+ /** ChannelCloseSolo */
995
+ ChannelCloseSolo = "channel_close_solo",
996
+ /** ChannelCreate */
997
+ ChannelCreate = "channel_create",
998
+ /** ChannelDeposit */
999
+ ChannelDeposit = "channel_deposit",
1000
+ /** ChannelForceProgress */
1001
+ ChannelForceProgress = "channel_force_progress",
1002
+ /** ChannelOffchain */
1003
+ ChannelOffchain = "channel_offchain",
1004
+ /** ChannelSettle */
1005
+ ChannelSettle = "channel_settle",
1006
+ /** ChannelSlash */
1007
+ ChannelSlash = "channel_slash",
1008
+ /** ChannelSnapshotSolo */
1009
+ ChannelSnapshotSolo = "channel_snapshot_solo",
1010
+ /** ChannelWithdraw */
1011
+ ChannelWithdraw = "channel_withdraw",
1012
+ /** ContractCall */
1013
+ ContractCall = "contract_call",
1014
+ /** ContractCreate */
1015
+ ContractCreate = "contract_create",
1016
+ /** GaAttach */
1017
+ GaAttach = "ga_attach",
1018
+ /** GaMeta */
1019
+ GaMeta = "ga_meta",
1020
+ /** NameClaim */
1021
+ NameClaim = "name_claim",
1022
+ /** NamePreclaim */
1023
+ NamePreclaim = "name_preclaim",
1024
+ /** NameRevoke */
1025
+ NameRevoke = "name_revoke",
1026
+ /** NameTransfer */
1027
+ NameTransfer = "name_transfer",
1028
+ /** NameUpdate */
1029
+ NameUpdate = "name_update",
1030
+ /** OracleExtend */
1031
+ OracleExtend = "oracle_extend",
1032
+ /** OracleQuery */
1033
+ OracleQuery = "oracle_query",
1034
+ /** OracleRegister */
1035
+ OracleRegister = "oracle_register",
1036
+ /** OracleResponse */
1037
+ OracleResponse = "oracle_response",
1038
+ /** PayingFor */
1039
+ PayingFor = "paying_for",
1040
+ /** Spend */
1041
+ Spend = "spend"
1042
+ }
1043
+ /**
1044
+ * Defines values for Get0ItemsItem. \
1045
+ * {@link KnownGet0ItemsItem} can be used interchangeably with Get0ItemsItem,
1046
+ * this enum contains the known values that the service supports.
1047
+ * ### Known values supported by the service
1048
+ * **channel_close_mutual** \
1049
+ * **channel_close_solo** \
1050
+ * **channel_create** \
1051
+ * **channel_deposit** \
1052
+ * **channel_force_progress** \
1053
+ * **channel_offchain** \
1054
+ * **channel_settle** \
1055
+ * **channel_slash** \
1056
+ * **channel_snapshot_solo** \
1057
+ * **channel_withdraw** \
1058
+ * **contract_call** \
1059
+ * **contract_create** \
1060
+ * **ga_attach** \
1061
+ * **ga_meta** \
1062
+ * **name_claim** \
1063
+ * **name_preclaim** \
1064
+ * **name_revoke** \
1065
+ * **name_transfer** \
1066
+ * **name_update** \
1067
+ * **oracle_extend** \
1068
+ * **oracle_query** \
1069
+ * **oracle_register** \
1070
+ * **oracle_response** \
1071
+ * **paying_for** \
1072
+ * **spend**
1073
+ */
1074
+ export type Get0ItemsItem = string;
1075
+ /** Known values of {@link Get1ItemsItem} that the service accepts. */
1076
+ export declare enum KnownGet1ItemsItem {
1077
+ /** Channel */
1078
+ Channel = "channel",
1079
+ /** Contract */
1080
+ Contract = "contract",
1081
+ /** Ga */
1082
+ Ga = "ga",
1083
+ /** Name */
1084
+ Name = "name",
1085
+ /** Oracle */
1086
+ Oracle = "oracle",
1087
+ /** PayingFor */
1088
+ PayingFor = "paying_for",
1089
+ /** Spend */
1090
+ Spend = "spend"
1091
+ }
1092
+ /**
1093
+ * Defines values for Get1ItemsItem. \
1094
+ * {@link KnownGet1ItemsItem} can be used interchangeably with Get1ItemsItem,
1095
+ * this enum contains the known values that the service supports.
1096
+ * ### Known values supported by the service
1097
+ * **channel** \
1098
+ * **contract** \
1099
+ * **ga** \
1100
+ * **name** \
1101
+ * **oracle** \
1102
+ * **paying_for** \
1103
+ * **spend**
1104
+ */
1105
+ export type Get1ItemsItem = string;
1106
+ /** Known values of {@link InternalTransferEventKind} that the service accepts. */
1107
+ export declare enum KnownInternalTransferEventKind {
1108
+ /** AccountsExtraLima */
1109
+ AccountsExtraLima = "accounts_extra_lima",
1110
+ /** AccountsFortuna */
1111
+ AccountsFortuna = "accounts_fortuna",
1112
+ /** AccountsGenesis */
1113
+ AccountsGenesis = "accounts_genesis",
1114
+ /** AccountsLima */
1115
+ AccountsLima = "accounts_lima",
1116
+ /** AccountsMinerva */
1117
+ AccountsMinerva = "accounts_minerva",
1118
+ /** ContractsLima */
1119
+ ContractsLima = "contracts_lima",
1120
+ /** RewardDev */
1121
+ RewardDev = "reward_dev",
1122
+ /** RewardBlock */
1123
+ RewardBlock = "reward_block",
1124
+ /** FeeRefundOracle */
1125
+ FeeRefundOracle = "fee_refund_oracle",
1126
+ /** FeeLockName */
1127
+ FeeLockName = "fee_lock_name",
1128
+ /** FeeRefundName */
1129
+ FeeRefundName = "fee_refund_name",
1130
+ /** FeeSpendName */
1131
+ FeeSpendName = "fee_spend_name",
1132
+ /** RewardOracle */
1133
+ RewardOracle = "reward_oracle"
1134
+ }
1135
+ /**
1136
+ * Defines values for InternalTransferEventKind. \
1137
+ * {@link KnownInternalTransferEventKind} can be used interchangeably with InternalTransferEventKind,
1138
+ * this enum contains the known values that the service supports.
1139
+ * ### Known values supported by the service
1140
+ * **accounts_extra_lima** \
1141
+ * **accounts_fortuna** \
1142
+ * **accounts_genesis** \
1143
+ * **accounts_lima** \
1144
+ * **accounts_minerva** \
1145
+ * **contracts_lima** \
1146
+ * **reward_dev** \
1147
+ * **reward_block** \
1148
+ * **fee_refund_oracle** \
1149
+ * **fee_lock_name** \
1150
+ * **fee_refund_name** \
1151
+ * **fee_spend_name** \
1152
+ * **reward_oracle**
1153
+ */
1154
+ export type InternalTransferEventKind = string;
1155
+ /** Optional parameters. */
1156
+ export interface GetAccountActivitiesOptionalParams extends coreClient.OperationOptions {
1157
+ /** Indicate to filter only activities initiated by the account */
1158
+ ownedOnly?: boolean;
1159
+ /**
1160
+ * Activity type:
1161
+ * * `transactions` - Transactions containing the account in any of the transaction fields
1162
+ * * `aexn` - AExN (aex9 and aex141) activities
1163
+ * * `aex9` - AEx9 activities
1164
+ * * `aex141` - AEx141 activities
1165
+ * * `contract` - Internal and external contract calls
1166
+ * * `transfers` - Internal (both gen-based and tx-based) transfers
1167
+ * * `claims` - Name claims related to the name hash
1168
+ *
1169
+ */
1170
+ type?: Enum0;
1171
+ }
1172
+ /** Contains response data for the getAccountActivities operation. */
1173
+ export type GetAccountActivitiesResponse = PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema;
1174
+ /** Optional parameters. */
1175
+ export interface GetSortedAex141ContractsOptionalParams extends coreClient.OperationOptions {
1176
+ /** meta info field used on sorting */
1177
+ by?: string;
1178
+ /** Sorts by name or symbol prefix */
1179
+ prefix?: string;
1180
+ }
1181
+ /** Contains response data for the getSortedAex141Contracts operation. */
1182
+ export type GetSortedAex141ContractsResponse = PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema;
1183
+ /** Optional parameters. */
1184
+ export interface GetAex141OwnedTokensOptionalParams extends coreClient.OperationOptions {
1185
+ }
1186
+ /** Contains response data for the getAex141OwnedTokens operation. */
1187
+ export type GetAex141OwnedTokensResponse = PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema;
1188
+ /** Optional parameters. */
1189
+ export interface GetAex141TokenOwnerOptionalParams extends coreClient.OperationOptions {
1190
+ }
1191
+ /** Contains response data for the getAex141TokenOwner operation. */
1192
+ export type GetAex141TokenOwnerResponse = {
1193
+ /** The parsed response body. */
1194
+ body: string;
1195
+ };
1196
+ /** Optional parameters. */
1197
+ export interface GetAex141ContractOwnersOptionalParams extends coreClient.OperationOptions {
1198
+ }
1199
+ /** Contains response data for the getAex141ContractOwners operation. */
1200
+ export type GetAex141ContractOwnersResponse = Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema;
1201
+ /** Optional parameters. */
1202
+ export interface GetAex141ContractTemplatesOptionalParams extends coreClient.OperationOptions {
1203
+ }
1204
+ /** Contains response data for the getAex141ContractTemplates operation. */
1205
+ export type GetAex141ContractTemplatesResponse = Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema;
1206
+ /** Optional parameters. */
1207
+ export interface GetAex141TemplateTokensOptionalParams extends coreClient.OperationOptions {
1208
+ }
1209
+ /** Contains response data for the getAex141TemplateTokens operation. */
1210
+ export type GetAex141TemplateTokensResponse = PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema;
1211
+ /** Optional parameters. */
1212
+ export interface GetAex141ByContractOptionalParams extends coreClient.OperationOptions {
1213
+ }
1214
+ /** Contains response data for the getAex141ByContract operation. */
1215
+ export type GetAex141ByContractResponse = Aex141Response;
1216
+ /** Optional parameters. */
1217
+ export interface GetSortedAex9TokensOptionalParams extends coreClient.OperationOptions {
1218
+ /** meta info field used on sorting */
1219
+ by?: string;
1220
+ /** Sorts by name or symbol */
1221
+ prefix?: string;
1222
+ }
1223
+ /** Contains response data for the getSortedAex9Tokens operation. */
1224
+ export type GetSortedAex9TokensResponse = Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema;
1225
+ /** Optional parameters. */
1226
+ export interface GetAex9AccountBalancesOptionalParams extends coreClient.OperationOptions {
1227
+ }
1228
+ /** Contains response data for the getAex9AccountBalances operation. */
1229
+ export type GetAex9AccountBalancesResponse = Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema;
1230
+ /** Optional parameters. */
1231
+ export interface GetAex9TokensCountOptionalParams extends coreClient.OperationOptions {
1232
+ }
1233
+ /** Contains response data for the getAex9TokensCount operation. */
1234
+ export type GetAex9TokensCountResponse = {
1235
+ /** The parsed response body. */
1236
+ body: number;
1237
+ };
1238
+ /** Optional parameters. */
1239
+ export interface GetAex9PairTransfersOptionalParams extends coreClient.OperationOptions {
1240
+ }
1241
+ /** Contains response data for the getAex9PairTransfers operation. */
1242
+ export type GetAex9PairTransfersResponse = Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema;
1243
+ /** Optional parameters. */
1244
+ export interface GetAex9SenderTransfersOptionalParams extends coreClient.OperationOptions {
1245
+ }
1246
+ /** Contains response data for the getAex9SenderTransfers operation. */
1247
+ export type GetAex9SenderTransfersResponse = Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema;
1248
+ /** Optional parameters. */
1249
+ export interface GetAex9RecipientTransfersOptionalParams extends coreClient.OperationOptions {
1250
+ }
1251
+ /** Contains response data for the getAex9RecipientTransfers operation. */
1252
+ export type GetAex9RecipientTransfersResponse = Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema;
1253
+ /** Optional parameters. */
1254
+ export interface GetAex9ContractBalancesOptionalParams extends coreClient.OperationOptions {
1255
+ /** Order by */
1256
+ by?: string;
1257
+ }
1258
+ /** Contains response data for the getAex9ContractBalances operation. */
1259
+ export type GetAex9ContractBalancesResponse = PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema;
1260
+ /** Optional parameters. */
1261
+ export interface GetAex9ContractAccountBalanceOptionalParams extends coreClient.OperationOptions {
1262
+ }
1263
+ /** Contains response data for the getAex9ContractAccountBalance operation. */
1264
+ export type GetAex9ContractAccountBalanceResponse = Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema;
1265
+ /** Optional parameters. */
1266
+ export interface GetAex9ContractAccountBalanceHistoryOptionalParams extends coreClient.OperationOptions {
1267
+ }
1268
+ /** Contains response data for the getAex9ContractAccountBalanceHistory operation. */
1269
+ export type GetAex9ContractAccountBalanceHistoryResponse = Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema;
1270
+ /** Optional parameters. */
1271
+ export interface GetAex9LogsCountOptionalParams extends coreClient.OperationOptions {
1272
+ }
1273
+ /** Contains response data for the getAex9LogsCount operation. */
1274
+ export type GetAex9LogsCountResponse = {
1275
+ /** The parsed response body. */
1276
+ body: number;
1277
+ };
1278
+ /** Optional parameters. */
1279
+ export interface GetAex9ByContractOptionalParams extends coreClient.OperationOptions {
1280
+ }
1281
+ /** Contains response data for the getAex9ByContract operation. */
1282
+ export type GetAex9ByContractResponse = Aex9Response;
1283
+ /** Optional parameters. */
1284
+ export interface GetBlocksOptionalParams extends coreClient.OperationOptions {
1285
+ }
1286
+ /** Contains response data for the getBlocks operation. */
1287
+ export type GetBlocksResponse = Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema;
1288
+ /** Optional parameters. */
1289
+ export interface GetBlockOptionalParams extends coreClient.OperationOptions {
1290
+ }
1291
+ /** Contains response data for the getBlock operation. */
1292
+ export type GetBlockResponse = Block;
1293
+ /** Optional parameters. */
1294
+ export interface GetBlockByMbiOptionalParams extends coreClient.OperationOptions {
1295
+ }
1296
+ /** Contains response data for the getBlockByMbi operation. */
1297
+ export type GetBlockByMbiResponse = Block;
1298
+ /** Optional parameters. */
1299
+ export interface GetChannelsOptionalParams extends coreClient.OperationOptions {
1300
+ /** Exclusively filter by active/inactive channels. */
1301
+ state?: Enum3;
1302
+ }
1303
+ /** Contains response data for the getChannels operation. */
1304
+ export type GetChannelsResponse = Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema;
1305
+ /** Optional parameters. */
1306
+ export interface GetChannelOptionalParams extends coreClient.OperationOptions {
1307
+ }
1308
+ /** Contains response data for the getChannel operation. */
1309
+ export type GetChannelResponse = Channel;
1310
+ /** Optional parameters. */
1311
+ export interface GetContractsCallsOptionalParams extends coreClient.OperationOptions {
1312
+ }
1313
+ /** Contains response data for the getContractsCalls operation. */
1314
+ export type GetContractsCallsResponse = Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema;
1315
+ /** Optional parameters. */
1316
+ export interface GetContractsLogsOptionalParams extends coreClient.OperationOptions {
1317
+ /** Contract that emitted the logs */
1318
+ contractId?: string;
1319
+ /** Name of the event */
1320
+ event?: string;
1321
+ /** Prefix of the contract called function */
1322
+ functionPrefix?: string;
1323
+ /** Data prefix from the contract call */
1324
+ data?: string;
1325
+ /** Indicates to format args when event is AEX-N */
1326
+ aexnArgs?: boolean;
1327
+ }
1328
+ /** Contains response data for the getContractsLogs operation. */
1329
+ export type GetContractsLogsResponse = PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema;
1330
+ /** Optional parameters. */
1331
+ export interface GetDeltastatsOptionalParams extends coreClient.OperationOptions {
1332
+ }
1333
+ /** Contains response data for the getDeltastats operation. */
1334
+ export type GetDeltastatsResponse = Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema;
1335
+ /** Optional parameters. */
1336
+ export interface GetKeyBlocksOptionalParams extends coreClient.OperationOptions {
1337
+ }
1338
+ /** Contains response data for the getKeyBlocks operation. */
1339
+ export type GetKeyBlocksResponse = Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema;
1340
+ /** Optional parameters. */
1341
+ export interface GetKeyBlockOptionalParams extends coreClient.OperationOptions {
1342
+ }
1343
+ /** Contains response data for the getKeyBlock operation. */
1344
+ export type GetKeyBlockResponse = KeyBlock;
1345
+ /** Optional parameters. */
1346
+ export interface GetKeyBlockMicroBlocksOptionalParams extends coreClient.OperationOptions {
1347
+ }
1348
+ /** Contains response data for the getKeyBlockMicroBlocks operation. */
1349
+ export type GetKeyBlockMicroBlocksResponse = PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema;
1350
+ /** Optional parameters. */
1351
+ export interface GetMicroBlockOptionalParams extends coreClient.OperationOptions {
1352
+ }
1353
+ /** Contains response data for the getMicroBlock operation. */
1354
+ export type GetMicroBlockResponse = MicroBlock;
1355
+ /** Optional parameters. */
1356
+ export interface GetMicroBlockTransactionsOptionalParams extends coreClient.OperationOptions {
1357
+ }
1358
+ /** Contains response data for the getMicroBlockTransactions operation. */
1359
+ export type GetMicroBlockTransactionsResponse = PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema;
1360
+ /** Optional parameters. */
1361
+ export interface GetNamesOptionalParams extends coreClient.OperationOptions {
1362
+ /** Sorting by deactivation, activation or name */
1363
+ by?: string;
1364
+ /** Account that owns the name */
1365
+ ownedBy?: string;
1366
+ /** Activation state of the name (active or inactive) */
1367
+ state?: string;
1368
+ }
1369
+ /** Contains response data for the getNames operation. */
1370
+ export type GetNamesResponse = PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema;
1371
+ /** Optional parameters. */
1372
+ export interface GetNamesAuctionsOptionalParams extends coreClient.OperationOptions {
1373
+ }
1374
+ /** Contains response data for the getNamesAuctions operation. */
1375
+ export type GetNamesAuctionsResponse = Auction;
1376
+ /** Optional parameters. */
1377
+ export interface SearchNamesOptionalParams extends coreClient.OperationOptions {
1378
+ }
1379
+ /** Contains response data for the searchNames operation. */
1380
+ export type SearchNamesResponse = Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema;
1381
+ /** Optional parameters. */
1382
+ export interface GetNameOptionalParams extends coreClient.OperationOptions {
1383
+ }
1384
+ /** Contains response data for the getName operation. */
1385
+ export type GetNameResponse = Name;
1386
+ /** Optional parameters. */
1387
+ export interface GetNameAuctionOptionalParams extends coreClient.OperationOptions {
1388
+ }
1389
+ /** Contains response data for the getNameAuction operation. */
1390
+ export type GetNameAuctionResponse = Auction;
1391
+ /** Optional parameters. */
1392
+ export interface GetNameClaimsOptionalParams extends coreClient.OperationOptions {
1393
+ }
1394
+ /** Contains response data for the getNameClaims operation. */
1395
+ export type GetNameClaimsResponse = NameClaim;
1396
+ /** Optional parameters. */
1397
+ export interface GetNamePointeesOptionalParams extends coreClient.OperationOptions {
1398
+ }
1399
+ /** Contains response data for the getNamePointees operation. */
1400
+ export type GetNamePointeesResponse = PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema;
1401
+ /** Optional parameters. */
1402
+ export interface GetNamePointersOptionalParams extends coreClient.OperationOptions {
1403
+ }
1404
+ /** Contains response data for the getNamePointers operation. */
1405
+ export type GetNamePointersResponse = Record<string, unknown>;
1406
+ /** Optional parameters. */
1407
+ export interface GetNameTransfersOptionalParams extends coreClient.OperationOptions {
1408
+ }
1409
+ /** Contains response data for the getNameTransfers operation. */
1410
+ export type GetNameTransfersResponse = NameTransfer;
1411
+ /** Optional parameters. */
1412
+ export interface GetNameUpdatesOptionalParams extends coreClient.OperationOptions {
1413
+ }
1414
+ /** Contains response data for the getNameUpdates operation. */
1415
+ export type GetNameUpdatesResponse = NameUpdate;
1416
+ /** Optional parameters. */
1417
+ export interface GetOracleOptionalParams extends coreClient.OperationOptions {
1418
+ }
1419
+ /** Contains response data for the getOracle operation. */
1420
+ export type GetOracleResponse = Oracle;
1421
+ /** Optional parameters. */
1422
+ export interface GetOraclesOptionalParams extends coreClient.OperationOptions {
1423
+ }
1424
+ /** Contains response data for the getOracles operation. */
1425
+ export type GetOraclesResponse = PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema;
1426
+ /** Optional parameters. */
1427
+ export interface GetStatusOptionalParams extends coreClient.OperationOptions {
1428
+ }
1429
+ /** Contains response data for the getStatus operation. */
1430
+ export type GetStatusResponse = Status;
1431
+ /** Optional parameters. */
1432
+ export interface GetTotalstatsOptionalParams extends coreClient.OperationOptions {
1433
+ }
1434
+ /** Contains response data for the getTotalstats operation. */
1435
+ export type GetTotalstatsResponse = Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema;
1436
+ /** Optional parameters. */
1437
+ export interface GetTransfersOptionalParams extends coreClient.OperationOptions {
1438
+ }
1439
+ /** Contains response data for the getTransfers operation. */
1440
+ export type GetTransfersResponse = PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema;
1441
+ /** Optional parameters. */
1442
+ export interface GetTxsOptionalParams extends coreClient.OperationOptions {
1443
+ /** The transaction type. The query allows providing of multiple type parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1444
+ type?: Get0ItemsItem[];
1445
+ /** The type group. The query allows providing of multiple type group parameters. [More info](https://github.com/aeternity/ae_mdw#types) */
1446
+ typeGroup?: Get1ItemsItem[];
1447
+ /** The account ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1448
+ account?: string;
1449
+ /** The contract ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1450
+ contract?: string;
1451
+ /** The channel ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1452
+ channel?: string;
1453
+ /** The oracle ID. [More info](https://github.com/aeternity/ae_mdw#generic-ids) */
1454
+ oracle?: string;
1455
+ /** The sender ID */
1456
+ senderId?: string;
1457
+ /** The recipient ID */
1458
+ recipientId?: string;
1459
+ /** Entrypoint of a contract call */
1460
+ entrypoint?: string;
1461
+ }
1462
+ /** Contains response data for the getTxs operation. */
1463
+ export type GetTxsResponse = PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema;
1464
+ /** Optional parameters. */
1465
+ export interface GetTxCountOptionalParams extends coreClient.OperationOptions {
1466
+ /** Type of a transaction */
1467
+ txType?: string;
1468
+ /** The ID of the address/name/oracle/etc */
1469
+ id?: string;
1470
+ }
1471
+ /** Contains response data for the getTxCount operation. */
1472
+ export type GetTxCountResponse = {
1473
+ /** The parsed response body. */
1474
+ body: number;
1475
+ };
1476
+ /** Optional parameters. */
1477
+ export interface GetTxCountByIdOptionalParams extends coreClient.OperationOptions {
1478
+ }
1479
+ /** Contains response data for the getTxCountById operation. */
1480
+ export type GetTxCountByIdResponse = Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema;
1481
+ /** Optional parameters. */
1482
+ export interface GetTxOptionalParams extends coreClient.OperationOptions {
1483
+ }
1484
+ /** Contains response data for the getTx operation. */
1485
+ export type GetTxResponse = Tx;
1486
+ /** Optional parameters. */
1487
+ export interface MiddlewareOptionalParams extends coreClient.ServiceClientOptions {
1488
+ /** Limit paginated resources (max 100) */
1489
+ limit?: number;
1490
+ /** Scopes results in a txi or generation range */
1491
+ scope?: string;
1492
+ /** Sorts results in forwards or backwards direction */
1493
+ direction?: Enum1;
1494
+ /** Overrides client endpoint. */
1495
+ endpoint?: string;
1496
+ }