@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.
- package/LICENSE +1 -1
- package/README.md +11 -19
- package/dist/aepp-sdk.browser-script.cjs +1 -1
- package/dist/aepp-sdk.browser-script.cjs.LICENSE.txt +2 -0
- package/dist/aepp-sdk.browser-script.cjs.map +1 -1
- package/dist/aepp-sdk.browser.cjs +1 -1
- package/dist/aepp-sdk.browser.cjs.map +1 -1
- package/dist/aepp-sdk.cjs +11678 -6969
- package/dist/aepp-sdk.cjs.map +1 -1
- package/es/AeSdkBase.d.ts +10 -1
- package/es/AeSdkBase.js +12 -2
- package/es/AeSdkBase.js.map +1 -1
- package/es/AeSdkMethods.d.ts +1 -1
- package/es/AeSdkMethods.js.map +1 -1
- package/es/AeSdkWallet.js +1 -1
- package/es/AeSdkWallet.js.map +1 -1
- package/es/Middleware.d.ts +5 -1
- package/es/Middleware.js +7 -2
- package/es/Middleware.js.map +1 -1
- package/es/MiddlewareSubscriber.d.ts +3 -0
- package/es/MiddlewareSubscriber.js +4 -0
- package/es/MiddlewareSubscriber.js.map +1 -1
- package/es/Node.d.ts +6 -1
- package/es/Node.js +28 -4
- package/es/Node.js.map +1 -1
- package/es/account/Base.d.ts +12 -0
- package/es/account/Base.js +1 -0
- package/es/account/Base.js.map +1 -1
- package/es/account/BaseFactory.d.ts +1 -0
- package/es/account/BaseFactory.js +1 -0
- package/es/account/BaseFactory.js.map +1 -1
- package/es/account/Generalized.d.ts +5 -0
- package/es/account/Generalized.js +9 -0
- package/es/account/Generalized.js.map +1 -1
- package/es/account/Ledger.d.ts +5 -0
- package/es/account/Ledger.js +9 -0
- package/es/account/Ledger.js.map +1 -1
- package/es/account/LedgerFactory.d.ts +2 -0
- package/es/account/LedgerFactory.js +10 -4
- package/es/account/LedgerFactory.js.map +1 -1
- package/es/account/Memory.d.ts +5 -0
- package/es/account/Memory.js +14 -5
- package/es/account/Memory.js.map +1 -1
- package/es/account/Metamask.d.ts +8 -0
- package/es/account/Metamask.js +13 -0
- package/es/account/Metamask.js.map +1 -1
- package/es/account/MetamaskFactory.d.ts +20 -2
- package/es/account/MetamaskFactory.js +93 -39
- package/es/account/MetamaskFactory.js.map +1 -1
- package/es/account/MnemonicFactory.d.ts +12 -2
- package/es/account/MnemonicFactory.js +48 -24
- package/es/account/MnemonicFactory.js.map +1 -1
- package/es/account/Rpc.d.ts +5 -0
- package/es/account/Rpc.js +8 -0
- package/es/account/Rpc.js.map +1 -1
- package/es/aens.d.ts +25 -5
- package/es/aens.js +52 -18
- package/es/aens.js.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.js.map +1 -1
- package/es/apis/middleware/middleware.d.ts +99 -9
- package/es/apis/middleware/middleware.js +560 -91
- package/es/apis/middleware/middleware.js.map +1 -1
- package/es/apis/middleware/models/index.d.ts +1267 -1582
- package/es/apis/middleware/models/index.js +1 -1363
- package/es/apis/middleware/models/index.js.map +1 -1
- package/es/apis/middleware/models/mappers.d.ts +126 -56
- package/es/apis/middleware/models/mappers.js +6250 -2989
- package/es/apis/middleware/models/mappers.js.map +1 -1
- package/es/apis/middleware/models/parameters.d.ts +54 -33
- package/es/apis/middleware/models/parameters.js +389 -134
- package/es/apis/middleware/models/parameters.js.map +1 -1
- package/es/apis/node/models/index.d.ts +60 -15
- package/es/apis/node/models/index.js.map +1 -1
- package/es/apis/node/models/mappers.d.ts +3 -0
- package/es/apis/node/models/mappers.js +130 -2
- package/es/apis/node/models/mappers.js.map +1 -1
- package/es/apis/node/node.d.ts +13 -1
- package/es/apis/node/node.js +54 -0
- package/es/apis/node/node.js.map +1 -1
- package/es/chain.d.ts +19 -6
- package/es/chain.js +30 -24
- package/es/chain.js.map +1 -1
- package/es/channel/Contract.d.ts +6 -3
- package/es/channel/Contract.js +5 -2
- package/es/channel/Contract.js.map +1 -1
- package/es/channel/Spend.d.ts +1 -1
- package/es/channel/Spend.js.map +1 -1
- package/es/channel/handlers.js +1 -2
- package/es/channel/handlers.js.map +1 -1
- package/es/channel/internal.d.ts +1 -1
- package/es/channel/internal.js +2 -2
- package/es/channel/internal.js.map +1 -1
- package/es/contract/Contract.d.ts +13 -2
- package/es/contract/Contract.js +22 -12
- package/es/contract/Contract.js.map +1 -1
- package/es/contract/compiler/Base.d.ts +1 -0
- package/es/contract/compiler/Base.js +1 -0
- package/es/contract/compiler/Base.js.map +1 -1
- package/es/contract/compiler/Cli.d.ts +2 -1
- package/es/contract/compiler/Cli.js +11 -9
- package/es/contract/compiler/Cli.js.map +1 -1
- package/es/contract/compiler/Http.d.ts +2 -1
- package/es/contract/compiler/Http.js +3 -2
- package/es/contract/compiler/Http.js.map +1 -1
- package/es/contract/compiler/getFileSystem.d.ts +1 -0
- package/es/contract/compiler/getFileSystem.js +1 -0
- package/es/contract/compiler/getFileSystem.js.map +1 -1
- package/es/contract/ga.d.ts +3 -3
- package/es/contract/ga.js +3 -3
- package/es/contract/ga.js.map +1 -1
- package/es/index-browser.d.ts +32 -2
- package/es/index-browser.js +32 -2
- package/es/index-browser.js.map +1 -1
- package/es/oracle/Oracle.d.ts +10 -1
- package/es/oracle/Oracle.js +16 -6
- package/es/oracle/Oracle.js.map +1 -1
- package/es/oracle/OracleBase.d.ts +15 -2
- package/es/oracle/OracleBase.js +23 -1
- package/es/oracle/OracleBase.js.map +1 -1
- package/es/oracle/OracleClient.d.ts +3 -0
- package/es/oracle/OracleClient.js +6 -1
- package/es/oracle/OracleClient.js.map +1 -1
- package/es/spend.js +1 -1
- package/es/spend.js.map +1 -1
- package/es/tx/builder/common.js +6 -3
- package/es/tx/builder/common.js.map +1 -1
- package/es/tx/builder/constants.d.ts +53 -3
- package/es/tx/builder/constants.js +62 -12
- package/es/tx/builder/constants.js.map +1 -1
- package/es/tx/builder/delegation/schema.js +15 -0
- package/es/tx/builder/delegation/schema.js.map +1 -1
- package/es/tx/builder/entry/constants.d.ts +4 -1
- package/es/tx/builder/entry/constants.js +10 -1
- package/es/tx/builder/entry/constants.js.map +1 -1
- package/es/tx/builder/entry/index.js +1 -2
- package/es/tx/builder/entry/index.js.map +1 -1
- package/es/tx/builder/field-types/ct-version.js +1 -2
- package/es/tx/builder/field-types/ct-version.js.map +1 -1
- package/es/tx/builder/field-types/fee.d.ts +1 -1
- package/es/tx/builder/field-types/fee.js +4 -4
- package/es/tx/builder/field-types/fee.js.map +1 -1
- package/es/tx/builder/field-types/gas-price.d.ts +3 -0
- package/es/tx/builder/field-types/gas-price.js +1 -1
- package/es/tx/builder/field-types/gas-price.js.map +1 -1
- package/es/tx/builder/field-types/name-fee.js +1 -1
- package/es/tx/builder/field-types/name-fee.js.map +1 -1
- package/es/tx/builder/field-types/name-id.js +2 -2
- package/es/tx/builder/field-types/name-id.js.map +1 -1
- package/es/tx/builder/field-types/nonce.d.ts +1 -1
- package/es/tx/builder/field-types/nonce.js.map +1 -1
- package/es/tx/builder/field-types/pointers.js +3 -3
- package/es/tx/builder/field-types/pointers.js.map +1 -1
- package/es/tx/builder/field-types/ttl.js +1 -2
- package/es/tx/builder/field-types/ttl.js.map +1 -1
- package/es/tx/builder/helpers.d.ts +18 -12
- package/es/tx/builder/helpers.js +25 -17
- package/es/tx/builder/helpers.js.map +1 -1
- package/es/tx/builder/schema.d.ts +27 -24
- package/es/tx/builder/schema.generated.d.ts +12 -12
- package/es/tx/builder/schema.generated.js.map +1 -1
- package/es/tx/builder/schema.js +5 -3
- package/es/tx/builder/schema.js.map +1 -1
- package/es/tx/execution-cost.d.ts +3 -0
- package/es/tx/execution-cost.js +7 -4
- package/es/tx/execution-cost.js.map +1 -1
- package/es/tx/transaction-signer.d.ts +1 -0
- package/es/tx/transaction-signer.js +1 -0
- package/es/tx/transaction-signer.js.map +1 -1
- package/es/tx/validator.js +4 -3
- package/es/tx/validator.js.map +1 -1
- package/es/utils/MiddlewarePage.d.ts +4 -3
- package/es/utils/MiddlewarePage.js.map +1 -1
- package/es/utils/amount-formatter.d.ts +15 -1
- package/es/utils/amount-formatter.js +17 -1
- package/es/utils/amount-formatter.js.map +1 -1
- package/es/utils/autorest.d.ts +1 -1
- package/es/utils/autorest.js +10 -4
- package/es/utils/autorest.js.map +1 -1
- package/es/utils/bignumber.d.ts +1 -1
- package/es/utils/bignumber.js +1 -1
- package/es/utils/bignumber.js.map +1 -1
- package/es/utils/bytes.d.ts +3 -1
- package/es/utils/bytes.js +3 -1
- package/es/utils/bytes.js.map +1 -1
- package/es/utils/crypto.d.ts +48 -15
- package/es/utils/crypto.js +80 -29
- package/es/utils/crypto.js.map +1 -1
- package/es/utils/encoder-types.d.ts +1 -1
- package/es/utils/encoder-types.js +1 -1
- package/es/utils/encoder-types.js.map +1 -1
- package/es/utils/encoder.d.ts +2 -0
- package/es/utils/encoder.js +2 -0
- package/es/utils/encoder.js.map +1 -1
- package/es/utils/errors.d.ts +2 -2
- package/es/utils/errors.js +2 -2
- package/es/utils/errors.js.map +1 -1
- package/es/utils/json-big.js +1 -1
- package/es/utils/json-big.js.map +1 -1
- package/es/utils/jwt.js +3 -3
- package/es/utils/jwt.js.map +1 -1
- package/es/utils/typed-data.d.ts +5 -0
- package/es/utils/typed-data.js +6 -0
- package/es/utils/typed-data.js.map +1 -1
- 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,
|
|
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
|
|
31
|
-
* @param
|
|
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
|
-
|
|
40
|
+
getAccountNameClaims(accountId: `ak_${string}`, options?: GetAccountNameClaimsOptionalParams): Promise<GetAccountNameClaimsResponse>;
|
|
35
41
|
/**
|
|
36
42
|
* Get account pointees
|
|
37
|
-
* @param
|
|
43
|
+
* @param accountId The account that names point to Account address
|
|
38
44
|
* @param options The options parameters.
|
|
39
45
|
*/
|
|
40
|
-
getAccountPointees(
|
|
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
|
|
49
|
+
* @param accountId The ID of the address/name/oracle/etc Account address
|
|
44
50
|
* @param options The options parameters.
|
|
45
51
|
*/
|
|
46
|
-
getAccountTransactionsCount(
|
|
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];
|