@aws-sdk/client-managedblockchain-query 3.379.1 → 3.385.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/dist-types/models/models_0.d.ts +111 -0
- package/package.json +5 -5
|
@@ -18,6 +18,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
18
18
|
*/
|
|
19
19
|
export interface BlockchainInstant {
|
|
20
20
|
/**
|
|
21
|
+
* @public
|
|
21
22
|
* <p>The container of the <code>Timestamp</code> of the blockchain instant.</p>
|
|
22
23
|
* <note>
|
|
23
24
|
* <p>This <code>timestamp</code> will only be recorded up to
|
|
@@ -32,6 +33,7 @@ export interface BlockchainInstant {
|
|
|
32
33
|
*/
|
|
33
34
|
export interface OwnerIdentifier {
|
|
34
35
|
/**
|
|
36
|
+
* @public
|
|
35
37
|
* <p>The contract or wallet address for the owner.</p>
|
|
36
38
|
*/
|
|
37
39
|
address: string | undefined;
|
|
@@ -64,14 +66,17 @@ export type QueryNetwork = (typeof QueryNetwork)[keyof typeof QueryNetwork];
|
|
|
64
66
|
*/
|
|
65
67
|
export interface TokenIdentifier {
|
|
66
68
|
/**
|
|
69
|
+
* @public
|
|
67
70
|
* <p>The blockchain network of the token.</p>
|
|
68
71
|
*/
|
|
69
72
|
network: QueryNetwork | string | undefined;
|
|
70
73
|
/**
|
|
74
|
+
* @public
|
|
71
75
|
* <p>This is the token's contract address.</p>
|
|
72
76
|
*/
|
|
73
77
|
contractAddress?: string;
|
|
74
78
|
/**
|
|
79
|
+
* @public
|
|
75
80
|
* <p>The unique identifier of the token.</p>
|
|
76
81
|
*/
|
|
77
82
|
tokenId?: string;
|
|
@@ -82,6 +87,7 @@ export interface TokenIdentifier {
|
|
|
82
87
|
*/
|
|
83
88
|
export interface BatchGetTokenBalanceInputItem {
|
|
84
89
|
/**
|
|
90
|
+
* @public
|
|
85
91
|
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
|
|
86
92
|
* <note>
|
|
87
93
|
* <p>Only the native tokens BTC,ETH, and the ERC-20,
|
|
@@ -90,10 +96,12 @@ export interface BatchGetTokenBalanceInputItem {
|
|
|
90
96
|
*/
|
|
91
97
|
tokenIdentifier: TokenIdentifier | undefined;
|
|
92
98
|
/**
|
|
99
|
+
* @public
|
|
93
100
|
* <p>The container for the identifier of the owner.</p>
|
|
94
101
|
*/
|
|
95
102
|
ownerIdentifier: OwnerIdentifier | undefined;
|
|
96
103
|
/**
|
|
104
|
+
* @public
|
|
97
105
|
* <p>The container for time.</p>
|
|
98
106
|
*/
|
|
99
107
|
atBlockchainInstant?: BlockchainInstant;
|
|
@@ -103,6 +111,7 @@ export interface BatchGetTokenBalanceInputItem {
|
|
|
103
111
|
*/
|
|
104
112
|
export interface BatchGetTokenBalanceInput {
|
|
105
113
|
/**
|
|
114
|
+
* @public
|
|
106
115
|
* <p>An array of <code>GetTokenBalanceInput</code> objects whose balance is being requested.</p>
|
|
107
116
|
*/
|
|
108
117
|
getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[];
|
|
@@ -131,6 +140,7 @@ export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
|
|
|
131
140
|
*/
|
|
132
141
|
export interface BatchGetTokenBalanceErrorItem {
|
|
133
142
|
/**
|
|
143
|
+
* @public
|
|
134
144
|
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
|
|
135
145
|
* <note>
|
|
136
146
|
* <p>Only the native tokens BTC,ETH, and the ERC-20,
|
|
@@ -139,22 +149,27 @@ export interface BatchGetTokenBalanceErrorItem {
|
|
|
139
149
|
*/
|
|
140
150
|
tokenIdentifier?: TokenIdentifier;
|
|
141
151
|
/**
|
|
152
|
+
* @public
|
|
142
153
|
* <p>The container for the identifier of the owner.</p>
|
|
143
154
|
*/
|
|
144
155
|
ownerIdentifier?: OwnerIdentifier;
|
|
145
156
|
/**
|
|
157
|
+
* @public
|
|
146
158
|
* <p>The container for time.</p>
|
|
147
159
|
*/
|
|
148
160
|
atBlockchainInstant?: BlockchainInstant;
|
|
149
161
|
/**
|
|
162
|
+
* @public
|
|
150
163
|
* <p>The error code associated with the error.</p>
|
|
151
164
|
*/
|
|
152
165
|
errorCode: string | undefined;
|
|
153
166
|
/**
|
|
167
|
+
* @public
|
|
154
168
|
* <p>The message associated with the error.</p>
|
|
155
169
|
*/
|
|
156
170
|
errorMessage: string | undefined;
|
|
157
171
|
/**
|
|
172
|
+
* @public
|
|
158
173
|
* <p>The type of error.</p>
|
|
159
174
|
*/
|
|
160
175
|
errorType: ErrorType | string | undefined;
|
|
@@ -165,10 +180,12 @@ export interface BatchGetTokenBalanceErrorItem {
|
|
|
165
180
|
*/
|
|
166
181
|
export interface BatchGetTokenBalanceOutputItem {
|
|
167
182
|
/**
|
|
183
|
+
* @public
|
|
168
184
|
* <p>The container for the identifier of the owner.</p>
|
|
169
185
|
*/
|
|
170
186
|
ownerIdentifier?: OwnerIdentifier;
|
|
171
187
|
/**
|
|
188
|
+
* @public
|
|
172
189
|
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
|
|
173
190
|
* <note>
|
|
174
191
|
* <p>Only the native tokens BTC,ETH, and the ERC-20,
|
|
@@ -177,14 +194,17 @@ export interface BatchGetTokenBalanceOutputItem {
|
|
|
177
194
|
*/
|
|
178
195
|
tokenIdentifier?: TokenIdentifier;
|
|
179
196
|
/**
|
|
197
|
+
* @public
|
|
180
198
|
* <p>The container for the token balance.</p>
|
|
181
199
|
*/
|
|
182
200
|
balance: string | undefined;
|
|
183
201
|
/**
|
|
202
|
+
* @public
|
|
184
203
|
* <p>The container for time.</p>
|
|
185
204
|
*/
|
|
186
205
|
atBlockchainInstant: BlockchainInstant | undefined;
|
|
187
206
|
/**
|
|
207
|
+
* @public
|
|
188
208
|
* <p>The container for time.</p>
|
|
189
209
|
*/
|
|
190
210
|
lastUpdatedTime?: BlockchainInstant;
|
|
@@ -194,10 +214,12 @@ export interface BatchGetTokenBalanceOutputItem {
|
|
|
194
214
|
*/
|
|
195
215
|
export interface BatchGetTokenBalanceOutput {
|
|
196
216
|
/**
|
|
217
|
+
* @public
|
|
197
218
|
* <p>An array of <code>BatchGetTokenBalanceOutputItem</code> objects returned by the response.</p>
|
|
198
219
|
*/
|
|
199
220
|
tokenBalances: BatchGetTokenBalanceOutputItem[] | undefined;
|
|
200
221
|
/**
|
|
222
|
+
* @public
|
|
201
223
|
* <p>An array of <code>BatchGetTokenBalanceErrorItem</code> objects returned from the request.</p>
|
|
202
224
|
*/
|
|
203
225
|
errors: BatchGetTokenBalanceErrorItem[] | undefined;
|
|
@@ -211,6 +233,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
211
233
|
readonly $fault: "server";
|
|
212
234
|
$retryable: {};
|
|
213
235
|
/**
|
|
236
|
+
* @public
|
|
214
237
|
* <p>The container of the <code>retryAfterSeconds</code> value.</p>
|
|
215
238
|
*/
|
|
216
239
|
retryAfterSeconds?: number;
|
|
@@ -238,10 +261,12 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
238
261
|
readonly name: "ResourceNotFoundException";
|
|
239
262
|
readonly $fault: "client";
|
|
240
263
|
/**
|
|
264
|
+
* @public
|
|
241
265
|
* <p>The <code>resourceId</code> of the resource that caused the exception.</p>
|
|
242
266
|
*/
|
|
243
267
|
resourceId: string | undefined;
|
|
244
268
|
/**
|
|
269
|
+
* @public
|
|
245
270
|
* <p>The <code>resourceType</code> of the resource that caused the exception.</p>
|
|
246
271
|
*/
|
|
247
272
|
resourceType: ResourceType | string | undefined;
|
|
@@ -258,18 +283,22 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
258
283
|
readonly name: "ServiceQuotaExceededException";
|
|
259
284
|
readonly $fault: "client";
|
|
260
285
|
/**
|
|
286
|
+
* @public
|
|
261
287
|
* <p>The <code>resourceId</code> of the resource that caused the exception.</p>
|
|
262
288
|
*/
|
|
263
289
|
resourceId: string | undefined;
|
|
264
290
|
/**
|
|
291
|
+
* @public
|
|
265
292
|
* <p>The <code>resourceType</code> of the resource that caused the exception.</p>
|
|
266
293
|
*/
|
|
267
294
|
resourceType: ResourceType | string | undefined;
|
|
268
295
|
/**
|
|
296
|
+
* @public
|
|
269
297
|
* <p>The container for the <code>serviceCode</code>.</p>
|
|
270
298
|
*/
|
|
271
299
|
serviceCode: string | undefined;
|
|
272
300
|
/**
|
|
301
|
+
* @public
|
|
273
302
|
* <p>The container for the <code>quotaCode</code>.</p>
|
|
274
303
|
*/
|
|
275
304
|
quotaCode: string | undefined;
|
|
@@ -292,14 +321,17 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
292
321
|
throttling: boolean;
|
|
293
322
|
};
|
|
294
323
|
/**
|
|
324
|
+
* @public
|
|
295
325
|
* <p>The container for the <code>serviceCode</code>.</p>
|
|
296
326
|
*/
|
|
297
327
|
serviceCode: string | undefined;
|
|
298
328
|
/**
|
|
329
|
+
* @public
|
|
299
330
|
* <p>The container for the <code>quotaCode</code>.</p>
|
|
300
331
|
*/
|
|
301
332
|
quotaCode: string | undefined;
|
|
302
333
|
/**
|
|
334
|
+
* @public
|
|
303
335
|
* <p>The container of the <code>retryAfterSeconds</code> value.</p>
|
|
304
336
|
*/
|
|
305
337
|
retryAfterSeconds?: number;
|
|
@@ -314,10 +346,12 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
314
346
|
*/
|
|
315
347
|
export interface ValidationExceptionField {
|
|
316
348
|
/**
|
|
349
|
+
* @public
|
|
317
350
|
* <p>The name of the field that triggered the <code>ValidationException</code>.</p>
|
|
318
351
|
*/
|
|
319
352
|
name: string | undefined;
|
|
320
353
|
/**
|
|
354
|
+
* @public
|
|
321
355
|
* <p>The <code>ValidationException</code> message.</p>
|
|
322
356
|
*/
|
|
323
357
|
message: string | undefined;
|
|
@@ -344,10 +378,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
344
378
|
readonly name: "ValidationException";
|
|
345
379
|
readonly $fault: "client";
|
|
346
380
|
/**
|
|
381
|
+
* @public
|
|
347
382
|
* <p>The container for the reason for the exception</p>
|
|
348
383
|
*/
|
|
349
384
|
reason: ValidationExceptionReason | string | undefined;
|
|
350
385
|
/**
|
|
386
|
+
* @public
|
|
351
387
|
* <p>The container for the <code>fieldList</code> of the exception.</p>
|
|
352
388
|
*/
|
|
353
389
|
fieldList?: ValidationExceptionField[];
|
|
@@ -361,15 +397,18 @@ export declare class ValidationException extends __BaseException {
|
|
|
361
397
|
*/
|
|
362
398
|
export interface GetTokenBalanceInput {
|
|
363
399
|
/**
|
|
400
|
+
* @public
|
|
364
401
|
* <p>The container for the identifier for the token, including the unique
|
|
365
402
|
* token ID and its blockchain network.</p>
|
|
366
403
|
*/
|
|
367
404
|
tokenIdentifier: TokenIdentifier | undefined;
|
|
368
405
|
/**
|
|
406
|
+
* @public
|
|
369
407
|
* <p>The container for the identifier for the owner.</p>
|
|
370
408
|
*/
|
|
371
409
|
ownerIdentifier: OwnerIdentifier | undefined;
|
|
372
410
|
/**
|
|
411
|
+
* @public
|
|
373
412
|
* <p>The time for when the TokenBalance is requested or
|
|
374
413
|
* the current time if a time is not provided in the request.</p>
|
|
375
414
|
* <note>
|
|
@@ -383,10 +422,12 @@ export interface GetTokenBalanceInput {
|
|
|
383
422
|
*/
|
|
384
423
|
export interface GetTokenBalanceOutput {
|
|
385
424
|
/**
|
|
425
|
+
* @public
|
|
386
426
|
* <p>The container for the identifier of the owner.</p>
|
|
387
427
|
*/
|
|
388
428
|
ownerIdentifier?: OwnerIdentifier;
|
|
389
429
|
/**
|
|
430
|
+
* @public
|
|
390
431
|
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
|
|
391
432
|
* <note>
|
|
392
433
|
* <p>Only the native tokens BTC,ETH, and the ERC-20,
|
|
@@ -395,14 +436,17 @@ export interface GetTokenBalanceOutput {
|
|
|
395
436
|
*/
|
|
396
437
|
tokenIdentifier?: TokenIdentifier;
|
|
397
438
|
/**
|
|
439
|
+
* @public
|
|
398
440
|
* <p>The container for the token balance.</p>
|
|
399
441
|
*/
|
|
400
442
|
balance: string | undefined;
|
|
401
443
|
/**
|
|
444
|
+
* @public
|
|
402
445
|
* <p>The container for time.</p>
|
|
403
446
|
*/
|
|
404
447
|
atBlockchainInstant: BlockchainInstant | undefined;
|
|
405
448
|
/**
|
|
449
|
+
* @public
|
|
406
450
|
* <p>The container for time.</p>
|
|
407
451
|
*/
|
|
408
452
|
lastUpdatedTime?: BlockchainInstant;
|
|
@@ -412,10 +456,12 @@ export interface GetTokenBalanceOutput {
|
|
|
412
456
|
*/
|
|
413
457
|
export interface GetTransactionInput {
|
|
414
458
|
/**
|
|
459
|
+
* @public
|
|
415
460
|
* <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
416
461
|
*/
|
|
417
462
|
transactionHash: string | undefined;
|
|
418
463
|
/**
|
|
464
|
+
* @public
|
|
419
465
|
* <p>The blockchain network where the transaction occurred.</p>
|
|
420
466
|
*/
|
|
421
467
|
network: QueryNetwork | string | undefined;
|
|
@@ -456,81 +502,100 @@ export type QueryTransactionStatus = (typeof QueryTransactionStatus)[keyof typeo
|
|
|
456
502
|
*/
|
|
457
503
|
export interface Transaction {
|
|
458
504
|
/**
|
|
505
|
+
* @public
|
|
459
506
|
* <p>The blockchain network where the transaction occured.</p>
|
|
460
507
|
*/
|
|
461
508
|
network: QueryNetwork | string | undefined;
|
|
462
509
|
/**
|
|
510
|
+
* @public
|
|
463
511
|
* <p>The block hash is a unique identifier for a block. It is a fixed-size
|
|
464
512
|
* string that is calculated by using the information in the block. The block
|
|
465
513
|
* hash is used to verify the integrity of the data in the block.</p>
|
|
466
514
|
*/
|
|
467
515
|
blockHash?: string;
|
|
468
516
|
/**
|
|
517
|
+
* @public
|
|
469
518
|
* <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
470
519
|
*/
|
|
471
520
|
transactionHash: string | undefined;
|
|
472
521
|
/**
|
|
522
|
+
* @public
|
|
473
523
|
* <p>The block number in which the transaction is recorded.</p>
|
|
474
524
|
*/
|
|
475
525
|
blockNumber?: string;
|
|
476
526
|
/**
|
|
527
|
+
* @public
|
|
477
528
|
* <p>The <code>Timestamp</code> of the transaction. </p>
|
|
478
529
|
*/
|
|
479
530
|
transactionTimestamp: Date | undefined;
|
|
480
531
|
/**
|
|
532
|
+
* @public
|
|
481
533
|
* <p>The index of the transaction within a blockchain.</p>
|
|
482
534
|
*/
|
|
483
535
|
transactionIndex: number | undefined;
|
|
484
536
|
/**
|
|
537
|
+
* @public
|
|
485
538
|
* <p>The number of transactions in the block.</p>
|
|
486
539
|
*/
|
|
487
540
|
numberOfTransactions: number | undefined;
|
|
488
541
|
/**
|
|
542
|
+
* @public
|
|
489
543
|
* <p>The status of the transaction.</p>
|
|
490
544
|
*/
|
|
491
545
|
status: QueryTransactionStatus | string | undefined;
|
|
492
546
|
/**
|
|
547
|
+
* @public
|
|
493
548
|
* <p>The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
494
549
|
*/
|
|
495
550
|
to: string | undefined;
|
|
496
551
|
/**
|
|
552
|
+
* @public
|
|
497
553
|
* <p>The initiator of the transaction. It is either in the form a public key or a
|
|
498
554
|
* contract address.</p>
|
|
499
555
|
*/
|
|
500
556
|
from?: string;
|
|
501
557
|
/**
|
|
558
|
+
* @public
|
|
502
559
|
* <p>The blockchain address for the contract.</p>
|
|
503
560
|
*/
|
|
504
561
|
contractAddress?: string;
|
|
505
562
|
/**
|
|
563
|
+
* @public
|
|
506
564
|
* <p>The amount of gas used for the transaction.</p>
|
|
507
565
|
*/
|
|
508
566
|
gasUsed?: string;
|
|
509
567
|
/**
|
|
568
|
+
* @public
|
|
510
569
|
* <p>The amount of gas used up to the specified point in the block.</p>
|
|
511
570
|
*/
|
|
512
571
|
cumulativeGasUsed?: string;
|
|
513
572
|
/**
|
|
573
|
+
* @public
|
|
514
574
|
* <p>The effective gas price.</p>
|
|
515
575
|
*/
|
|
516
576
|
effectiveGasPrice?: string;
|
|
517
577
|
/**
|
|
578
|
+
* @public
|
|
518
579
|
* <p>The signature of the transaction. The Z coordinate of a point V.</p>
|
|
519
580
|
*/
|
|
520
581
|
signatureV?: number;
|
|
521
582
|
/**
|
|
583
|
+
* @public
|
|
522
584
|
* <p>The signature of the transaction. The X coordinate of a point R.</p>
|
|
523
585
|
*/
|
|
524
586
|
signatureR?: string;
|
|
525
587
|
/**
|
|
588
|
+
* @public
|
|
526
589
|
* <p>The signature of the transaction. The Y coordinate of a point S.</p>
|
|
527
590
|
*/
|
|
528
591
|
signatureS?: string;
|
|
529
592
|
/**
|
|
593
|
+
* @public
|
|
530
594
|
* <p>The transaction fee.</p>
|
|
531
595
|
*/
|
|
532
596
|
transactionFee?: string;
|
|
533
597
|
/**
|
|
598
|
+
* @public
|
|
534
599
|
* <p>The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
535
600
|
*/
|
|
536
601
|
transactionId?: string;
|
|
@@ -540,6 +605,7 @@ export interface Transaction {
|
|
|
540
605
|
*/
|
|
541
606
|
export interface GetTransactionOutput {
|
|
542
607
|
/**
|
|
608
|
+
* @public
|
|
543
609
|
* <p>Contains the details of the transaction.</p>
|
|
544
610
|
*/
|
|
545
611
|
transaction: Transaction | undefined;
|
|
@@ -550,6 +616,7 @@ export interface GetTransactionOutput {
|
|
|
550
616
|
*/
|
|
551
617
|
export interface OwnerFilter {
|
|
552
618
|
/**
|
|
619
|
+
* @public
|
|
553
620
|
* <p>The contract or wallet address.</p>
|
|
554
621
|
*/
|
|
555
622
|
address: string | undefined;
|
|
@@ -566,14 +633,17 @@ export interface OwnerFilter {
|
|
|
566
633
|
*/
|
|
567
634
|
export interface TokenFilter {
|
|
568
635
|
/**
|
|
636
|
+
* @public
|
|
569
637
|
* <p>The blockchain network of the token.</p>
|
|
570
638
|
*/
|
|
571
639
|
network: QueryNetwork | string | undefined;
|
|
572
640
|
/**
|
|
641
|
+
* @public
|
|
573
642
|
* <p>This is the address of the contract.</p>
|
|
574
643
|
*/
|
|
575
644
|
contractAddress?: string;
|
|
576
645
|
/**
|
|
646
|
+
* @public
|
|
577
647
|
* <p>The unique identifier of the token.</p>
|
|
578
648
|
*/
|
|
579
649
|
tokenId?: string;
|
|
@@ -583,12 +653,14 @@ export interface TokenFilter {
|
|
|
583
653
|
*/
|
|
584
654
|
export interface ListTokenBalancesInput {
|
|
585
655
|
/**
|
|
656
|
+
* @public
|
|
586
657
|
* <p>The contract or wallet address on the blockchain network by which to filter the
|
|
587
658
|
* request. You must specify the <code>address</code> property of the <code>ownerFilter</code>
|
|
588
659
|
* when listing balances of tokens owned by the address.</p>
|
|
589
660
|
*/
|
|
590
661
|
ownerFilter?: OwnerFilter;
|
|
591
662
|
/**
|
|
663
|
+
* @public
|
|
592
664
|
* <p>The contract address or a token identifier on the
|
|
593
665
|
* blockchain network by which to filter the request. You must specify the contractAddress
|
|
594
666
|
* property of this container when listing tokens minted by a contract.</p>
|
|
@@ -599,10 +671,12 @@ export interface ListTokenBalancesInput {
|
|
|
599
671
|
*/
|
|
600
672
|
tokenFilter: TokenFilter | undefined;
|
|
601
673
|
/**
|
|
674
|
+
* @public
|
|
602
675
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
603
676
|
*/
|
|
604
677
|
nextToken?: string;
|
|
605
678
|
/**
|
|
679
|
+
* @public
|
|
606
680
|
* <p>The maximum number of token balances to return.</p>
|
|
607
681
|
*/
|
|
608
682
|
maxResults?: number;
|
|
@@ -613,18 +687,22 @@ export interface ListTokenBalancesInput {
|
|
|
613
687
|
*/
|
|
614
688
|
export interface TokenBalance {
|
|
615
689
|
/**
|
|
690
|
+
* @public
|
|
616
691
|
* <p>The container for the identifier of the owner.</p>
|
|
617
692
|
*/
|
|
618
693
|
ownerIdentifier?: OwnerIdentifier;
|
|
619
694
|
/**
|
|
695
|
+
* @public
|
|
620
696
|
* <p>The identifier for the token, including the unique token ID and its blockchain network.</p>
|
|
621
697
|
*/
|
|
622
698
|
tokenIdentifier?: TokenIdentifier;
|
|
623
699
|
/**
|
|
700
|
+
* @public
|
|
624
701
|
* <p>The container of the token balance.</p>
|
|
625
702
|
*/
|
|
626
703
|
balance: string | undefined;
|
|
627
704
|
/**
|
|
705
|
+
* @public
|
|
628
706
|
* <p>The time for when the TokenBalance is requested or
|
|
629
707
|
* the current time if a time is not provided in the request.</p>
|
|
630
708
|
* <note>
|
|
@@ -633,6 +711,7 @@ export interface TokenBalance {
|
|
|
633
711
|
*/
|
|
634
712
|
atBlockchainInstant: BlockchainInstant | undefined;
|
|
635
713
|
/**
|
|
714
|
+
* @public
|
|
636
715
|
* <p>The <code>timestamp</code> of the last transaction at which the balance for the token in the wallet was updated.</p>
|
|
637
716
|
*/
|
|
638
717
|
lastUpdatedTime?: BlockchainInstant;
|
|
@@ -642,11 +721,13 @@ export interface TokenBalance {
|
|
|
642
721
|
*/
|
|
643
722
|
export interface ListTokenBalancesOutput {
|
|
644
723
|
/**
|
|
724
|
+
* @public
|
|
645
725
|
* <p>An array of <code>TokenBalance</code> objects. Each object contains details about
|
|
646
726
|
* the token balance.</p>
|
|
647
727
|
*/
|
|
648
728
|
tokenBalances: TokenBalance[] | undefined;
|
|
649
729
|
/**
|
|
730
|
+
* @public
|
|
650
731
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
651
732
|
*/
|
|
652
733
|
nextToken?: string;
|
|
@@ -656,18 +737,22 @@ export interface ListTokenBalancesOutput {
|
|
|
656
737
|
*/
|
|
657
738
|
export interface ListTransactionEventsInput {
|
|
658
739
|
/**
|
|
740
|
+
* @public
|
|
659
741
|
* <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
660
742
|
*/
|
|
661
743
|
transactionHash: string | undefined;
|
|
662
744
|
/**
|
|
745
|
+
* @public
|
|
663
746
|
* <p>The blockchain network where the transaction events occurred.</p>
|
|
664
747
|
*/
|
|
665
748
|
network: QueryNetwork | string | undefined;
|
|
666
749
|
/**
|
|
750
|
+
* @public
|
|
667
751
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
668
752
|
*/
|
|
669
753
|
nextToken?: string;
|
|
670
754
|
/**
|
|
755
|
+
* @public
|
|
671
756
|
* <p>The maximum number of transaction events to list.</p>
|
|
672
757
|
* <note>
|
|
673
758
|
* <p>Even if additional results can be retrieved, the request can return less
|
|
@@ -739,42 +824,52 @@ export type QueryTransactionEventType = (typeof QueryTransactionEventType)[keyof
|
|
|
739
824
|
*/
|
|
740
825
|
export interface TransactionEvent {
|
|
741
826
|
/**
|
|
827
|
+
* @public
|
|
742
828
|
* <p>The blockchain network where the transaction occurred.</p>
|
|
743
829
|
*/
|
|
744
830
|
network: QueryNetwork | string | undefined;
|
|
745
831
|
/**
|
|
832
|
+
* @public
|
|
746
833
|
* <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
747
834
|
*/
|
|
748
835
|
transactionHash: string | undefined;
|
|
749
836
|
/**
|
|
837
|
+
* @public
|
|
750
838
|
* <p>The type of transaction event.</p>
|
|
751
839
|
*/
|
|
752
840
|
eventType: QueryTransactionEventType | string | undefined;
|
|
753
841
|
/**
|
|
842
|
+
* @public
|
|
754
843
|
* <p>The wallet address initiating the transaction. It can either be a public key or a contract.</p>
|
|
755
844
|
*/
|
|
756
845
|
from?: string;
|
|
757
846
|
/**
|
|
847
|
+
* @public
|
|
758
848
|
* <p>The wallet address receiving the transaction. It can either be a public key or a contract.</p>
|
|
759
849
|
*/
|
|
760
850
|
to?: string;
|
|
761
851
|
/**
|
|
852
|
+
* @public
|
|
762
853
|
* <p>The value that was transacted.</p>
|
|
763
854
|
*/
|
|
764
855
|
value?: string;
|
|
765
856
|
/**
|
|
857
|
+
* @public
|
|
766
858
|
* <p>The blockchain address. for the contract</p>
|
|
767
859
|
*/
|
|
768
860
|
contractAddress?: string;
|
|
769
861
|
/**
|
|
862
|
+
* @public
|
|
770
863
|
* <p>The unique identifier for the token involved in the transaction.</p>
|
|
771
864
|
*/
|
|
772
865
|
tokenId?: string;
|
|
773
866
|
/**
|
|
867
|
+
* @public
|
|
774
868
|
* <p>The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
775
869
|
*/
|
|
776
870
|
transactionId?: string;
|
|
777
871
|
/**
|
|
872
|
+
* @public
|
|
778
873
|
* <p>The position of the vout in the transaction output list.</p>
|
|
779
874
|
*/
|
|
780
875
|
voutIndex?: number;
|
|
@@ -784,11 +879,13 @@ export interface TransactionEvent {
|
|
|
784
879
|
*/
|
|
785
880
|
export interface ListTransactionEventsOutput {
|
|
786
881
|
/**
|
|
882
|
+
* @public
|
|
787
883
|
* <p>An array of <code>TransactionEvent</code> objects. Each object contains details
|
|
788
884
|
* about the transaction events.</p>
|
|
789
885
|
*/
|
|
790
886
|
events: TransactionEvent[] | undefined;
|
|
791
887
|
/**
|
|
888
|
+
* @public
|
|
792
889
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
793
890
|
*/
|
|
794
891
|
nextToken?: string;
|
|
@@ -832,10 +929,12 @@ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
|
832
929
|
*/
|
|
833
930
|
export interface ListTransactionsSort {
|
|
834
931
|
/**
|
|
932
|
+
* @public
|
|
835
933
|
* <p>Defaults to the value <code>TRANSACTION_TIMESTAMP</code>.</p>
|
|
836
934
|
*/
|
|
837
935
|
sortBy?: ListTransactionsSortBy | string;
|
|
838
936
|
/**
|
|
937
|
+
* @public
|
|
839
938
|
* <p>The container for the <i>sort order</i> for <code>ListTransactions</code>.
|
|
840
939
|
* The <code>SortOrder</code> field only accepts the values <code>ASCENDING</code>
|
|
841
940
|
* and <code>DESCENDING</code>. Not providing <code>SortOrder</code> will default
|
|
@@ -848,31 +947,38 @@ export interface ListTransactionsSort {
|
|
|
848
947
|
*/
|
|
849
948
|
export interface ListTransactionsInput {
|
|
850
949
|
/**
|
|
950
|
+
* @public
|
|
851
951
|
* <p>The address (either a contract or wallet), whose transactions are being requested.</p>
|
|
852
952
|
*/
|
|
853
953
|
address: string | undefined;
|
|
854
954
|
/**
|
|
955
|
+
* @public
|
|
855
956
|
* <p>The blockchain network where the transactions occurred.</p>
|
|
856
957
|
*/
|
|
857
958
|
network: QueryNetwork | string | undefined;
|
|
858
959
|
/**
|
|
960
|
+
* @public
|
|
859
961
|
* <p>The container for time.</p>
|
|
860
962
|
*/
|
|
861
963
|
fromBlockchainInstant?: BlockchainInstant;
|
|
862
964
|
/**
|
|
965
|
+
* @public
|
|
863
966
|
* <p>The container for time.</p>
|
|
864
967
|
*/
|
|
865
968
|
toBlockchainInstant?: BlockchainInstant;
|
|
866
969
|
/**
|
|
970
|
+
* @public
|
|
867
971
|
* <p>Sorts items in an ascending order if the first page starts at <code>fromTime</code>.
|
|
868
972
|
* Sorts items in a descending order if the first page starts at <code>toTime</code>.</p>
|
|
869
973
|
*/
|
|
870
974
|
sort?: ListTransactionsSort;
|
|
871
975
|
/**
|
|
976
|
+
* @public
|
|
872
977
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
873
978
|
*/
|
|
874
979
|
nextToken?: string;
|
|
875
980
|
/**
|
|
981
|
+
* @public
|
|
876
982
|
* <p>The maximum number of transactions to list.</p>
|
|
877
983
|
* <note>
|
|
878
984
|
* <p>Even if additional results can be retrieved, the request can return less
|
|
@@ -890,14 +996,17 @@ export interface ListTransactionsInput {
|
|
|
890
996
|
*/
|
|
891
997
|
export interface TransactionOutputItem {
|
|
892
998
|
/**
|
|
999
|
+
* @public
|
|
893
1000
|
* <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
|
|
894
1001
|
*/
|
|
895
1002
|
transactionHash: string | undefined;
|
|
896
1003
|
/**
|
|
1004
|
+
* @public
|
|
897
1005
|
* <p>The blockchain network where the transaction occurred.</p>
|
|
898
1006
|
*/
|
|
899
1007
|
network: QueryNetwork | string | undefined;
|
|
900
1008
|
/**
|
|
1009
|
+
* @public
|
|
901
1010
|
* <p>The time when the transaction occurred.</p>
|
|
902
1011
|
*/
|
|
903
1012
|
transactionTimestamp: Date | undefined;
|
|
@@ -907,10 +1016,12 @@ export interface TransactionOutputItem {
|
|
|
907
1016
|
*/
|
|
908
1017
|
export interface ListTransactionsOutput {
|
|
909
1018
|
/**
|
|
1019
|
+
* @public
|
|
910
1020
|
* <p>The array of transactions returned by the request.</p>
|
|
911
1021
|
*/
|
|
912
1022
|
transactions: TransactionOutputItem[] | undefined;
|
|
913
1023
|
/**
|
|
1024
|
+
* @public
|
|
914
1025
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
915
1026
|
*/
|
|
916
1027
|
nextToken?: string;
|
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.385.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.385.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.385.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|