@aeternity/aepp-sdk 14.0.0 → 14.1.1

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