@aeternity/aepp-sdk 14.0.0 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) 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 +11678 -6969
  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 +25 -5
  57. package/es/aens.js +52 -18
  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 +11 -9
  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.js +1 -2
  155. package/es/tx/builder/field-types/ttl.js.map +1 -1
  156. package/es/tx/builder/helpers.d.ts +18 -12
  157. package/es/tx/builder/helpers.js +25 -17
  158. package/es/tx/builder/helpers.js.map +1 -1
  159. package/es/tx/builder/schema.d.ts +27 -24
  160. package/es/tx/builder/schema.generated.d.ts +12 -12
  161. package/es/tx/builder/schema.generated.js.map +1 -1
  162. package/es/tx/builder/schema.js +5 -3
  163. package/es/tx/builder/schema.js.map +1 -1
  164. package/es/tx/execution-cost.d.ts +3 -0
  165. package/es/tx/execution-cost.js +7 -4
  166. package/es/tx/execution-cost.js.map +1 -1
  167. package/es/tx/transaction-signer.d.ts +1 -0
  168. package/es/tx/transaction-signer.js +1 -0
  169. package/es/tx/transaction-signer.js.map +1 -1
  170. package/es/tx/validator.js +4 -3
  171. package/es/tx/validator.js.map +1 -1
  172. package/es/utils/MiddlewarePage.d.ts +4 -3
  173. package/es/utils/MiddlewarePage.js.map +1 -1
  174. package/es/utils/amount-formatter.d.ts +15 -1
  175. package/es/utils/amount-formatter.js +17 -1
  176. package/es/utils/amount-formatter.js.map +1 -1
  177. package/es/utils/autorest.d.ts +1 -1
  178. package/es/utils/autorest.js +10 -4
  179. package/es/utils/autorest.js.map +1 -1
  180. package/es/utils/bignumber.d.ts +1 -1
  181. package/es/utils/bignumber.js +1 -1
  182. package/es/utils/bignumber.js.map +1 -1
  183. package/es/utils/bytes.d.ts +3 -1
  184. package/es/utils/bytes.js +3 -1
  185. package/es/utils/bytes.js.map +1 -1
  186. package/es/utils/crypto.d.ts +48 -15
  187. package/es/utils/crypto.js +80 -29
  188. package/es/utils/crypto.js.map +1 -1
  189. package/es/utils/encoder-types.d.ts +1 -1
  190. package/es/utils/encoder-types.js +1 -1
  191. package/es/utils/encoder-types.js.map +1 -1
  192. package/es/utils/encoder.d.ts +2 -0
  193. package/es/utils/encoder.js +2 -0
  194. package/es/utils/encoder.js.map +1 -1
  195. package/es/utils/errors.d.ts +2 -2
  196. package/es/utils/errors.js +2 -2
  197. package/es/utils/errors.js.map +1 -1
  198. package/es/utils/json-big.js +1 -1
  199. package/es/utils/json-big.js.map +1 -1
  200. package/es/utils/jwt.js +3 -3
  201. package/es/utils/jwt.js.map +1 -1
  202. package/es/utils/typed-data.d.ts +5 -0
  203. package/es/utils/typed-data.js +6 -0
  204. package/es/utils/typed-data.js.map +1 -1
  205. package/package.json +50 -51
