@aeternity/aepp-sdk 13.0.1 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/bin/aesophia_cli +0 -0
- package/dist/aepp-sdk.browser-script.js +1 -1
- package/dist/aepp-sdk.browser-script.js.map +1 -1
- package/dist/aepp-sdk.browser.js +1 -1
- package/dist/aepp-sdk.browser.js.map +1 -1
- package/dist/aepp-sdk.js +26702 -16514
- package/dist/aepp-sdk.js.map +1 -1
- package/es/AeSdkBase.d.ts +11 -3
- package/es/AeSdkBase.mjs +24 -3
- package/es/AeSdkBase.mjs.map +1 -1
- package/es/AeSdkMethods.d.ts +9 -14
- package/es/AeSdkMethods.mjs +20 -49
- package/es/AeSdkMethods.mjs.map +1 -1
- package/es/AeSdkWallet.mjs +28 -5
- package/es/AeSdkWallet.mjs.map +1 -1
- package/es/Middleware.d.ts +38 -0
- package/es/Middleware.mjs +90 -0
- package/es/Middleware.mjs.map +1 -0
- package/es/MiddlewareSubscriber.d.ts +30 -0
- package/es/MiddlewareSubscriber.mjs +198 -0
- package/es/MiddlewareSubscriber.mjs.map +1 -0
- package/es/Node.d.ts +1 -1
- package/es/Node.mjs.map +1 -1
- package/es/account/Base.d.ts +14 -2
- package/es/account/Base.mjs.map +1 -1
- package/es/account/Generalized.d.ts +1 -0
- package/es/account/Generalized.mjs +5 -0
- package/es/account/Generalized.mjs.map +1 -1
- package/es/account/Ledger.d.ts +1 -0
- package/es/account/Ledger.mjs +5 -0
- package/es/account/Ledger.mjs.map +1 -1
- package/es/account/Memory.d.ts +2 -0
- package/es/account/Memory.mjs +18 -0
- package/es/account/Memory.mjs.map +1 -1
- package/es/account/Rpc.d.ts +1 -6
- package/es/account/Rpc.mjs +24 -10
- package/es/account/Rpc.mjs.map +1 -1
- package/es/aens.d.ts +1 -1
- package/es/aens.mjs +1 -1
- package/es/aens.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +5 -2
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/types.d.ts +10 -0
- package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
- package/es/aepp-wallet-communication/schema.d.ts +1 -8
- package/es/aepp-wallet-communication/schema.mjs +1 -14
- package/es/aepp-wallet-communication/schema.mjs.map +1 -1
- package/es/aepp-wallet-communication/wallet-detector.d.ts +1 -1
- package/es/aepp-wallet-communication/wallet-detector.mjs +0 -3
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
- package/es/apis/compiler/compiler.mjs +15 -1
- package/es/apis/compiler/compiler.mjs.map +1 -1
- package/es/apis/compiler/models/index.d.ts +1 -7
- package/es/apis/compiler/models/index.mjs.map +1 -1
- package/es/apis/compiler/models/mappers.d.ts +0 -1
- package/es/apis/compiler/models/mappers.mjs +0 -43
- package/es/apis/compiler/models/mappers.mjs.map +1 -1
- package/es/apis/middleware/index.d.ts +2 -0
- package/es/apis/middleware/index.mjs +3 -0
- package/es/apis/middleware/index.mjs.map +1 -0
- package/es/apis/middleware/middleware.d.ts +309 -0
- package/es/apis/middleware/middleware.mjs +1527 -0
- package/es/apis/middleware/middleware.mjs.map +1 -0
- package/es/apis/middleware/models/index.d.ts +1496 -0
- package/es/apis/middleware/models/index.mjs +364 -0
- package/es/apis/middleware/models/index.mjs.map +1 -0
- package/es/apis/middleware/models/mappers.d.ts +102 -0
- package/es/apis/middleware/models/mappers.mjs +3334 -0
- package/es/apis/middleware/models/mappers.mjs.map +1 -0
- package/es/apis/middleware/models/parameters.d.ts +43 -0
- package/es/apis/middleware/models/parameters.mjs +417 -0
- package/es/apis/middleware/models/parameters.mjs.map +1 -0
- package/es/chain.d.ts +2 -1
- package/es/chain.mjs +4 -2
- package/es/chain.mjs.map +1 -1
- package/es/channel/Base.d.ts +1 -1
- package/es/channel/Base.mjs +1 -4
- package/es/channel/Base.mjs.map +1 -1
- package/es/channel/internal.mjs +2 -0
- package/es/channel/internal.mjs.map +1 -1
- package/es/contract/Contract.mjs +1 -1
- package/es/contract/Contract.mjs.map +1 -1
- package/es/contract/compiler/Base.d.ts +21 -0
- package/es/contract/compiler/Base.mjs.map +1 -1
- package/es/contract/compiler/Cli.d.ts +2 -0
- package/es/contract/compiler/Cli.mjs +24 -3
- package/es/contract/compiler/Cli.mjs.map +1 -1
- package/es/contract/compiler/Http.d.ts +2 -0
- package/es/contract/compiler/Http.mjs +22 -2
- package/es/contract/compiler/Http.mjs.map +1 -1
- package/es/contract/compiler/HttpNode.d.ts +1 -0
- package/es/contract/compiler/HttpNode.mjs +5 -0
- package/es/contract/compiler/HttpNode.mjs.map +1 -1
- package/es/deprecated.d.ts +14 -0
- package/es/deprecated.mjs +22 -0
- package/es/deprecated.mjs.map +1 -0
- package/es/index-browser.d.ts +20 -14
- package/es/index-browser.mjs +19 -15
- package/es/index-browser.mjs.map +1 -1
- package/es/tx/builder/constants.d.ts +0 -1
- package/es/tx/builder/constants.mjs +0 -1
- package/es/tx/builder/constants.mjs.map +1 -1
- package/es/tx/builder/field-types/coin-amount.d.ts +1 -1
- package/es/tx/builder/field-types/coin-amount.mjs +2 -1
- package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
- package/es/tx/builder/field-types/deposit.d.ts +1 -1
- package/es/tx/builder/field-types/entry.mjs +2 -1
- package/es/tx/builder/field-types/entry.mjs.map +1 -1
- package/es/tx/builder/field-types/index.d.ts +2 -2
- package/es/tx/builder/helpers.d.ts +8 -1
- package/es/tx/builder/helpers.mjs +53 -9
- package/es/tx/builder/helpers.mjs.map +1 -1
- package/es/tx/builder/index.d.ts +4 -2
- package/es/tx/builder/index.mjs +0 -1
- package/es/tx/builder/index.mjs.map +1 -1
- package/es/tx/builder/schema.d.ts +9 -9
- package/es/tx/validator.mjs +6 -3
- package/es/tx/validator.mjs.map +1 -1
- package/es/utils/autorest.mjs +6 -8
- package/es/utils/autorest.mjs.map +1 -1
- package/es/utils/crypto.d.ts +1 -0
- package/es/utils/crypto.mjs +12 -2
- package/es/utils/crypto.mjs.map +1 -1
- package/es/utils/errors.d.ts +2 -2
- package/es/utils/errors.mjs.map +1 -1
- package/es/utils/other.d.ts +1 -0
- package/es/utils/other.mjs +5 -0
- package/es/utils/other.mjs.map +1 -1
- package/es/utils/typed-data.d.ts +45 -0
- package/es/utils/typed-data.mjs +71 -0
- package/es/utils/typed-data.mjs.map +1 -0
- package/package.json +23 -4
- package/src/AeSdkBase.ts +30 -5
- package/src/AeSdkMethods.ts +31 -50
- package/src/AeSdkWallet.ts +27 -5
- package/src/Middleware.ts +141 -0
- package/src/MiddlewareSubscriber.ts +207 -0
- package/src/Node.ts +1 -1
- package/src/account/Base.ts +20 -3
- package/src/account/Generalized.ts +5 -0
- package/src/account/Ledger.ts +5 -0
- package/src/account/Memory.ts +15 -0
- package/src/account/Rpc.ts +19 -7
- package/src/aens.ts +1 -1
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +11 -3
- package/src/aepp-wallet-communication/rpc/types.ts +11 -0
- package/src/aepp-wallet-communication/schema.ts +2 -17
- package/src/aepp-wallet-communication/wallet-detector.ts +1 -2
- package/src/apis/compiler/compiler.ts +8 -1
- package/src/apis/compiler/models/index.ts +1 -8
- package/src/apis/compiler/models/mappers.ts +0 -36
- package/src/apis/middleware/index.ts +2 -0
- package/src/apis/middleware/middleware.ts +1807 -0
- package/src/apis/middleware/models/index.ts +1747 -0
- package/src/apis/middleware/models/mappers.ts +3370 -0
- package/src/apis/middleware/models/parameters.ts +463 -0
- package/src/chain.ts +3 -2
- package/src/channel/Base.ts +5 -5
- package/src/channel/internal.ts +2 -0
- package/src/contract/Contract.ts +1 -0
- package/src/contract/compiler/Base.ts +26 -0
- package/src/contract/compiler/Cli.ts +27 -3
- package/src/contract/compiler/Http.ts +21 -2
- package/src/contract/compiler/HttpNode.ts +6 -0
- package/src/deprecated.ts +23 -0
- package/src/index-browser.ts +77 -15
- package/src/tx/builder/constants.ts +0 -1
- package/src/tx/builder/field-types/coin-amount.ts +2 -1
- package/src/tx/builder/field-types/entry.ts +1 -1
- package/src/tx/builder/helpers.ts +54 -9
- package/src/tx/builder/index.ts +6 -9
- package/src/tx/validator.ts +4 -2
- package/src/utils/autorest.ts +5 -10
- package/src/utils/crypto.ts +12 -2
- package/src/utils/errors.ts +2 -2
- package/src/utils/other.ts +5 -0
- package/src/utils/typed-data.ts +95 -0
- package/types-legacy/ts4.2/AeSdkBase.d.ts +11 -3
- package/types-legacy/ts4.2/AeSdkMethods.d.ts +9 -14
- package/types-legacy/ts4.2/Middleware.d.ts +46 -0
- package/types-legacy/ts4.2/MiddlewareSubscriber.d.ts +30 -0
- package/types-legacy/ts4.2/Node.d.ts +1 -1
- package/types-legacy/ts4.2/account/Base.d.ts +14 -2
- package/types-legacy/ts4.2/account/Generalized.d.ts +1 -0
- package/types-legacy/ts4.2/account/Ledger.d.ts +1 -0
- package/types-legacy/ts4.2/account/Memory.d.ts +2 -0
- package/types-legacy/ts4.2/account/Rpc.d.ts +1 -6
- package/types-legacy/ts4.2/aens.d.ts +1 -1
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +10 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +1 -8
- package/types-legacy/ts4.2/aepp-wallet-communication/wallet-detector.d.ts +1 -1
- package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -7
- package/types-legacy/ts4.2/apis/compiler/models/mappers.d.ts +0 -1
- package/types-legacy/ts4.2/apis/middleware/index.d.ts +2 -0
- package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +309 -0
- package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +1496 -0
- package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +102 -0
- package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +43 -0
- package/types-legacy/ts4.2/chain.d.ts +2 -1
- package/types-legacy/ts4.2/channel/Base.d.ts +1 -1
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +21 -0
- package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +2 -0
- package/types-legacy/ts4.2/contract/compiler/Http.d.ts +2 -0
- package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +1 -0
- package/types-legacy/ts4.2/deprecated.d.ts +14 -0
- package/types-legacy/ts4.2/index-browser.d.ts +20 -14
- package/types-legacy/ts4.2/tx/builder/constants.d.ts +0 -1
- package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +1 -1
- package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +1 -1
- package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +2 -2
- package/types-legacy/ts4.2/tx/builder/helpers.d.ts +8 -1
- package/types-legacy/ts4.2/tx/builder/index.d.ts +4 -2
- package/types-legacy/ts4.2/tx/builder/schema.d.ts +9 -9
- package/types-legacy/ts4.2/utils/crypto.d.ts +1 -0
- package/types-legacy/ts4.2/utils/errors.d.ts +2 -2
- package/types-legacy/ts4.2/utils/other.d.ts +1 -0
- package/types-legacy/ts4.2/utils/typed-data.d.ts +60 -0
- package/types-legacy/ts4.5/AeSdkBase.d.ts +11 -3
- package/types-legacy/ts4.5/AeSdkMethods.d.ts +9 -14
- package/types-legacy/ts4.5/Middleware.d.ts +46 -0
- package/types-legacy/ts4.5/MiddlewareSubscriber.d.ts +30 -0
- package/types-legacy/ts4.5/Node.d.ts +1 -1
- package/types-legacy/ts4.5/account/Base.d.ts +14 -2
- package/types-legacy/ts4.5/account/Generalized.d.ts +1 -0
- package/types-legacy/ts4.5/account/Ledger.d.ts +1 -0
- package/types-legacy/ts4.5/account/Memory.d.ts +2 -0
- package/types-legacy/ts4.5/account/Rpc.d.ts +1 -6
- package/types-legacy/ts4.5/aens.d.ts +1 -1
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +10 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +1 -8
- package/types-legacy/ts4.5/aepp-wallet-communication/wallet-detector.d.ts +1 -1
- package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -7
- package/types-legacy/ts4.5/apis/compiler/models/mappers.d.ts +0 -1
- package/types-legacy/ts4.5/apis/middleware/index.d.ts +2 -0
- package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +309 -0
- package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +1496 -0
- package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +102 -0
- package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +43 -0
- package/types-legacy/ts4.5/chain.d.ts +2 -1
- package/types-legacy/ts4.5/channel/Base.d.ts +1 -1
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +21 -0
- package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +2 -0
- package/types-legacy/ts4.5/contract/compiler/Http.d.ts +2 -0
- package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +1 -0
- package/types-legacy/ts4.5/deprecated.d.ts +14 -0
- package/types-legacy/ts4.5/index-browser.d.ts +20 -14
- package/types-legacy/ts4.5/tx/builder/constants.d.ts +0 -1
- package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +1 -1
- package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +1 -1
- package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +2 -2
- package/types-legacy/ts4.5/tx/builder/helpers.d.ts +8 -1
- package/types-legacy/ts4.5/tx/builder/index.d.ts +4 -2
- package/types-legacy/ts4.5/tx/builder/schema.d.ts +9 -9
- package/types-legacy/ts4.5/utils/crypto.d.ts +1 -0
- package/types-legacy/ts4.5/utils/errors.d.ts +2 -2
- package/types-legacy/ts4.5/utils/other.d.ts +1 -0
- package/types-legacy/ts4.5/utils/typed-data.d.ts +60 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import { Enum1, MiddlewareOptionalParams, GetAccountActivitiesOptionalParams, GetAccountActivitiesResponse, GetSortedAex141ContractsOptionalParams, GetSortedAex141ContractsResponse, GetAex141OwnedTokensOptionalParams, GetAex141OwnedTokensResponse, GetAex141TokenOwnerOptionalParams, GetAex141TokenOwnerResponse, GetAex141ContractOwnersOptionalParams, GetAex141ContractOwnersResponse, GetAex141ContractTemplatesOptionalParams, GetAex141ContractTemplatesResponse, GetAex141TemplateTokensOptionalParams, GetAex141TemplateTokensResponse, GetAex141ByContractOptionalParams, GetAex141ByContractResponse, GetSortedAex9TokensOptionalParams, GetSortedAex9TokensResponse, GetAex9AccountBalancesOptionalParams, GetAex9AccountBalancesResponse, GetAex9TokensCountOptionalParams, GetAex9TokensCountResponse, GetAex9PairTransfersOptionalParams, GetAex9PairTransfersResponse, GetAex9SenderTransfersOptionalParams, GetAex9SenderTransfersResponse, GetAex9RecipientTransfersOptionalParams, GetAex9RecipientTransfersResponse, GetAex9ContractBalancesOptionalParams, GetAex9ContractBalancesResponse, GetAex9ContractAccountBalanceOptionalParams, GetAex9ContractAccountBalanceResponse, GetAex9ContractAccountBalanceHistoryOptionalParams, GetAex9ContractAccountBalanceHistoryResponse, GetAex9LogsCountOptionalParams, GetAex9LogsCountResponse, GetAex9ByContractOptionalParams, GetAex9ByContractResponse, GetBlocksOptionalParams, GetBlocksResponse, GetBlockOptionalParams, GetBlockResponse, GetBlockByMbiOptionalParams, GetBlockByMbiResponse, GetChannelsOptionalParams, GetChannelsResponse, GetChannelOptionalParams, GetChannelResponse, GetContractsCallsOptionalParams, GetContractsCallsResponse, GetContractsLogsOptionalParams, GetContractsLogsResponse, GetDeltastatsOptionalParams, GetDeltastatsResponse, GetKeyBlocksOptionalParams, GetKeyBlocksResponse, GetKeyBlockOptionalParams, GetKeyBlockResponse, GetKeyBlockMicroBlocksOptionalParams, GetKeyBlockMicroBlocksResponse, GetMicroBlockOptionalParams, GetMicroBlockResponse, GetMicroBlockTransactionsOptionalParams, GetMicroBlockTransactionsResponse, GetNamesOptionalParams, GetNamesResponse, GetNamesAuctionsOptionalParams, GetNamesAuctionsResponse, SearchNamesOptionalParams, SearchNamesResponse, GetNameOptionalParams, GetNameResponse, GetNameAuctionOptionalParams, GetNameAuctionResponse, GetNameClaimsOptionalParams, GetNameClaimsResponse, GetNamePointeesOptionalParams, GetNamePointeesResponse, GetNamePointersOptionalParams, GetNamePointersResponse, GetNameTransfersOptionalParams, GetNameTransfersResponse, GetNameUpdatesOptionalParams, GetNameUpdatesResponse, GetOracleOptionalParams, GetOracleResponse, GetOraclesOptionalParams, GetOraclesResponse, GetStatusOptionalParams, GetStatusResponse, GetTotalstatsOptionalParams, GetTotalstatsResponse, GetTransfersOptionalParams, GetTransfersResponse, GetTxsOptionalParams, GetTxsResponse, GetTxCountOptionalParams, GetTxCountResponse, GetTxCountByIdOptionalParams, GetTxCountByIdResponse, GetTxOptionalParams, GetTxResponse } from "./models";
|
|
3
|
+
export declare class Middleware extends coreClient.ServiceClient {
|
|
4
|
+
$host: string;
|
|
5
|
+
limit?: number;
|
|
6
|
+
scope?: string;
|
|
7
|
+
direction?: Enum1;
|
|
8
|
+
/**
|
|
9
|
+
* Initializes a new instance of the Middleware class.
|
|
10
|
+
* @param $host server parameter
|
|
11
|
+
* @param options The parameter options
|
|
12
|
+
*/
|
|
13
|
+
constructor($host: string, options?: MiddlewareOptionalParams);
|
|
14
|
+
/**
|
|
15
|
+
* Get an account activities.
|
|
16
|
+
* @param id The account address
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
getAccountActivities(id: string, options?: GetAccountActivitiesOptionalParams): Promise<GetAccountActivitiesResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get AEX141 contracts sorted by name or symbol.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
getSortedAex141Contracts(options?: GetSortedAex141ContractsOptionalParams): Promise<GetSortedAex141ContractsResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Get tokens owned by an account.
|
|
27
|
+
* @param accountId The account id
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
getAex141OwnedTokens(accountId: string, options?: GetAex141OwnedTokensOptionalParams): Promise<GetAex141OwnedTokensResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Get owner of a NFT (AEX-141 token).
|
|
33
|
+
* @param contractId The contract id
|
|
34
|
+
* @param tokenId The nft token id
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
getAex141TokenOwner(contractId: string, tokenId: number, options?: GetAex141TokenOwnerOptionalParams): Promise<GetAex141TokenOwnerResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Get owners of tokens of a AEX-141 contract.
|
|
40
|
+
* @param contractId The contract id
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
getAex141ContractOwners(contractId: string, options?: GetAex141ContractOwnersOptionalParams): Promise<GetAex141ContractOwnersResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Get templates AEX-141 contract tokens.
|
|
46
|
+
* @param contractId The contract id
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
getAex141ContractTemplates(contractId: string, options?: GetAex141ContractTemplatesOptionalParams): Promise<GetAex141ContractTemplatesResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Get AEX-141 template tokens.
|
|
52
|
+
* @param contractId Contract id
|
|
53
|
+
* @param templateId Template id
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
getAex141TemplateTokens(contractId: string, templateId: number, options?: GetAex141TemplateTokensOptionalParams): Promise<GetAex141TemplateTokensResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Get AEX141 contract meta-info, extensions, limits and stats.
|
|
59
|
+
* @param id The contract id
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
getAex141ByContract(id: string, options?: GetAex141ByContractOptionalParams): Promise<GetAex141ByContractResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Get AEX9 tokens sorted by name or symbol.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
getSortedAex9Tokens(options?: GetSortedAex9TokensOptionalParams): Promise<GetSortedAex9TokensResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Get all AEX9 balances for an account on the last block.
|
|
70
|
+
* @param accountId Account id
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
getAex9AccountBalances(accountId: string, options?: GetAex9AccountBalancesOptionalParams): Promise<GetAex9AccountBalancesResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Get AEX9 tokens count.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
getAex9TokensCount(options?: GetAex9TokensCountOptionalParams): Promise<GetAex9TokensCountResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Get AEX9 transfers filtered by sender and recipient.
|
|
81
|
+
* @param sender Sender account id
|
|
82
|
+
* @param recipient Recipient account id
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
getAex9PairTransfers(sender: string, recipient: string, options?: GetAex9PairTransfersOptionalParams): Promise<GetAex9PairTransfersResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Get AEX9 transfers filtered by sender.
|
|
88
|
+
* @param id Sender account id
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
getAex9SenderTransfers(id: string, options?: GetAex9SenderTransfersOptionalParams): Promise<GetAex9SenderTransfersResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Get AEX9 transfers filtered by recipient.
|
|
94
|
+
* @param id Recipient account id
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
getAex9RecipientTransfers(id: string, options?: GetAex9RecipientTransfersOptionalParams): Promise<GetAex9RecipientTransfersResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* Get AEX9 balances on a contract.
|
|
100
|
+
* @param contractId Contract id
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
getAex9ContractBalances(contractId: string, options?: GetAex9ContractBalancesOptionalParams): Promise<GetAex9ContractBalancesResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* Get AEX9 balance for an account on a contract.
|
|
106
|
+
* @param contractId Contract id
|
|
107
|
+
* @param accountId Account id
|
|
108
|
+
* @param hash Block hash
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
getAex9ContractAccountBalance(contractId: string, accountId: string, hash: string, options?: GetAex9ContractAccountBalanceOptionalParams): Promise<GetAex9ContractAccountBalanceResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Get AEX9 account balance on a contract throughout all heights when changed.
|
|
114
|
+
* @param contractId Contract id
|
|
115
|
+
* @param accountId Account id
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
getAex9ContractAccountBalanceHistory(contractId: string, accountId: string, options?: GetAex9ContractAccountBalanceHistoryOptionalParams): Promise<GetAex9ContractAccountBalanceHistoryResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* Get AEX9 token events count.
|
|
121
|
+
* @param contractId Contract id
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
getAex9LogsCount(contractId: string, options?: GetAex9LogsCountOptionalParams): Promise<GetAex9LogsCountResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Get AEX9 creation and meta_info information by contract id.
|
|
127
|
+
* @param id The contract id
|
|
128
|
+
* @param options The options parameters.
|
|
129
|
+
*/
|
|
130
|
+
getAex9ByContract(id: string, options?: GetAex9ByContractOptionalParams): Promise<GetAex9ByContractResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* Get multiple blocks.
|
|
133
|
+
* @param options The options parameters.
|
|
134
|
+
*/
|
|
135
|
+
getBlocks(options?: GetBlocksOptionalParams): Promise<GetBlocksResponse>;
|
|
136
|
+
/**
|
|
137
|
+
* Get a single block.
|
|
138
|
+
* @param hashOrKbi The block encoded hash or key block index
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
getBlock(hashOrKbi: string, options?: GetBlockOptionalParams): Promise<GetBlockResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* Get a single block.
|
|
144
|
+
* @param kbi The block key block index
|
|
145
|
+
* @param mbi The block micro block index, starting from 0
|
|
146
|
+
* @param options The options parameters.
|
|
147
|
+
*/
|
|
148
|
+
getBlockByMbi(kbi: number, mbi: number, options?: GetBlockByMbiOptionalParams): Promise<GetBlockByMbiResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Get multiple channels.
|
|
151
|
+
* @param options The options parameters.
|
|
152
|
+
*/
|
|
153
|
+
getChannels(options?: GetChannelsOptionalParams): Promise<GetChannelsResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Get a single channel.
|
|
156
|
+
* @param id The channel
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
getChannel(id: string, options?: GetChannelOptionalParams): Promise<GetChannelResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Get contract calls.
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
getContractsCalls(options?: GetContractsCallsOptionalParams): Promise<GetContractsCallsResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* Get contract logs.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
getContractsLogs(options?: GetContractsLogsOptionalParams): Promise<GetContractsLogsResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Get delta stats.
|
|
172
|
+
* @param options The options parameters.
|
|
173
|
+
*/
|
|
174
|
+
getDeltastats(options?: GetDeltastatsOptionalParams): Promise<GetDeltastatsResponse>;
|
|
175
|
+
/**
|
|
176
|
+
* Get multiple key blocks.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
getKeyBlocks(options?: GetKeyBlocksOptionalParams): Promise<GetKeyBlocksResponse>;
|
|
180
|
+
/**
|
|
181
|
+
* Get a single key block.
|
|
182
|
+
* @param hashOrKbi The key block encoded hash or key block index
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
getKeyBlock(hashOrKbi: string, options?: GetKeyBlockOptionalParams): Promise<GetKeyBlockResponse>;
|
|
186
|
+
/**
|
|
187
|
+
* Get the key block micro blocks.
|
|
188
|
+
* @param hashOrKbi The key block encoded hash or key block index
|
|
189
|
+
* @param options The options parameters.
|
|
190
|
+
*/
|
|
191
|
+
getKeyBlockMicroBlocks(hashOrKbi: string, options?: GetKeyBlockMicroBlocksOptionalParams): Promise<GetKeyBlockMicroBlocksResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* Get a micro block
|
|
194
|
+
* @param hash The micro block encoded hash
|
|
195
|
+
* @param options The options parameters.
|
|
196
|
+
*/
|
|
197
|
+
getMicroBlock(hash: string, options?: GetMicroBlockOptionalParams): Promise<GetMicroBlockResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Get a micro block transactions
|
|
200
|
+
* @param hash The micro block encoded hash
|
|
201
|
+
* @param options The options parameters.
|
|
202
|
+
*/
|
|
203
|
+
getMicroBlockTransactions(hash: string, options?: GetMicroBlockTransactionsOptionalParams): Promise<GetMicroBlockTransactionsResponse>;
|
|
204
|
+
/**
|
|
205
|
+
* Get multiple names.
|
|
206
|
+
* @param options The options parameters.
|
|
207
|
+
*/
|
|
208
|
+
getNames(options?: GetNamesOptionalParams): Promise<GetNamesResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* Get multiple names.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
getNamesAuctions(options?: GetNamesAuctionsOptionalParams): Promise<GetNamesAuctionsResponse>;
|
|
214
|
+
/**
|
|
215
|
+
* Get multiple names.
|
|
216
|
+
* @param options The options parameters.
|
|
217
|
+
*/
|
|
218
|
+
searchNames(options?: SearchNamesOptionalParams): Promise<SearchNamesResponse>;
|
|
219
|
+
/**
|
|
220
|
+
* Get a single name.
|
|
221
|
+
* @param id The name
|
|
222
|
+
* @param options The options parameters.
|
|
223
|
+
*/
|
|
224
|
+
getName(id: string, options?: GetNameOptionalParams): Promise<GetNameResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* Get name auction
|
|
227
|
+
* @param id The name
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
getNameAuction(id: string, options?: GetNameAuctionOptionalParams): Promise<GetNameAuctionResponse>;
|
|
231
|
+
/**
|
|
232
|
+
* Get name claims
|
|
233
|
+
* @param id The name or name hash
|
|
234
|
+
* @param options The options parameters.
|
|
235
|
+
*/
|
|
236
|
+
getNameClaims(id: string, options?: GetNameClaimsOptionalParams): Promise<GetNameClaimsResponse>;
|
|
237
|
+
/**
|
|
238
|
+
* Get name pointees
|
|
239
|
+
* @param id The name
|
|
240
|
+
* @param options The options parameters.
|
|
241
|
+
*/
|
|
242
|
+
getNamePointees(id: string, options?: GetNamePointeesOptionalParams): Promise<GetNamePointeesResponse>;
|
|
243
|
+
/**
|
|
244
|
+
* Get name pointers
|
|
245
|
+
* @param id The name
|
|
246
|
+
* @param options The options parameters.
|
|
247
|
+
*/
|
|
248
|
+
getNamePointers(id: string, options?: GetNamePointersOptionalParams): Promise<GetNamePointersResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* Get name transfers
|
|
251
|
+
* @param id The name or name hash
|
|
252
|
+
* @param options The options parameters.
|
|
253
|
+
*/
|
|
254
|
+
getNameTransfers(id: string, options?: GetNameTransfersOptionalParams): Promise<GetNameTransfersResponse>;
|
|
255
|
+
/**
|
|
256
|
+
* Get name updates
|
|
257
|
+
* @param id The name or name hash
|
|
258
|
+
* @param options The options parameters.
|
|
259
|
+
*/
|
|
260
|
+
getNameUpdates(id: string, options?: GetNameUpdatesOptionalParams): Promise<GetNameUpdatesResponse>;
|
|
261
|
+
/**
|
|
262
|
+
* Get a single oracle.
|
|
263
|
+
* @param id The oracle
|
|
264
|
+
* @param options The options parameters.
|
|
265
|
+
*/
|
|
266
|
+
getOracle(id: string, options?: GetOracleOptionalParams): Promise<GetOracleResponse>;
|
|
267
|
+
/**
|
|
268
|
+
* Get multiple oracles.
|
|
269
|
+
* @param options The options parameters.
|
|
270
|
+
*/
|
|
271
|
+
getOracles(options?: GetOraclesOptionalParams): Promise<GetOraclesResponse>;
|
|
272
|
+
/**
|
|
273
|
+
* Gets the current syncing status of both middleware and the node
|
|
274
|
+
* @param options The options parameters.
|
|
275
|
+
*/
|
|
276
|
+
getStatus(options?: GetStatusOptionalParams): Promise<GetStatusResponse>;
|
|
277
|
+
/**
|
|
278
|
+
* Get total accumulated stats.
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
getTotalstats(options?: GetTotalstatsOptionalParams): Promise<GetTotalstatsResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* Get multiple transfers.
|
|
284
|
+
* @param options The options parameters.
|
|
285
|
+
*/
|
|
286
|
+
getTransfers(options?: GetTransfersOptionalParams): Promise<GetTransfersResponse>;
|
|
287
|
+
/**
|
|
288
|
+
* Get multiple transactions.
|
|
289
|
+
* @param options The options parameters.
|
|
290
|
+
*/
|
|
291
|
+
getTxs(options?: GetTxsOptionalParams): Promise<GetTxsResponse>;
|
|
292
|
+
/**
|
|
293
|
+
* Get count of transactions at the latest height.
|
|
294
|
+
* @param options The options parameters.
|
|
295
|
+
*/
|
|
296
|
+
getTxCount(options?: GetTxCountOptionalParams): Promise<GetTxCountResponse>;
|
|
297
|
+
/**
|
|
298
|
+
* Get transactions count and its type for given aeternity ID.
|
|
299
|
+
* @param id The ID of the address/name/oracle/etc
|
|
300
|
+
* @param options The options parameters.
|
|
301
|
+
*/
|
|
302
|
+
getTxCountById(id: string, options?: GetTxCountByIdOptionalParams): Promise<GetTxCountByIdResponse>;
|
|
303
|
+
/**
|
|
304
|
+
* Get a single transaction.
|
|
305
|
+
* @param hashOrIndex The transaction encoded hash or index (txi)
|
|
306
|
+
* @param options The options parameters.
|
|
307
|
+
*/
|
|
308
|
+
getTx(hashOrIndex: string, options?: GetTxOptionalParams): Promise<GetTxResponse>;
|
|
309
|
+
}
|