@aws-sdk/client-managedblockchain-query 3.533.0 → 3.537.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 +8 -0
- package/dist-cjs/index.js +118 -14
- package/dist-es/ManagedBlockchainQuery.js +2 -0
- package/dist-es/commands/ListFilteredTransactionEventsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +7 -4
- package/dist-es/pagination/ListFilteredTransactionEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +72 -2
- package/dist-types/ManagedBlockchainQuery.d.ts +9 -1
- package/dist-types/ManagedBlockchainQueryClient.d.ts +4 -3
- package/dist-types/commands/BatchGetTokenBalanceCommand.d.ts +2 -1
- package/dist-types/commands/GetAssetContractCommand.d.ts +2 -1
- package/dist-types/commands/GetTokenBalanceCommand.d.ts +2 -1
- package/dist-types/commands/GetTransactionCommand.d.ts +2 -1
- package/dist-types/commands/ListAssetContractsCommand.d.ts +2 -1
- package/dist-types/commands/ListFilteredTransactionEventsCommand.d.ts +129 -0
- package/dist-types/commands/ListTokenBalancesCommand.d.ts +2 -1
- package/dist-types/commands/ListTransactionEventsCommand.d.ts +13 -4
- package/dist-types/commands/ListTransactionsCommand.d.ts +3 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +450 -253
- package/dist-types/pagination/ListFilteredTransactionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ManagedBlockchainQuery.d.ts +18 -0
- package/dist-types/ts3.4/ManagedBlockchainQueryClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/BatchGetTokenBalanceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAssetContractCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetTokenBalanceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetTransactionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAssetContractsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListFilteredTransactionEventsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTokenBalancesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTransactionEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTransactionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +70 -30
- package/dist-types/ts3.4/pagination/ListFilteredTransactionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +40 -40
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListFilteredTransactionEventsCommandInput, ListFilteredTransactionEventsCommandOutput } from "../commands/ListFilteredTransactionEventsCommand";
|
|
3
|
+
import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListFilteredTransactionEvents: (config: ManagedBlockchainQueryPaginationConfiguration, input: ListFilteredTransactionEventsCommandInput, ...rest: any[]) => Paginator<ListFilteredTransactionEventsCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAssetContractsPaginator";
|
|
3
|
+
export * from "./ListFilteredTransactionEventsPaginator";
|
|
3
4
|
export * from "./ListTokenBalancesPaginator";
|
|
4
5
|
export * from "./ListTransactionEventsPaginator";
|
|
5
6
|
export * from "./ListTransactionsPaginator";
|
|
@@ -5,6 +5,7 @@ import { GetAssetContractCommandInput, GetAssetContractCommandOutput } from "../
|
|
|
5
5
|
import { GetTokenBalanceCommandInput, GetTokenBalanceCommandOutput } from "../commands/GetTokenBalanceCommand";
|
|
6
6
|
import { GetTransactionCommandInput, GetTransactionCommandOutput } from "../commands/GetTransactionCommand";
|
|
7
7
|
import { ListAssetContractsCommandInput, ListAssetContractsCommandOutput } from "../commands/ListAssetContractsCommand";
|
|
8
|
+
import { ListFilteredTransactionEventsCommandInput, ListFilteredTransactionEventsCommandOutput } from "../commands/ListFilteredTransactionEventsCommand";
|
|
8
9
|
import { ListTokenBalancesCommandInput, ListTokenBalancesCommandOutput } from "../commands/ListTokenBalancesCommand";
|
|
9
10
|
import { ListTransactionEventsCommandInput, ListTransactionEventsCommandOutput } from "../commands/ListTransactionEventsCommand";
|
|
10
11
|
import { ListTransactionsCommandInput, ListTransactionsCommandOutput } from "../commands/ListTransactionsCommand";
|
|
@@ -28,6 +29,10 @@ export declare const se_GetTransactionCommand: (input: GetTransactionCommandInpu
|
|
|
28
29
|
* serializeAws_restJson1ListAssetContractsCommand
|
|
29
30
|
*/
|
|
30
31
|
export declare const se_ListAssetContractsCommand: (input: ListAssetContractsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
+
/**
|
|
33
|
+
* serializeAws_restJson1ListFilteredTransactionEventsCommand
|
|
34
|
+
*/
|
|
35
|
+
export declare const se_ListFilteredTransactionEventsCommand: (input: ListFilteredTransactionEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
36
|
/**
|
|
32
37
|
* serializeAws_restJson1ListTokenBalancesCommand
|
|
33
38
|
*/
|
|
@@ -60,6 +65,10 @@ export declare const de_GetTransactionCommand: (output: __HttpResponse, context:
|
|
|
60
65
|
* deserializeAws_restJson1ListAssetContractsCommand
|
|
61
66
|
*/
|
|
62
67
|
export declare const de_ListAssetContractsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetContractsCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* deserializeAws_restJson1ListFilteredTransactionEventsCommand
|
|
70
|
+
*/
|
|
71
|
+
export declare const de_ListFilteredTransactionEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFilteredTransactionEventsCommandOutput>;
|
|
63
72
|
/**
|
|
64
73
|
* deserializeAws_restJson1ListTokenBalancesCommand
|
|
65
74
|
*/
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
ListAssetContractsCommandInput,
|
|
20
20
|
ListAssetContractsCommandOutput,
|
|
21
21
|
} from "./commands/ListAssetContractsCommand";
|
|
22
|
+
import {
|
|
23
|
+
ListFilteredTransactionEventsCommandInput,
|
|
24
|
+
ListFilteredTransactionEventsCommandOutput,
|
|
25
|
+
} from "./commands/ListFilteredTransactionEventsCommand";
|
|
22
26
|
import {
|
|
23
27
|
ListTokenBalancesCommandInput,
|
|
24
28
|
ListTokenBalancesCommandOutput,
|
|
@@ -33,6 +37,7 @@ import {
|
|
|
33
37
|
} from "./commands/ListTransactionsCommand";
|
|
34
38
|
import { ManagedBlockchainQueryClient } from "./ManagedBlockchainQueryClient";
|
|
35
39
|
export interface ManagedBlockchainQuery {
|
|
40
|
+
batchGetTokenBalance(): Promise<BatchGetTokenBalanceCommandOutput>;
|
|
36
41
|
batchGetTokenBalance(
|
|
37
42
|
args: BatchGetTokenBalanceCommandInput,
|
|
38
43
|
options?: __HttpHandlerOptions
|
|
@@ -98,6 +103,19 @@ export interface ManagedBlockchainQuery {
|
|
|
98
103
|
options: __HttpHandlerOptions,
|
|
99
104
|
cb: (err: any, data?: ListAssetContractsCommandOutput) => void
|
|
100
105
|
): void;
|
|
106
|
+
listFilteredTransactionEvents(
|
|
107
|
+
args: ListFilteredTransactionEventsCommandInput,
|
|
108
|
+
options?: __HttpHandlerOptions
|
|
109
|
+
): Promise<ListFilteredTransactionEventsCommandOutput>;
|
|
110
|
+
listFilteredTransactionEvents(
|
|
111
|
+
args: ListFilteredTransactionEventsCommandInput,
|
|
112
|
+
cb: (err: any, data?: ListFilteredTransactionEventsCommandOutput) => void
|
|
113
|
+
): void;
|
|
114
|
+
listFilteredTransactionEvents(
|
|
115
|
+
args: ListFilteredTransactionEventsCommandInput,
|
|
116
|
+
options: __HttpHandlerOptions,
|
|
117
|
+
cb: (err: any, data?: ListFilteredTransactionEventsCommandOutput) => void
|
|
118
|
+
): void;
|
|
101
119
|
listTokenBalances(
|
|
102
120
|
args: ListTokenBalancesCommandInput,
|
|
103
121
|
options?: __HttpHandlerOptions
|
|
@@ -65,6 +65,10 @@ import {
|
|
|
65
65
|
ListAssetContractsCommandInput,
|
|
66
66
|
ListAssetContractsCommandOutput,
|
|
67
67
|
} from "./commands/ListAssetContractsCommand";
|
|
68
|
+
import {
|
|
69
|
+
ListFilteredTransactionEventsCommandInput,
|
|
70
|
+
ListFilteredTransactionEventsCommandOutput,
|
|
71
|
+
} from "./commands/ListFilteredTransactionEventsCommand";
|
|
68
72
|
import {
|
|
69
73
|
ListTokenBalancesCommandInput,
|
|
70
74
|
ListTokenBalancesCommandOutput,
|
|
@@ -90,6 +94,7 @@ export type ServiceInputTypes =
|
|
|
90
94
|
| GetTokenBalanceCommandInput
|
|
91
95
|
| GetTransactionCommandInput
|
|
92
96
|
| ListAssetContractsCommandInput
|
|
97
|
+
| ListFilteredTransactionEventsCommandInput
|
|
93
98
|
| ListTokenBalancesCommandInput
|
|
94
99
|
| ListTransactionEventsCommandInput
|
|
95
100
|
| ListTransactionsCommandInput;
|
|
@@ -99,6 +104,7 @@ export type ServiceOutputTypes =
|
|
|
99
104
|
| GetTokenBalanceCommandOutput
|
|
100
105
|
| GetTransactionCommandOutput
|
|
101
106
|
| ListAssetContractsCommandOutput
|
|
107
|
+
| ListFilteredTransactionEventsCommandOutput
|
|
102
108
|
| ListTokenBalancesCommandOutput
|
|
103
109
|
| ListTransactionEventsCommandOutput
|
|
104
110
|
| ListTransactionsCommandOutput;
|
|
@@ -25,6 +25,15 @@ declare const BatchGetTokenBalanceCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [BatchGetTokenBalanceCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
BatchGetTokenBalanceCommandInput,
|
|
32
|
+
BatchGetTokenBalanceCommandOutput,
|
|
33
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class BatchGetTokenBalanceCommand extends BatchGetTokenBalanceCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const GetAssetContractCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: GetAssetContractCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
GetAssetContractCommandInput,
|
|
31
|
+
GetAssetContractCommandOutput,
|
|
32
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class GetAssetContractCommand extends GetAssetContractCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const GetTokenBalanceCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: GetTokenBalanceCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
GetTokenBalanceCommandInput,
|
|
31
|
+
GetTokenBalanceCommandOutput,
|
|
32
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class GetTokenBalanceCommand extends GetTokenBalanceCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const GetTransactionCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
__0_0: GetTransactionCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
GetTransactionCommandInput,
|
|
28
|
+
GetTransactionCommandOutput,
|
|
29
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class GetTransactionCommand extends GetTransactionCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const ListAssetContractsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListAssetContractsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListAssetContractsCommandInput,
|
|
32
|
+
ListAssetContractsCommandOutput,
|
|
33
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class ListAssetContractsCommand extends ListAssetContractsCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ManagedBlockchainQueryClient";
|
|
8
|
+
import {
|
|
9
|
+
ListFilteredTransactionEventsInput,
|
|
10
|
+
ListFilteredTransactionEventsOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface ListFilteredTransactionEventsCommandInput
|
|
14
|
+
extends ListFilteredTransactionEventsInput {}
|
|
15
|
+
export interface ListFilteredTransactionEventsCommandOutput
|
|
16
|
+
extends ListFilteredTransactionEventsOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListFilteredTransactionEventsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListFilteredTransactionEventsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListFilteredTransactionEventsCommandInput,
|
|
23
|
+
ListFilteredTransactionEventsCommandOutput,
|
|
24
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListFilteredTransactionEventsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListFilteredTransactionEventsCommandInput,
|
|
32
|
+
ListFilteredTransactionEventsCommandOutput,
|
|
33
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListFilteredTransactionEventsCommand extends ListFilteredTransactionEventsCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const ListTokenBalancesCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: ListTokenBalancesCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
ListTokenBalancesCommandInput,
|
|
31
|
+
ListTokenBalancesCommandOutput,
|
|
32
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class ListTokenBalancesCommand extends ListTokenBalancesCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const ListTransactionEventsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: ListTransactionEventsCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListTransactionEventsCommandInput,
|
|
32
|
+
ListTransactionEventsCommandOutput,
|
|
33
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class ListTransactionEventsCommand extends ListTransactionEventsCommand_base {}
|
|
@@ -24,6 +24,15 @@ declare const ListTransactionsCommand_base: {
|
|
|
24
24
|
ServiceInputTypes,
|
|
25
25
|
ServiceOutputTypes
|
|
26
26
|
>;
|
|
27
|
+
new (
|
|
28
|
+
__0_0: ListTransactionsCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
ListTransactionsCommandInput,
|
|
31
|
+
ListTransactionsCommandOutput,
|
|
32
|
+
ManagedBlockchainQueryClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
27
36
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
37
|
};
|
|
29
38
|
export declare class ListTransactionsCommand extends ListTransactionsCommand_base {}
|
|
@@ -3,6 +3,7 @@ export * from "./GetAssetContractCommand";
|
|
|
3
3
|
export * from "./GetTokenBalanceCommand";
|
|
4
4
|
export * from "./GetTransactionCommand";
|
|
5
5
|
export * from "./ListAssetContractsCommand";
|
|
6
|
+
export * from "./ListFilteredTransactionEventsCommand";
|
|
6
7
|
export * from "./ListTokenBalancesCommand";
|
|
7
8
|
export * from "./ListTransactionEventsCommand";
|
|
8
9
|
export * from "./ListTransactionsCommand";
|
|
@@ -7,6 +7,9 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
+
export interface AddressIdentifierFilter {
|
|
11
|
+
transactionEventToAddress: string[] | undefined;
|
|
12
|
+
}
|
|
10
13
|
export declare const QueryNetwork: {
|
|
11
14
|
readonly BITCOIN_MAINNET: "BITCOIN_MAINNET";
|
|
12
15
|
readonly BITCOIN_TESTNET: "BITCOIN_TESTNET";
|
|
@@ -224,34 +227,34 @@ export interface ListAssetContractsOutput {
|
|
|
224
227
|
contracts: AssetContract[] | undefined;
|
|
225
228
|
nextToken?: string;
|
|
226
229
|
}
|
|
227
|
-
export
|
|
228
|
-
|
|
229
|
-
}
|
|
230
|
-
export
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
230
|
+
export declare const ListFilteredTransactionEventsSortBy: {
|
|
231
|
+
readonly blockchainInstant: "blockchainInstant";
|
|
232
|
+
};
|
|
233
|
+
export type ListFilteredTransactionEventsSortBy =
|
|
234
|
+
(typeof ListFilteredTransactionEventsSortBy)[keyof typeof ListFilteredTransactionEventsSortBy];
|
|
235
|
+
export declare const SortOrder: {
|
|
236
|
+
readonly ASCENDING: "ASCENDING";
|
|
237
|
+
readonly DESCENDING: "DESCENDING";
|
|
238
|
+
};
|
|
239
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
240
|
+
export interface ListFilteredTransactionEventsSort {
|
|
241
|
+
sortBy?: ListFilteredTransactionEventsSortBy;
|
|
242
|
+
sortOrder?: SortOrder;
|
|
240
243
|
}
|
|
241
|
-
export interface
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
balance: string | undefined;
|
|
245
|
-
atBlockchainInstant: BlockchainInstant | undefined;
|
|
246
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
244
|
+
export interface TimeFilter {
|
|
245
|
+
from?: BlockchainInstant;
|
|
246
|
+
to?: BlockchainInstant;
|
|
247
247
|
}
|
|
248
|
-
export interface
|
|
249
|
-
|
|
250
|
-
nextToken?: string;
|
|
248
|
+
export interface VoutFilter {
|
|
249
|
+
voutSpent: boolean | undefined;
|
|
251
250
|
}
|
|
252
|
-
export interface
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
export interface ListFilteredTransactionEventsInput {
|
|
252
|
+
network: string | undefined;
|
|
253
|
+
addressIdentifierFilter: AddressIdentifierFilter | undefined;
|
|
254
|
+
timeFilter?: TimeFilter;
|
|
255
|
+
voutFilter?: VoutFilter;
|
|
256
|
+
confirmationStatusFilter?: ConfirmationStatusFilter;
|
|
257
|
+
sort?: ListFilteredTransactionEventsSort;
|
|
255
258
|
nextToken?: string;
|
|
256
259
|
maxResults?: number;
|
|
257
260
|
}
|
|
@@ -281,6 +284,48 @@ export interface TransactionEvent {
|
|
|
281
284
|
tokenId?: string;
|
|
282
285
|
transactionId?: string;
|
|
283
286
|
voutIndex?: number;
|
|
287
|
+
voutSpent?: boolean;
|
|
288
|
+
spentVoutTransactionId?: string;
|
|
289
|
+
spentVoutTransactionHash?: string;
|
|
290
|
+
spentVoutIndex?: number;
|
|
291
|
+
blockchainInstant?: BlockchainInstant;
|
|
292
|
+
confirmationStatus?: ConfirmationStatus;
|
|
293
|
+
}
|
|
294
|
+
export interface ListFilteredTransactionEventsOutput {
|
|
295
|
+
events: TransactionEvent[] | undefined;
|
|
296
|
+
nextToken?: string;
|
|
297
|
+
}
|
|
298
|
+
export interface OwnerFilter {
|
|
299
|
+
address: string | undefined;
|
|
300
|
+
}
|
|
301
|
+
export interface TokenFilter {
|
|
302
|
+
network: QueryNetwork | undefined;
|
|
303
|
+
contractAddress?: string;
|
|
304
|
+
tokenId?: string;
|
|
305
|
+
}
|
|
306
|
+
export interface ListTokenBalancesInput {
|
|
307
|
+
ownerFilter?: OwnerFilter;
|
|
308
|
+
tokenFilter: TokenFilter | undefined;
|
|
309
|
+
nextToken?: string;
|
|
310
|
+
maxResults?: number;
|
|
311
|
+
}
|
|
312
|
+
export interface TokenBalance {
|
|
313
|
+
ownerIdentifier?: OwnerIdentifier;
|
|
314
|
+
tokenIdentifier?: TokenIdentifier;
|
|
315
|
+
balance: string | undefined;
|
|
316
|
+
atBlockchainInstant: BlockchainInstant | undefined;
|
|
317
|
+
lastUpdatedTime?: BlockchainInstant;
|
|
318
|
+
}
|
|
319
|
+
export interface ListTokenBalancesOutput {
|
|
320
|
+
tokenBalances: TokenBalance[] | undefined;
|
|
321
|
+
nextToken?: string;
|
|
322
|
+
}
|
|
323
|
+
export interface ListTransactionEventsInput {
|
|
324
|
+
transactionHash?: string;
|
|
325
|
+
transactionId?: string;
|
|
326
|
+
network: QueryNetwork | undefined;
|
|
327
|
+
nextToken?: string;
|
|
328
|
+
maxResults?: number;
|
|
284
329
|
}
|
|
285
330
|
export interface ListTransactionEventsOutput {
|
|
286
331
|
events: TransactionEvent[] | undefined;
|
|
@@ -291,11 +336,6 @@ export declare const ListTransactionsSortBy: {
|
|
|
291
336
|
};
|
|
292
337
|
export type ListTransactionsSortBy =
|
|
293
338
|
(typeof ListTransactionsSortBy)[keyof typeof ListTransactionsSortBy];
|
|
294
|
-
export declare const SortOrder: {
|
|
295
|
-
readonly ASCENDING: "ASCENDING";
|
|
296
|
-
readonly DESCENDING: "DESCENDING";
|
|
297
|
-
};
|
|
298
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
299
339
|
export interface ListTransactionsSort {
|
|
300
340
|
sortBy?: ListTransactionsSortBy;
|
|
301
341
|
sortOrder?: SortOrder;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFilteredTransactionEventsCommandInput,
|
|
4
|
+
ListFilteredTransactionEventsCommandOutput,
|
|
5
|
+
} from "../commands/ListFilteredTransactionEventsCommand";
|
|
6
|
+
import { ManagedBlockchainQueryPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListFilteredTransactionEvents: (
|
|
8
|
+
config: ManagedBlockchainQueryPaginationConfiguration,
|
|
9
|
+
input: ListFilteredTransactionEventsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFilteredTransactionEventsCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAssetContractsPaginator";
|
|
3
|
+
export * from "./ListFilteredTransactionEventsPaginator";
|
|
3
4
|
export * from "./ListTokenBalancesPaginator";
|
|
4
5
|
export * from "./ListTransactionEventsPaginator";
|
|
5
6
|
export * from "./ListTransactionsPaginator";
|
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
ListAssetContractsCommandInput,
|
|
24
24
|
ListAssetContractsCommandOutput,
|
|
25
25
|
} from "../commands/ListAssetContractsCommand";
|
|
26
|
+
import {
|
|
27
|
+
ListFilteredTransactionEventsCommandInput,
|
|
28
|
+
ListFilteredTransactionEventsCommandOutput,
|
|
29
|
+
} from "../commands/ListFilteredTransactionEventsCommand";
|
|
26
30
|
import {
|
|
27
31
|
ListTokenBalancesCommandInput,
|
|
28
32
|
ListTokenBalancesCommandOutput,
|
|
@@ -55,6 +59,10 @@ export declare const se_ListAssetContractsCommand: (
|
|
|
55
59
|
input: ListAssetContractsCommandInput,
|
|
56
60
|
context: __SerdeContext
|
|
57
61
|
) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const se_ListFilteredTransactionEventsCommand: (
|
|
63
|
+
input: ListFilteredTransactionEventsCommandInput,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<__HttpRequest>;
|
|
58
66
|
export declare const se_ListTokenBalancesCommand: (
|
|
59
67
|
input: ListTokenBalancesCommandInput,
|
|
60
68
|
context: __SerdeContext
|
|
@@ -87,6 +95,10 @@ export declare const de_ListAssetContractsCommand: (
|
|
|
87
95
|
output: __HttpResponse,
|
|
88
96
|
context: __SerdeContext
|
|
89
97
|
) => Promise<ListAssetContractsCommandOutput>;
|
|
98
|
+
export declare const de_ListFilteredTransactionEventsCommand: (
|
|
99
|
+
output: __HttpResponse,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<ListFilteredTransactionEventsCommandOutput>;
|
|
90
102
|
export declare const de_ListTokenBalancesCommand: (
|
|
91
103
|
output: __HttpResponse,
|
|
92
104
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-managedblockchain-query",
|
|
3
3
|
"description": "AWS SDK for JavaScript Managedblockchain Query Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.537.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-managedblockchain-query",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.535.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|