@@ -1,5 +1,5 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- import { MiddlewareOptionalParams, GetAex141OwnedTokensOptionalParams, GetAex141OwnedTokensResponse, GetAex9AccountBalancesOptionalParams, GetAex9AccountBalancesResponse, GetAccountDexSwapsOptionalParams, GetAccountDexSwapsResponse, GetAccountActivitiesOptionalParams, GetAccountActivitiesResponse, GetAccountPointeesOptionalParams, GetAccountPointeesResponse, GetAccountTransactionsCountOptionalParams, GetAccountTransactionsCountResponse, GetSortedAex141ContractsOptionalParams, GetSortedAex141ContractsResponse, GetAex141ContractTemplatesOptionalParams, GetAex141ContractTemplatesResponse, GetAex141TemplateTokensOptionalParams, GetAex141TemplateTokensResponse, GetAex141ContractTokensOptionalParams, GetAex141ContractTokensResponse, GetAex141TokenOwnerOptionalParams, GetAex141TokenOwnerResponse, GetAex141ContractTransfersOptionalParams, GetAex141ContractTransfersResponse, GetAex141ByContractOptionalParams, GetAex141ByContractResponse, GetSortedAex9TokensOptionalParams, GetSortedAex9TokensResponse, GetAex9TokensCountOptionalParams, GetAex9TokensCountResponse, GetAex9ContractBalancesOptionalParams, GetAex9ContractBalancesResponse, GetAex9ContractAccountBalanceOptionalParams, GetAex9ContractAccountBalanceResponse, GetAex9ContractAccountBalanceHistoryOptionalParams, GetAex9ContractAccountBalanceHistoryResponse, GetAex9ByContractOptionalParams, GetAex9ByContractResponse, GetChannelsOptionalParams, GetChannelsResponse, GetChannelOptionalParams, GetChannelResponse, GetContractCallsOptionalParams, GetContractCallsResponse, GetContractLogsOptionalParams, GetContractLogsResponse, GetContractOptionalParams, GetContractResponse, GetDexSwapsOptionalParams, GetDexSwapsResponse, GetDexSwapsByContractIdOptionalParams, GetDexSwapsByContractIdResponse, GetKeyBlocksOptionalParams, GetKeyBlocksResponse, GetKeyBlockOptionalParams, GetKeyBlockResponse, GetKeyBlockMicroBlocksOptionalParams, GetKeyBlockMicroBlocksResponse, GetMicroBlockOptionalParams, GetMicroBlockResponse, GetMicroBlockTransactionsOptionalParams, GetMicroBlockTransactionsResponse, GetNamesOptionalParams, GetNamesResponse, GetNamesAuctionsOptionalParams, GetNamesAuctionsResponse, GetNameAuctionOptionalParams, GetNameAuctionResponse, GetNameAuctionClaimsOptionalParams, GetNameAuctionClaimsResponse, GetNamesCountOptionalParams, GetNamesCountResponse, GetNameOptionalParams, GetNameResponse, GetNameClaimsOptionalParams, GetNameClaimsResponse, GetNameTransfersOptionalParams, GetNameTransfersResponse, GetNameUpdatesOptionalParams, GetNameUpdatesResponse, GetOraclesOptionalParams, GetOraclesResponse, GetOracleOptionalParams, GetOracleResponse, GetOracleExtendsOptionalParams, GetOracleExtendsResponse, GetOracleQueriesOptionalParams, GetOracleQueriesResponse, GetOracleResponsesOptionalParams, GetOracleResponsesResponse, GetStatsOptionalParams, GetStatsResponse, GetBlocksStatsOptionalParams, GetBlocksStatsResponse, GetDeltaStatsOptionalParams, GetDeltaStatsResponse, GetMinerStatsOptionalParams, GetMinerStatsResponse, GetNamesStatsOptionalParams, GetNamesStatsResponse, GetTotalStatsOptionalParams, GetTotalStatsResponse, GetTransactionsStatsOptionalParams, GetTransactionsStatsResponse, GetStatusOptionalParams, GetStatusResponse, GetTransactionsOptionalParams, GetTransactionsResponse, GetTransactionsCountOptionalParams, GetTransactionsCountResponse, GetTransactionOptionalParams, GetTransactionResponse, GetTransfersOptionalParams, GetTransfersResponse } from "./models/index.js";
2
+ import { MiddlewareOptionalParams, GetAccountActivitiesOptionalParams, GetAccountActivitiesResponse, GetAex141OwnedTokensOptionalParams, GetAex141OwnedTokensResponse, GetAex9AccountBalancesOptionalParams, GetAex9AccountBalancesResponse, GetAccountDexSwapsOptionalParams, GetAccountDexSwapsResponse, GetAccountNameClaimsOptionalParams, GetAccountNameClaimsResponse, GetAccountPointeesOptionalParams, GetAccountPointeesResponse, GetAccountTransactionsCountOptionalParams, GetAccountTransactionsCountResponse, GetSortedAex141ContractsOptionalParams, GetSortedAex141ContractsResponse, GetAex141ContractTemplatesOptionalParams, GetAex141ContractTemplatesResponse, GetAex141TemplateTokensOptionalParams, GetAex141TemplateTokensResponse, GetAex141ContractTokensOptionalParams, GetAex141ContractTokensResponse, GetAex141TokenOwnerOptionalParams, GetAex141TokenOwnerResponse, GetAex141ContractTransfersOptionalParams, GetAex141ContractTransfersResponse, GetAex141ByContractOptionalParams, GetAex141ByContractResponse, GetSortedAex9TokensOptionalParams, GetSortedAex9TokensResponse, GetAex9TokensCountOptionalParams, GetAex9TokensCountResponse, GetAex9ContractBalancesOptionalParams, GetAex9ContractBalancesResponse, GetAex9ContractAccountBalanceOptionalParams, GetAex9ContractAccountBalanceResponse, GetAex9ContractAccountBalanceHistoryOptionalParams, GetAex9ContractAccountBalanceHistoryResponse, GetAex9ByContractOptionalParams, GetAex9ByContractResponse, GetChannelsOptionalParams, GetChannelsResponse, GetChannelOptionalParams, GetChannelResponse, GetContractCallsOptionalParams, GetContractCallsResponse, GetContractLogsOptionalParams, GetContractLogsResponse, GetContractOptionalParams, GetContractResponse, GetDexSwapsOptionalParams, GetDexSwapsResponse, GetDexSwapsByContractIdOptionalParams, GetDexSwapsByContractIdResponse, GetEpochsOptionalParams, GetEpochsResponse, GetEpochTopOptionalParams, GetEpochTopResponse, GetSchedulesOptionalParams, GetSchedulesResponse, GetScheduleOptionalParams, GetScheduleResponse, GetValidatorsOptionalParams, GetValidatorsResponse, GetValidatorOptionalParams, GetValidatorResponse, GetValidatorDelegatesOptionalParams, GetValidatorDelegatesResponse, GetTopValidatorDelegatesOptionalParams, GetTopValidatorDelegatesResponse, GetKeyBlocksOptionalParams, GetKeyBlocksResponse, GetKeyBlockOptionalParams, GetKeyBlockResponse, GetKeyBlockMicroBlocksOptionalParams, GetKeyBlockMicroBlocksResponse, GetMicroBlockOptionalParams, GetMicroBlockResponse, GetMicroBlockTransactionsOptionalParams, GetMicroBlockTransactionsResponse, GetNamesOptionalParams, GetNamesResponse, GetNamesAuctionsOptionalParams, GetNamesAuctionsResponse, GetNameAuctionOptionalParams, GetNameAuctionResponse, GetNameAuctionClaimsOptionalParams, GetNameAuctionClaimsResponse, GetNamesCountOptionalParams, GetNamesCountResponse, GetNameOptionalParams, GetNameResponse, GetNameClaimsOptionalParams, GetNameClaimsResponse, GetNameTransfersOptionalParams, GetNameTransfersResponse, GetNameUpdatesOptionalParams, GetNameUpdatesResponse, GetOraclesOptionalParams, GetOraclesResponse, GetOracleOptionalParams, GetOracleResponse, GetOracleExtendsOptionalParams, GetOracleExtendsResponse, GetOracleQueriesOptionalParams, GetOracleQueriesResponse, GetOracleResponsesOptionalParams, GetOracleResponsesResponse, GetStatsOptionalParams, GetStatsResponse, GetActiveAccountsStatsOptionalParams, GetActiveAccountsStatsResponse, GetAex9TransfersStatsOptionalParams, GetAex9TransfersStatsResponse, GetBlocksStatsOptionalParams, GetBlocksStatsResponse, GetContractsStatsOptionalParams, GetContractsStatsResponse, GetDeltaStatsOptionalParams, GetDeltaStatsResponse, GetDifficultyStatsOptionalParams, GetDifficultyStatsResponse, GetHashrateStatsOptionalParams, GetHashrateStatsResponse, GetMinerStatsOptionalParams, GetMinerStatsResponse, GetNamesStatsOptionalParams, GetNamesStatsResponse, GetTotalStatsOptionalParams, GetTotalStatsResponse, GetTotalAccountsStatsOptionalParams, GetTotalAccountsStatsResponse, GetTransactionsStatsOptionalParams, GetTransactionsStatsResponse, GetStatusOptionalParams, GetStatusResponse, GetTransactionsOptionalParams, GetTransactionsResponse, GetTransactionsCountOptionalParams, GetTransactionsCountResponse, GetPendingTransactionsOptionalParams, GetPendingTransactionsResponse, GetPendingTransactionsCountOptionalParams, GetPendingTransactionsCountResponse, GetTransactionOptionalParams, GetTransactionResponse, GetTransfersOptionalParams, GetTransfersResponse } from "./models/index.js";
3
3
  export declare class Middleware extends coreClient.ServiceClient {
4
4
  readonly $host: string;
5
5
  /**
@@ -8,6 +8,12 @@ export declare class Middleware extends coreClient.ServiceClient {
8
8
  * @param options The parameter options
9
9
  */
10
10
  constructor($host: string, options?: MiddlewareOptionalParams);
11
+ /**
12
+ * Get an account activities.
13
+ * @param accountId The account address Account address
14
+ * @param options The options parameters.
15
+ */
16
+ getAccountActivities(accountId: `ak_${string}`, options?: GetAccountActivitiesOptionalParams): Promise<GetAccountActivitiesResponse>;
11
17
  /**
12
18
  * Get tokens owned by an account.
13
19
  * @param accountId The account id Account address
@@ -27,23 +33,23 @@ export declare class Middleware extends coreClient.ServiceClient {
27
33
  */
28
34
  getAccountDexSwaps(accountId: `ak_${string}`, options?: GetAccountDexSwapsOptionalParams): Promise<GetAccountDexSwapsResponse>;
29
35
  /**
30
- * Get an account activities.
31
- * @param id The account address Account address
36
+ * Get all name claims of an account
37
+ * @param accountId The account that made the claims Account address
32
38
  * @param options The options parameters.
33
39
  */
34
- getAccountActivities(id: `ak_${string}`, options?: GetAccountActivitiesOptionalParams): Promise<GetAccountActivitiesResponse>;
40
+ getAccountNameClaims(accountId: `ak_${string}`, options?: GetAccountNameClaimsOptionalParams): Promise<GetAccountNameClaimsResponse>;
35
41
  /**
36
42
  * Get account pointees
37
- * @param id The account that names point to Account address
43
+ * @param accountId The account that names point to Account address
38
44
  * @param options The options parameters.
39
45
  */
40
- getAccountPointees(id: `ak_${string}`, options?: GetAccountPointeesOptionalParams): Promise<GetAccountPointeesResponse>;
46
+ getAccountPointees(accountId: `ak_${string}`, options?: GetAccountPointeesOptionalParams): Promise<GetAccountPointeesResponse>;
41
47
  /**
42
48
  * Get transactions count and its type for given aeternity ID.
43
- * @param id The ID of the address/name/oracle/etc Account address
49
+ * @param accountId The ID of the address/name/oracle/etc Account address
44
50
  * @param options The options parameters.
45
51
  */
46
- getAccountTransactionsCount(id: `ak_${string}`, options?: GetAccountTransactionsCountOptionalParams): Promise<GetAccountTransactionsCountResponse>;
52
+ getAccountTransactionsCount(accountId: `ak_${string}`, options?: GetAccountTransactionsCountOptionalParams): Promise<GetAccountTransactionsCountResponse>;
47
53
  /**
48
54
  * Get AEX141 contracts sorted by creation time, name or symbol.
49
55
  * @param options The options parameters.
@@ -161,6 +167,50 @@ export declare class Middleware extends coreClient.ServiceClient {
161
167
  * @param options The options parameters.
162
168
  */
163
169
  getDexSwapsByContractId(contractId: `ct_${string}`, options?: GetDexSwapsByContractIdOptionalParams): Promise<GetDexSwapsByContractIdResponse>;
170
+ /**
171
+ * Get Epoch information
172
+ * @param options The options parameters.
173
+ */
174
+ getEpochs(options?: GetEpochsOptionalParams): Promise<GetEpochsResponse>;
175
+ /**
176
+ * Get Top Epoch information
177
+ * @param options The options parameters.
178
+ */
179
+ getEpochTop(options?: GetEpochTopOptionalParams): Promise<GetEpochTopResponse>;
180
+ /**
181
+ * Get Schedule information
182
+ * @param options The options parameters.
183
+ */
184
+ getSchedules(options?: GetSchedulesOptionalParams): Promise<GetSchedulesResponse>;
185
+ /**
186
+ * Get Schedule information
187
+ * @param height Schedule height
188
+ * @param options The options parameters.
189
+ */
190
+ getSchedule(height: number, options?: GetScheduleOptionalParams): Promise<GetScheduleResponse>;
191
+ /**
192
+ * Get Validators information
193
+ * @param options The options parameters.
194
+ */
195
+ getValidators(options?: GetValidatorsOptionalParams): Promise<GetValidatorsResponse>;
196
+ /**
197
+ * Get Validator information
198
+ * @param validator Validator address Account address
199
+ * @param options The options parameters.
200
+ */
201
+ getValidator(validator: `ak_${string}`, options?: GetValidatorOptionalParams): Promise<GetValidatorResponse>;
202
+ /**
203
+ * Get Delegates information for validator
204
+ * @param validator Validator address Account address
205
+ * @param options The options parameters.
206
+ */
207
+ getValidatorDelegates(validator: `ak_${string}`, options?: GetValidatorDelegatesOptionalParams): Promise<GetValidatorDelegatesResponse>;
208
+ /**
209
+ * Get top Delegates information for validator
210
+ * @param validator Validator address Account address
211
+ * @param options The options parameters.
212
+ */
213
+ getTopValidatorDelegates(validator: `ak_${string}`, options?: GetTopValidatorDelegatesOptionalParams): Promise<GetTopValidatorDelegatesResponse>;
164
214
  /**
165
215
  * Get multiple key blocks.
166
216
  * @param options The options parameters.
@@ -275,16 +325,41 @@ export declare class Middleware extends coreClient.ServiceClient {
275
325
  * @param options The options parameters.
276
326
  */
277
327
  getStats(options?: GetStatsOptionalParams): Promise<GetStatsResponse>;
328
+ /**
329
+ * Get active accounts stats.
330
+ * @param options The options parameters.
331
+ */
332
+ getActiveAccountsStats(options?: GetActiveAccountsStatsOptionalParams): Promise<GetActiveAccountsStatsResponse>;
333
+ /**
334
+ * Get total AEx9 token transfers.
335
+ * @param options The options parameters.
336
+ */
337
+ getAex9TransfersStats(options?: GetAex9TransfersStatsOptionalParams): Promise<GetAex9TransfersStatsResponse>;
278
338
  /**
279
339
  * Get total blocks count stats.
280
340
  * @param options The options parameters.
281
341
  */
282
342
  getBlocksStats(options?: GetBlocksStatsOptionalParams): Promise<GetBlocksStatsResponse>;
343
+ /**
344
+ * Get the created contracts count per interval.
345
+ * @param options The options parameters.
346
+ */
347
+ getContractsStats(options?: GetContractsStatsOptionalParams): Promise<GetContractsStatsResponse>;
283
348
  /**
284
349
  * Get delta stats.
285
350
  * @param options The options parameters.
286
351
  */
287
352
  getDeltaStats(options?: GetDeltaStatsOptionalParams): Promise<GetDeltaStatsResponse>;
353
+ /**
354
+ * Get total blocks difficulty stats.
355
+ * @param options The options parameters.
356
+ */
357
+ getDifficultyStats(options?: GetDifficultyStatsOptionalParams): Promise<GetDifficultyStatsResponse>;
358
+ /**
359
+ * Get total blocks hashrate stats.
360
+ * @param options The options parameters.
361
+ */
362
+ getHashrateStats(options?: GetHashrateStatsOptionalParams): Promise<GetHashrateStatsResponse>;
288
363
  /**
289
364
  * Get miners list with total rewards obtained through mining.
290
365
  * @param options The options parameters.
@@ -300,6 +375,11 @@ export declare class Middleware extends coreClient.ServiceClient {
300
375
  * @param options The options parameters.
301
376
  */
302
377
  getTotalStats(options?: GetTotalStatsOptionalParams): Promise<GetTotalStatsResponse>;
378
+ /**
379
+ * Get total accounts created per interval stats.
380
+ * @param options The options parameters.
381
+ */
382
+ getTotalAccountsStats(options?: GetTotalAccountsStatsOptionalParams): Promise<GetTotalAccountsStatsResponse>;
303
383
  /**
304
384
  * Get total transactions count stats.
305
385
  * @param options The options parameters.
@@ -320,6 +400,16 @@ export declare class Middleware extends coreClient.ServiceClient {
320
400
  * @param options The options parameters.
321
401
  */
322
402
  getTransactionsCount(options?: GetTransactionsCountOptionalParams): Promise<GetTransactionsCountResponse>;
403
+ /**
404
+ * Get pending transactions.
405
+ * @param options The options parameters.
406
+ */
407
+ getPendingTransactions(options?: GetPendingTransactionsOptionalParams): Promise<GetPendingTransactionsResponse>;
408
+ /**
409
+ * Get count of pending transactions.
410
+ * @param options The options parameters.
411
+ */
412
+ getPendingTransactionsCount(options?: GetPendingTransactionsCountOptionalParams): Promise<GetPendingTransactionsCountResponse>;
323
413
  /**
324
414
  * Get a single transaction.
325
415
  * @param hash The transaction encoded hash Transaction hash
@@ -332,4 +422,4 @@ export declare class Middleware extends coreClient.ServiceClient {
332
422
  */
333
423
  getTransfers(options?: GetTransfersOptionalParams): Promise<GetTransfersResponse>;
334
424
  }
335
- export declare const operationSpecs: readonly [coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec];
425
+ export declare const operationSpecs: readonly [coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec, coreClient.OperationSpec];