@aws-sdk/client-managedblockchain-query 3.533.0 → 3.535.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.
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ManagedBlockchainQueryServiceException as __BaseException } from "./ManagedBlockchainQueryServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>The Amazon Web Services account doesn’t have access to this resource. </p>
5
+ * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
@@ -39,18 +39,18 @@ export declare const QueryNetwork: {
39
39
  */
40
40
  export type QueryNetwork = (typeof QueryNetwork)[keyof typeof QueryNetwork];
41
41
  /**
42
- * @public
43
42
  * <p>Container for the blockchain address and network information about a contract.</p>
43
+ * @public
44
44
  */
45
45
  export interface ContractIdentifier {
46
46
  /**
47
- * @public
48
47
  * <p>The blockchain network of the contract.</p>
48
+ * @public
49
49
  */
50
50
  network: QueryNetwork | undefined;
51
51
  /**
52
- * @public
53
52
  * <p>Container for the blockchain address about a contract.</p>
53
+ * @public
54
54
  */
55
55
  contractAddress: string | undefined;
56
56
  }
@@ -68,105 +68,105 @@ export declare const QueryTokenStandard: {
68
68
  */
69
69
  export type QueryTokenStandard = (typeof QueryTokenStandard)[keyof typeof QueryTokenStandard];
70
70
  /**
71
- * @public
72
71
  * <p>This container contains information about an contract.</p>
72
+ * @public
73
73
  */
74
74
  export interface AssetContract {
75
75
  /**
76
- * @public
77
76
  * <p>The container for the contract identifier containing its blockchain network
78
77
  * and address.</p>
78
+ * @public
79
79
  */
80
80
  contractIdentifier: ContractIdentifier | undefined;
81
81
  /**
82
- * @public
83
82
  * <p>The token standard of the contract.</p>
83
+ * @public
84
84
  */
85
85
  tokenStandard: QueryTokenStandard | undefined;
86
86
  /**
87
- * @public
88
87
  * <p>The address of the contract deployer.</p>
88
+ * @public
89
89
  */
90
90
  deployerAddress: string | undefined;
91
91
  }
92
92
  /**
93
- * @public
94
93
  * <p>The container for time.</p>
94
+ * @public
95
95
  */
96
96
  export interface BlockchainInstant {
97
97
  /**
98
- * @public
99
98
  * <p>The container of the <code>Timestamp</code> of the blockchain instant.</p>
100
99
  * <note>
101
100
  * <p>This <code>timestamp</code> will only be recorded up to
102
101
  * the second.</p>
103
102
  * </note>
103
+ * @public
104
104
  */
105
105
  time?: Date;
106
106
  }
107
107
  /**
108
- * @public
109
108
  * <p>The container for the identifier of the owner.</p>
109
+ * @public
110
110
  */
111
111
  export interface OwnerIdentifier {
112
112
  /**
113
- * @public
114
113
  * <p>The contract or wallet address for the owner.</p>
114
+ * @public
115
115
  */
116
116
  address: string | undefined;
117
117
  }
118
118
  /**
119
- * @public
120
119
  * <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
121
120
  * <note>
122
121
  * <p>Only the native tokens BTC and ETH, and the ERC-20,
123
122
  * ERC-721, and ERC 1155 token standards are supported.</p>
124
123
  * </note>
124
+ * @public
125
125
  */
126
126
  export interface TokenIdentifier {
127
127
  /**
128
- * @public
129
128
  * <p>The blockchain network of the token.</p>
129
+ * @public
130
130
  */
131
131
  network: QueryNetwork | undefined;
132
132
  /**
133
- * @public
134
133
  * <p>This is the token's contract address.</p>
134
+ * @public
135
135
  */
136
136
  contractAddress?: string;
137
137
  /**
138
- * @public
139
138
  * <p>The unique identifier of the token.</p>
140
139
  * <note>
141
140
  * <p>For native tokens, use the 3 character abbreviation that best matches your token.
142
141
  * For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must
143
142
  * specify the <code>tokenId</code> in the 64 character hexadecimal <code>tokenid</code> format.</p>
144
143
  * </note>
144
+ * @public
145
145
  */
146
146
  tokenId?: string;
147
147
  }
148
148
  /**
149
- * @public
150
149
  * <p>The container for the input for getting a token balance.</p>
150
+ * @public
151
151
  */
152
152
  export interface BatchGetTokenBalanceInputItem {
153
153
  /**
154
- * @public
155
154
  * <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
156
155
  * <note>
157
156
  * <p>Only the native tokens BTC and ETH, and the ERC-20,
158
157
  * ERC-721, and ERC 1155 token standards are supported.</p>
159
158
  * </note>
159
+ * @public
160
160
  */
161
161
  tokenIdentifier: TokenIdentifier | undefined;
162
162
  /**
163
- * @public
164
163
  * <p>The container for the identifier of the owner.</p>
164
+ * @public
165
165
  */
166
166
  ownerIdentifier: OwnerIdentifier | undefined;
167
167
  /**
168
- * @public
169
168
  * <p>The container for time.</p>
169
+ * @public
170
170
  */
171
171
  atBlockchainInstant?: BlockchainInstant;
172
172
  }
@@ -175,8 +175,8 @@ export interface BatchGetTokenBalanceInputItem {
175
175
  */
176
176
  export interface BatchGetTokenBalanceInput {
177
177
  /**
178
- * @public
179
178
  * <p>An array of <code>BatchGetTokenBalanceInputItem</code> objects whose balance is being requested.</p>
179
+ * @public
180
180
  */
181
181
  getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[];
182
182
  }
@@ -199,77 +199,77 @@ export declare const ErrorType: {
199
199
  */
200
200
  export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
201
201
  /**
202
- * @public
203
202
  * <p>Error generated from a failed <code>BatchGetTokenBalance</code> request.</p>
203
+ * @public
204
204
  */
205
205
  export interface BatchGetTokenBalanceErrorItem {
206
206
  /**
207
- * @public
208
207
  * <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
209
208
  * <note>
210
209
  * <p>Only the native tokens BTC and ETH, and the ERC-20,
211
210
  * ERC-721, and ERC 1155 token standards are supported.</p>
212
211
  * </note>
212
+ * @public
213
213
  */
214
214
  tokenIdentifier?: TokenIdentifier;
215
215
  /**
216
- * @public
217
216
  * <p>The container for the identifier of the owner.</p>
217
+ * @public
218
218
  */
219
219
  ownerIdentifier?: OwnerIdentifier;
220
220
  /**
221
- * @public
222
221
  * <p>The container for time.</p>
222
+ * @public
223
223
  */
224
224
  atBlockchainInstant?: BlockchainInstant;
225
225
  /**
226
- * @public
227
226
  * <p>The error code associated with the error.</p>
227
+ * @public
228
228
  */
229
229
  errorCode: string | undefined;
230
230
  /**
231
- * @public
232
231
  * <p>The message associated with the error.</p>
232
+ * @public
233
233
  */
234
234
  errorMessage: string | undefined;
235
235
  /**
236
- * @public
237
236
  * <p>The type of error.</p>
237
+ * @public
238
238
  */
239
239
  errorType: ErrorType | undefined;
240
240
  }
241
241
  /**
242
- * @public
243
242
  * <p>The container for the properties of a token balance output.</p>
243
+ * @public
244
244
  */
245
245
  export interface BatchGetTokenBalanceOutputItem {
246
246
  /**
247
- * @public
248
247
  * <p>The container for the identifier of the owner.</p>
248
+ * @public
249
249
  */
250
250
  ownerIdentifier?: OwnerIdentifier;
251
251
  /**
252
- * @public
253
252
  * <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
254
253
  * <note>
255
254
  * <p>Only the native tokens BTC and ETH, and the ERC-20,
256
255
  * ERC-721, and ERC 1155 token standards are supported.</p>
257
256
  * </note>
257
+ * @public
258
258
  */
259
259
  tokenIdentifier?: TokenIdentifier;
260
260
  /**
261
- * @public
262
261
  * <p>The container for the token balance.</p>
262
+ * @public
263
263
  */
264
264
  balance: string | undefined;
265
265
  /**
266
- * @public
267
266
  * <p>The container for time.</p>
267
+ * @public
268
268
  */
269
269
  atBlockchainInstant: BlockchainInstant | undefined;
270
270
  /**
271
- * @public
272
271
  * <p>The container for time.</p>
272
+ * @public
273
273
  */
274
274
  lastUpdatedTime?: BlockchainInstant;
275
275
  }
@@ -278,27 +278,27 @@ export interface BatchGetTokenBalanceOutputItem {
278
278
  */
279
279
  export interface BatchGetTokenBalanceOutput {
280
280
  /**
281
- * @public
282
281
  * <p>An array of <code>BatchGetTokenBalanceOutputItem</code> objects returned by the response.</p>
282
+ * @public
283
283
  */
284
284
  tokenBalances: BatchGetTokenBalanceOutputItem[] | undefined;
285
285
  /**
286
- * @public
287
286
  * <p>An array of <code>BatchGetTokenBalanceErrorItem</code> objects returned from the request.</p>
287
+ * @public
288
288
  */
289
289
  errors: BatchGetTokenBalanceErrorItem[] | undefined;
290
290
  }
291
291
  /**
292
- * @public
293
292
  * <p>The request processing has failed because of an internal error in the service.</p>
293
+ * @public
294
294
  */
295
295
  export declare class InternalServerException extends __BaseException {
296
296
  readonly name: "InternalServerException";
297
297
  readonly $fault: "server";
298
298
  $retryable: {};
299
299
  /**
300
- * @public
301
300
  * <p>The container of the <code>retryAfterSeconds</code> value.</p>
301
+ * @public
302
302
  */
303
303
  retryAfterSeconds?: number;
304
304
  /**
@@ -318,20 +318,20 @@ export declare const ResourceType: {
318
318
  */
319
319
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
320
320
  /**
321
- * @public
322
321
  * <p>The resource was not found.</p>
322
+ * @public
323
323
  */
324
324
  export declare class ResourceNotFoundException extends __BaseException {
325
325
  readonly name: "ResourceNotFoundException";
326
326
  readonly $fault: "client";
327
327
  /**
328
- * @public
329
328
  * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
329
+ * @public
330
330
  */
331
331
  resourceId: string | undefined;
332
332
  /**
333
- * @public
334
333
  * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
334
+ * @public
335
335
  */
336
336
  resourceType: ResourceType | undefined;
337
337
  /**
@@ -340,30 +340,30 @@ export declare class ResourceNotFoundException extends __BaseException {
340
340
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
341
341
  }
342
342
  /**
343
- * @public
344
343
  * <p>The service quota has been exceeded for this resource.</p>
344
+ * @public
345
345
  */
346
346
  export declare class ServiceQuotaExceededException extends __BaseException {
347
347
  readonly name: "ServiceQuotaExceededException";
348
348
  readonly $fault: "client";
349
349
  /**
350
- * @public
351
350
  * <p>The <code>resourceId</code> of the resource that caused the exception.</p>
351
+ * @public
352
352
  */
353
353
  resourceId: string | undefined;
354
354
  /**
355
- * @public
356
355
  * <p>The <code>resourceType</code> of the resource that caused the exception.</p>
356
+ * @public
357
357
  */
358
358
  resourceType: ResourceType | undefined;
359
359
  /**
360
- * @public
361
360
  * <p>The container for the <code>serviceCode</code>.</p>
361
+ * @public
362
362
  */
363
363
  serviceCode: string | undefined;
364
364
  /**
365
- * @public
366
365
  * <p>The container for the <code>quotaCode</code>.</p>
366
+ * @public
367
367
  */
368
368
  quotaCode: string | undefined;
369
369
  /**
@@ -372,11 +372,11 @@ export declare class ServiceQuotaExceededException extends __BaseException {
372
372
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
373
373
  }
374
374
  /**
375
- * @public
376
375
  * <p>The request or operation couldn't be performed because a service is throttling
377
376
  * requests. The most common source of throttling errors is when you create resources
378
377
  * that exceed your service limit for this resource type. Request a limit increase or
379
378
  * delete unused resources, if possible.</p>
379
+ * @public
380
380
  */
381
381
  export declare class ThrottlingException extends __BaseException {
382
382
  readonly name: "ThrottlingException";
@@ -385,18 +385,18 @@ export declare class ThrottlingException extends __BaseException {
385
385
  throttling: boolean;
386
386
  };
387
387
  /**
388
- * @public
389
388
  * <p>The container for the <code>serviceCode</code>.</p>
389
+ * @public
390
390
  */
391
391
  serviceCode: string | undefined;
392
392
  /**
393
- * @public
394
393
  * <p>The container for the <code>quotaCode</code>.</p>
394
+ * @public
395
395
  */
396
396
  quotaCode: string | undefined;
397
397
  /**
398
- * @public
399
398
  * <p>The container of the <code>retryAfterSeconds</code> value.</p>
399
+ * @public
400
400
  */
401
401
  retryAfterSeconds?: number;
402
402
  /**
@@ -405,18 +405,18 @@ export declare class ThrottlingException extends __BaseException {
405
405
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
406
406
  }
407
407
  /**
408
- * @public
409
408
  * <p>The resource passed is invalid.</p>
409
+ * @public
410
410
  */
411
411
  export interface ValidationExceptionField {
412
412
  /**
413
- * @public
414
413
  * <p>The name of the field that triggered the <code>ValidationException</code>.</p>
414
+ * @public
415
415
  */
416
416
  name: string | undefined;
417
417
  /**
418
- * @public
419
418
  * <p>The <code>ValidationException</code> message.</p>
419
+ * @public
420
420
  */
421
421
  message: string | undefined;
422
422
  }
@@ -435,20 +435,20 @@ export declare const ValidationExceptionReason: {
435
435
  */
436
436
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
437
437
  /**
438
- * @public
439
438
  * <p>The resource passed is invalid.</p>
439
+ * @public
440
440
  */
441
441
  export declare class ValidationException extends __BaseException {
442
442
  readonly name: "ValidationException";
443
443
  readonly $fault: "client";
444
444
  /**
445
- * @public
446
445
  * <p>The container for the reason for the exception</p>
446
+ * @public
447
447
  */
448
448
  reason: ValidationExceptionReason | undefined;
449
449
  /**
450
- * @public
451
450
  * <p>The container for the <code>fieldList</code> of the exception.</p>
451
+ * @public
452
452
  */
453
453
  fieldList?: ValidationExceptionField[];
454
454
  /**
@@ -469,60 +469,60 @@ export declare const ConfirmationStatus: {
469
469
  */
470
470
  export type ConfirmationStatus = (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
471
471
  /**
472
- * @public
473
472
  * <p>The container for the <code>ConfirmationStatusFilter</code> that filters for the <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality">
474
473
  * <i>finality</i>
475
474
  * </a> of the results.</p>
475
+ * @public
476
476
  */
477
477
  export interface ConfirmationStatusFilter {
478
478
  /**
479
- * @public
480
479
  * <p>The container to determine whether to list results that have only reached <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality">
481
480
  * <i>finality</i>
482
481
  * </a>. Transactions
483
482
  * that have reached finality are always part of the response.</p>
483
+ * @public
484
484
  */
485
485
  include: ConfirmationStatus[] | undefined;
486
486
  }
487
487
  /**
488
- * @public
489
488
  * <p>The contract or wallet address by which to filter the request.</p>
489
+ * @public
490
490
  */
491
491
  export interface ContractFilter {
492
492
  /**
493
- * @public
494
493
  * <p>The blockchain network of the contract.</p>
494
+ * @public
495
495
  */
496
496
  network: QueryNetwork | undefined;
497
497
  /**
498
- * @public
499
498
  * <p>The container for the token standard.</p>
499
+ * @public
500
500
  */
501
501
  tokenStandard: QueryTokenStandard | undefined;
502
502
  /**
503
- * @public
504
503
  * <p>The network address of the deployer.</p>
504
+ * @public
505
505
  */
506
506
  deployerAddress: string | undefined;
507
507
  }
508
508
  /**
509
- * @public
510
509
  * <p>The metadata of the contract.</p>
510
+ * @public
511
511
  */
512
512
  export interface ContractMetadata {
513
513
  /**
514
- * @public
515
514
  * <p>The name of the token contract.</p>
515
+ * @public
516
516
  */
517
517
  name?: string;
518
518
  /**
519
- * @public
520
519
  * <p>The symbol of the token contract.</p>
520
+ * @public
521
521
  */
522
522
  symbol?: string;
523
523
  /**
524
- * @public
525
524
  * <p>The decimals used by the token contract.</p>
525
+ * @public
526
526
  */
527
527
  decimals?: number;
528
528
  }
@@ -543,8 +543,8 @@ export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionSta
543
543
  */
544
544
  export interface GetAssetContractInput {
545
545
  /**
546
- * @public
547
546
  * <p>Contains the blockchain address and network information about the contract.</p>
547
+ * @public
548
548
  */
549
549
  contractIdentifier: ContractIdentifier | undefined;
550
550
  }
@@ -553,23 +553,23 @@ export interface GetAssetContractInput {
553
553
  */
554
554
  export interface GetAssetContractOutput {
555
555
  /**
556
- * @public
557
556
  * <p>Contains the blockchain address and network information about the contract.</p>
557
+ * @public
558
558
  */
559
559
  contractIdentifier: ContractIdentifier | undefined;
560
560
  /**
561
- * @public
562
561
  * <p>The token standard of the contract requested.</p>
562
+ * @public
563
563
  */
564
564
  tokenStandard: QueryTokenStandard | undefined;
565
565
  /**
566
- * @public
567
566
  * <p>The address of the deployer of contract.</p>
567
+ * @public
568
568
  */
569
569
  deployerAddress: string | undefined;
570
570
  /**
571
- * @public
572
571
  * <p>The metadata of the contract.</p>
572
+ * @public
573
573
  */
574
574
  metadata?: ContractMetadata;
575
575
  }
@@ -578,23 +578,23 @@ export interface GetAssetContractOutput {
578
578
  */
579
579
  export interface GetTokenBalanceInput {
580
580
  /**
581
- * @public
582
581
  * <p>The container for the identifier for the token, including the unique
583
582
  * token ID and its blockchain network.</p>
583
+ * @public
584
584
  */
585
585
  tokenIdentifier: TokenIdentifier | undefined;
586
586
  /**
587
- * @public
588
587
  * <p>The container for the identifier for the owner.</p>
588
+ * @public
589
589
  */
590
590
  ownerIdentifier: OwnerIdentifier | undefined;
591
591
  /**
592
- * @public
593
592
  * <p>The time for when the TokenBalance is requested or
594
593
  * the current time if a time is not provided in the request.</p>
595
594
  * <note>
596
595
  * <p>This time will only be recorded up to the second.</p>
597
596
  * </note>
597
+ * @public
598
598
  */
599
599
  atBlockchainInstant?: BlockchainInstant;
600
600
  }
@@ -603,32 +603,32 @@ export interface GetTokenBalanceInput {
603
603
  */
604
604
  export interface GetTokenBalanceOutput {
605
605
  /**
606
- * @public
607
606
  * <p>The container for the identifier of the owner.</p>
607
+ * @public
608
608
  */
609
609
  ownerIdentifier?: OwnerIdentifier;
610
610
  /**
611
- * @public
612
611
  * <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
613
612
  * <note>
614
613
  * <p>Only the native tokens BTC and ETH, and the ERC-20,
615
614
  * ERC-721, and ERC 1155 token standards are supported.</p>
616
615
  * </note>
616
+ * @public
617
617
  */
618
618
  tokenIdentifier?: TokenIdentifier;
619
619
  /**
620
- * @public
621
620
  * <p>The container for the token balance.</p>
621
+ * @public
622
622
  */
623
623
  balance: string | undefined;
624
624
  /**
625
- * @public
626
625
  * <p>The container for time.</p>
626
+ * @public
627
627
  */
628
628
  atBlockchainInstant: BlockchainInstant | undefined;
629
629
  /**
630
- * @public
631
630
  * <p>The container for time.</p>
631
+ * @public
632
632
  */
633
633
  lastUpdatedTime?: BlockchainInstant;
634
634
  }
@@ -637,18 +637,17 @@ export interface GetTokenBalanceOutput {
637
637
  */
638
638
  export interface GetTransactionInput {
639
639
  /**
640
- * @public
641
640
  * <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
641
+ * @public
642
642
  */
643
643
  transactionHash: string | undefined;
644
644
  /**
645
- * @public
646
645
  * <p>The blockchain network where the transaction occurred.</p>
646
+ * @public
647
647
  */
648
648
  network: QueryNetwork | undefined;
649
649
  }
650
650
  /**
651
- * @public
652
651
  * <p>There are two possible types of transactions used for this data type:</p>
653
652
  * <ul>
654
653
  * <li>
@@ -662,109 +661,110 @@ export interface GetTransactionInput {
662
661
  * Alice's must be credited. This state-changing action occurs within a transaction.</p>
663
662
  * </li>
664
663
  * </ul>
664
+ * @public
665
665
  */
666
666
  export interface Transaction {
667
667
  /**
668
- * @public
669
668
  * <p>The blockchain network where the transaction occurred.</p>
669
+ * @public
670
670
  */
671
671
  network: QueryNetwork | undefined;
672
672
  /**
673
- * @public
674
673
  * <p>The block hash is a unique identifier for a block. It is a fixed-size
675
674
  * string that is calculated by using the information in the block. The block
676
675
  * hash is used to verify the integrity of the data in the block.</p>
676
+ * @public
677
677
  */
678
678
  blockHash?: string;
679
679
  /**
680
- * @public
681
680
  * <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
681
+ * @public
682
682
  */
683
683
  transactionHash: string | undefined;
684
684
  /**
685
- * @public
686
685
  * <p>The block number in which the transaction is recorded.</p>
686
+ * @public
687
687
  */
688
688
  blockNumber?: string;
689
689
  /**
690
- * @public
691
690
  * <p>The <code>Timestamp</code> of the transaction. </p>
691
+ * @public
692
692
  */
693
693
  transactionTimestamp: Date | undefined;
694
694
  /**
695
- * @public
696
695
  * <p>The index of the transaction within a blockchain.</p>
696
+ * @public
697
697
  */
698
698
  transactionIndex: number | undefined;
699
699
  /**
700
- * @public
701
700
  * <p>The number of transactions in the block.</p>
701
+ * @public
702
702
  */
703
703
  numberOfTransactions: number | undefined;
704
704
  /**
705
- * @public
706
705
  * <p>The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
706
+ * @public
707
707
  */
708
708
  to: string | undefined;
709
709
  /**
710
- * @public
711
710
  * <p>The initiator of the transaction. It is either in the form a public key or a
712
711
  * contract address.</p>
712
+ * @public
713
713
  */
714
714
  from?: string;
715
715
  /**
716
- * @public
717
716
  * <p>The blockchain address for the contract.</p>
717
+ * @public
718
718
  */
719
719
  contractAddress?: string;
720
720
  /**
721
- * @public
722
721
  * <p>The amount of gas used for the transaction.</p>
722
+ * @public
723
723
  */
724
724
  gasUsed?: string;
725
725
  /**
726
- * @public
727
726
  * <p>The amount of gas used up to the specified point in the block.</p>
727
+ * @public
728
728
  */
729
729
  cumulativeGasUsed?: string;
730
730
  /**
731
- * @public
732
731
  * <p>The effective gas price.</p>
732
+ * @public
733
733
  */
734
734
  effectiveGasPrice?: string;
735
735
  /**
736
- * @public
737
736
  * <p>The signature of the transaction. The Z coordinate of a point V.</p>
737
+ * @public
738
738
  */
739
739
  signatureV?: number;
740
740
  /**
741
- * @public
742
741
  * <p>The signature of the transaction. The X coordinate of a point R.</p>
742
+ * @public
743
743
  */
744
744
  signatureR?: string;
745
745
  /**
746
- * @public
747
746
  * <p>The signature of the transaction. The Y coordinate of a point S.</p>
747
+ * @public
748
748
  */
749
749
  signatureS?: string;
750
750
  /**
751
- * @public
752
751
  * <p>The transaction fee.</p>
752
+ * @public
753
753
  */
754
754
  transactionFee?: string;
755
755
  /**
756
- * @public
757
756
  * <p>The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
757
+ * @public
758
758
  */
759
759
  transactionId?: string;
760
760
  /**
761
- * @public
762
761
  * <p>Specifies whether the transaction has reached Finality.</p>
762
+ * @public
763
763
  */
764
764
  confirmationStatus?: ConfirmationStatus;
765
765
  /**
766
- * @public
767
766
  * <p>Identifies whether the transaction has succeeded or failed.</p>
767
+ * @public
768
768
  */
769
769
  executionStatus?: ExecutionStatus;
770
770
  }
@@ -773,8 +773,8 @@ export interface Transaction {
773
773
  */
774
774
  export interface GetTransactionOutput {
775
775
  /**
776
- * @public
777
776
  * <p>Contains the details of the transaction.</p>
777
+ * @public
778
778
  */
779
779
  transaction: Transaction | undefined;
780
780
  }
@@ -783,17 +783,16 @@ export interface GetTransactionOutput {
783
783
  */
784
784
  export interface ListAssetContractsInput {
785
785
  /**
786
- * @public
787
786
  * <p>Contains the filter parameter for the request.</p>
787
+ * @public
788
788
  */
789
789
  contractFilter: ContractFilter | undefined;
790
790
  /**
791
- * @public
792
791
  * <p> The pagination token that indicates the next set of results to retrieve.</p>
792
+ * @public
793
793
  */
794
794
  nextToken?: string;
795
795
  /**
796
- * @public
797
796
  * <p>The maximum number of contracts to list.</p>
798
797
  * <p>Default:<code>100</code>
799
798
  * </p>
@@ -804,6 +803,7 @@ export interface ListAssetContractsInput {
804
803
  * returned <code>nextToken</code> value. The value of <code>nextToken</code> is
805
804
  * <code>null</code> when there are no more results to return</p>
806
805
  * </note>
806
+ * @public
807
807
  */
808
808
  maxResults?: number;
809
809
  }
@@ -812,29 +812,28 @@ export interface ListAssetContractsInput {
812
812
  */
813
813
  export interface ListAssetContractsOutput {
814
814
  /**
815
- * @public
816
815
  * <p>An array of contract objects that contain the properties for each contract.</p>
816
+ * @public
817
817
  */
818
818
  contracts: AssetContract[] | undefined;
819
819
  /**
820
- * @public
821
820
  * <p>The pagination token that indicates the next set of results to retrieve. </p>
821
+ * @public
822
822
  */
823
823
  nextToken?: string;
824
824
  }
825
825
  /**
826
- * @public
827
826
  * <p>The container for the owner information to filter by.</p>
827
+ * @public
828
828
  */
829
829
  export interface OwnerFilter {
830
830
  /**
831
- * @public
832
831
  * <p>The contract or wallet address.</p>
832
+ * @public
833
833
  */
834
834
  address: string | undefined;
835
835
  }
836
836
  /**
837
- * @public
838
837
  * <p>The container of the token filter like the contract address
839
838
  * on a given blockchain network or a unique token identifier on a given
840
839
  * blockchain network.</p>
@@ -842,21 +841,22 @@ export interface OwnerFilter {
842
841
  * <p>You must always specify the network property of this
843
842
  * container when using this operation.</p>
844
843
  * </note>
844
+ * @public
845
845
  */
846
846
  export interface TokenFilter {
847
847
  /**
848
- * @public
849
848
  * <p>The blockchain network of the token.</p>
849
+ * @public
850
850
  */
851
851
  network: QueryNetwork | undefined;
852
852
  /**
853
- * @public
854
853
  * <p>This is the address of the contract.</p>
854
+ * @public
855
855
  */
856
856
  contractAddress?: string;
857
857
  /**
858
- * @public
859
858
  * <p>The unique identifier of the token.</p>
859
+ * @public
860
860
  */
861
861
  tokenId?: string;
862
862
  }
@@ -865,14 +865,13 @@ export interface TokenFilter {
865
865
  */
866
866
  export interface ListTokenBalancesInput {
867
867
  /**
868
- * @public
869
868
  * <p>The contract or wallet address on the blockchain network by which to filter the
870
869
  * request. You must specify the <code>address</code> property of the <code>ownerFilter</code>
871
870
  * when listing balances of tokens owned by the address.</p>
871
+ * @public
872
872
  */
873
873
  ownerFilter?: OwnerFilter;
874
874
  /**
875
- * @public
876
875
  * <p>The contract address or a token identifier on the
877
876
  * blockchain network by which to filter the request. You must specify the <code>contractAddress</code>
878
877
  * property of this container when listing tokens minted by a contract.</p>
@@ -880,15 +879,15 @@ export interface ListTokenBalancesInput {
880
879
  * <p>You must always specify the network property of this
881
880
  * container when using this operation.</p>
882
881
  * </note>
882
+ * @public
883
883
  */
884
884
  tokenFilter: TokenFilter | undefined;
885
885
  /**
886
- * @public
887
886
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
887
+ * @public
888
888
  */
889
889
  nextToken?: string;
890
890
  /**
891
- * @public
892
891
  * <p>The maximum number of token balances to return.</p>
893
892
  * <p>Default:<code>100</code>
894
893
  * </p>
@@ -899,41 +898,42 @@ export interface ListTokenBalancesInput {
899
898
  * returned <code>nextToken</code> value. The value of <code>nextToken</code> is
900
899
  * <code>null</code> when there are no more results to return</p>
901
900
  * </note>
901
+ * @public
902
902
  */
903
903
  maxResults?: number;
904
904
  }
905
905
  /**
906
- * @public
907
906
  * <p>The balance of the token.</p>
907
+ * @public
908
908
  */
909
909
  export interface TokenBalance {
910
910
  /**
911
- * @public
912
911
  * <p>The container for the identifier of the owner.</p>
912
+ * @public
913
913
  */
914
914
  ownerIdentifier?: OwnerIdentifier;
915
915
  /**
916
- * @public
917
916
  * <p>The identifier for the token, including the unique token ID and its blockchain network.</p>
917
+ * @public
918
918
  */
919
919
  tokenIdentifier?: TokenIdentifier;
920
920
  /**
921
- * @public
922
921
  * <p>The container of the token balance.</p>
922
+ * @public
923
923
  */
924
924
  balance: string | undefined;
925
925
  /**
926
- * @public
927
926
  * <p>The time for when the TokenBalance is requested or
928
927
  * the current time if a time is not provided in the request.</p>
929
928
  * <note>
930
929
  * <p>This time will only be recorded up to the second.</p>
931
930
  * </note>
931
+ * @public
932
932
  */
933
933
  atBlockchainInstant: BlockchainInstant | undefined;
934
934
  /**
935
- * @public
936
935
  * <p>The <code>Timestamp</code> of the last transaction at which the balance for the token in the wallet was updated.</p>
936
+ * @public
937
937
  */
938
938
  lastUpdatedTime?: BlockchainInstant;
939
939
  }
@@ -942,14 +942,14 @@ export interface TokenBalance {
942
942
  */
943
943
  export interface ListTokenBalancesOutput {
944
944
  /**
945
- * @public
946
945
  * <p>An array of <code>TokenBalance</code> objects. Each object contains details about
947
946
  * the token balance.</p>
947
+ * @public
948
948
  */
949
949
  tokenBalances: TokenBalance[] | undefined;
950
950
  /**
951
- * @public
952
951
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
952
+ * @public
953
953
  */
954
954
  nextToken?: string;
955
955
  }
@@ -958,22 +958,21 @@ export interface ListTokenBalancesOutput {
958
958
  */
959
959
  export interface ListTransactionEventsInput {
960
960
  /**
961
- * @public
962
961
  * <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
962
+ * @public
963
963
  */
964
964
  transactionHash: string | undefined;
965
965
  /**
966
- * @public
967
966
  * <p>The blockchain network where the transaction events occurred.</p>
967
+ * @public
968
968
  */
969
969
  network: QueryNetwork | undefined;
970
970
  /**
971
- * @public
972
971
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
972
+ * @public
973
973
  */
974
974
  nextToken?: string;
975
975
  /**
976
- * @public
977
976
  * <p>The maximum number of transaction events to list.</p>
978
977
  * <p>Default:<code>100</code>
979
978
  * </p>
@@ -984,6 +983,7 @@ export interface ListTransactionEventsInput {
984
983
  * returned <code>nextToken</code> value. The value of <code>nextToken</code> is
985
984
  * <code>null</code> when there are no more results to return</p>
986
985
  * </note>
986
+ * @public
987
987
  */
988
988
  maxResults?: number;
989
989
  }
@@ -1042,58 +1042,58 @@ export declare const QueryTransactionEventType: {
1042
1042
  */
1043
1043
  export type QueryTransactionEventType = (typeof QueryTransactionEventType)[keyof typeof QueryTransactionEventType];
1044
1044
  /**
1045
- * @public
1046
1045
  * <p>The container for the properties of a transaction event.</p>
1046
+ * @public
1047
1047
  */
1048
1048
  export interface TransactionEvent {
1049
1049
  /**
1050
- * @public
1051
1050
  * <p>The blockchain network where the transaction occurred.</p>
1051
+ * @public
1052
1052
  */
1053
1053
  network: QueryNetwork | undefined;
1054
1054
  /**
1055
- * @public
1056
1055
  * <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
1056
+ * @public
1057
1057
  */
1058
1058
  transactionHash: string | undefined;
1059
1059
  /**
1060
- * @public
1061
1060
  * <p>The type of transaction event.</p>
1061
+ * @public
1062
1062
  */
1063
1063
  eventType: QueryTransactionEventType | undefined;
1064
1064
  /**
1065
- * @public
1066
1065
  * <p>The wallet address initiating the transaction. It can either be a public key or a contract.</p>
1066
+ * @public
1067
1067
  */
1068
1068
  from?: string;
1069
1069
  /**
1070
- * @public
1071
1070
  * <p>The wallet address receiving the transaction. It can either be a public key or a contract.</p>
1071
+ * @public
1072
1072
  */
1073
1073
  to?: string;
1074
1074
  /**
1075
- * @public
1076
1075
  * <p>The value that was transacted.</p>
1076
+ * @public
1077
1077
  */
1078
1078
  value?: string;
1079
1079
  /**
1080
- * @public
1081
1080
  * <p>The blockchain address. for the contract</p>
1081
+ * @public
1082
1082
  */
1083
1083
  contractAddress?: string;
1084
1084
  /**
1085
- * @public
1086
1085
  * <p>The unique identifier for the token involved in the transaction.</p>
1086
+ * @public
1087
1087
  */
1088
1088
  tokenId?: string;
1089
1089
  /**
1090
- * @public
1091
1090
  * <p>The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
1091
+ * @public
1092
1092
  */
1093
1093
  transactionId?: string;
1094
1094
  /**
1095
- * @public
1096
1095
  * <p>The position of the vout in the transaction output list.</p>
1096
+ * @public
1097
1097
  */
1098
1098
  voutIndex?: number;
1099
1099
  }
@@ -1102,14 +1102,14 @@ export interface TransactionEvent {
1102
1102
  */
1103
1103
  export interface ListTransactionEventsOutput {
1104
1104
  /**
1105
- * @public
1106
1105
  * <p>An array of <code>TransactionEvent</code> objects. Each object contains details
1107
1106
  * about the transaction events.</p>
1107
+ * @public
1108
1108
  */
1109
1109
  events: TransactionEvent[] | undefined;
1110
1110
  /**
1111
- * @public
1112
1111
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
1112
+ * @public
1113
1113
  */
1114
1114
  nextToken?: string;
1115
1115
  }
@@ -1146,22 +1146,22 @@ export declare const SortOrder: {
1146
1146
  */
1147
1147
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1148
1148
  /**
1149
- * @public
1150
1149
  * <p>The container for determining how the list transaction result will
1151
1150
  * be sorted.</p>
1151
+ * @public
1152
1152
  */
1153
1153
  export interface ListTransactionsSort {
1154
1154
  /**
1155
- * @public
1156
1155
  * <p>Defaults to the value <code>TRANSACTION_TIMESTAMP</code>.</p>
1156
+ * @public
1157
1157
  */
1158
1158
  sortBy?: ListTransactionsSortBy;
1159
1159
  /**
1160
- * @public
1161
1160
  * <p>The container for the <i>sort order</i> for <code>ListTransactions</code>.
1162
1161
  * The <code>SortOrder</code> field only accepts the values <code>ASCENDING</code>
1163
1162
  * and <code>DESCENDING</code>. Not providing <code>SortOrder</code> will default
1164
1163
  * to <code>ASCENDING</code>.</p>
1164
+ * @public
1165
1165
  */
1166
1166
  sortOrder?: SortOrder;
1167
1167
  }
@@ -1170,38 +1170,37 @@ export interface ListTransactionsSort {
1170
1170
  */
1171
1171
  export interface ListTransactionsInput {
1172
1172
  /**
1173
- * @public
1174
1173
  * <p>The address (either a contract or wallet), whose transactions are being requested.</p>
1174
+ * @public
1175
1175
  */
1176
1176
  address: string | undefined;
1177
1177
  /**
1178
- * @public
1179
1178
  * <p>The blockchain network where the transactions occurred.</p>
1179
+ * @public
1180
1180
  */
1181
1181
  network: QueryNetwork | undefined;
1182
1182
  /**
1183
- * @public
1184
1183
  * <p>The container for time.</p>
1184
+ * @public
1185
1185
  */
1186
1186
  fromBlockchainInstant?: BlockchainInstant;
1187
1187
  /**
1188
- * @public
1189
1188
  * <p>The container for time.</p>
1189
+ * @public
1190
1190
  */
1191
1191
  toBlockchainInstant?: BlockchainInstant;
1192
1192
  /**
1193
- * @public
1194
1193
  * <p>The order by which the results will be sorted. If <code>ASCENNDING</code> is selected, the results
1195
1194
  * will be ordered by <code>fromTime</code>. </p>
1195
+ * @public
1196
1196
  */
1197
1197
  sort?: ListTransactionsSort;
1198
1198
  /**
1199
- * @public
1200
1199
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
1200
+ * @public
1201
1201
  */
1202
1202
  nextToken?: string;
1203
1203
  /**
1204
- * @public
1205
1204
  * <p>The maximum number of transactions to list.</p>
1206
1205
  * <p>Default:<code>100</code>
1207
1206
  * </p>
@@ -1212,40 +1211,41 @@ export interface ListTransactionsInput {
1212
1211
  * returned <code>nextToken</code> value. The value of <code>nextToken</code> is
1213
1212
  * <code>null</code> when there are no more results to return</p>
1214
1213
  * </note>
1214
+ * @public
1215
1215
  */
1216
1216
  maxResults?: number;
1217
1217
  /**
1218
- * @public
1219
1218
  * <p>This filter is used to include transactions in the response that haven't reached <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality">
1220
1219
  * <i>finality</i>
1221
1220
  * </a>. Transactions that have reached finiality are always
1222
1221
  * part of the response.</p>
1222
+ * @public
1223
1223
  */
1224
1224
  confirmationStatusFilter?: ConfirmationStatusFilter;
1225
1225
  }
1226
1226
  /**
1227
- * @public
1228
1227
  * <p>The container of the transaction output.</p>
1228
+ * @public
1229
1229
  */
1230
1230
  export interface TransactionOutputItem {
1231
1231
  /**
1232
- * @public
1233
1232
  * <p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
1233
+ * @public
1234
1234
  */
1235
1235
  transactionHash: string | undefined;
1236
1236
  /**
1237
- * @public
1238
1237
  * <p>The blockchain network where the transaction occurred.</p>
1238
+ * @public
1239
1239
  */
1240
1240
  network: QueryNetwork | undefined;
1241
1241
  /**
1242
- * @public
1243
1242
  * <p>The time when the transaction occurred.</p>
1243
+ * @public
1244
1244
  */
1245
1245
  transactionTimestamp: Date | undefined;
1246
1246
  /**
1247
- * @public
1248
1247
  * <p>Specifies whether to list transactions that have not reached Finality.</p>
1248
+ * @public
1249
1249
  */
1250
1250
  confirmationStatus?: ConfirmationStatus;
1251
1251
  }
@@ -1254,13 +1254,13 @@ export interface TransactionOutputItem {
1254
1254
  */
1255
1255
  export interface ListTransactionsOutput {
1256
1256
  /**
1257
- * @public
1258
1257
  * <p>The array of transactions returned by the request.</p>
1258
+ * @public
1259
1259
  */
1260
1260
  transactions: TransactionOutputItem[] | undefined;
1261
1261
  /**
1262
- * @public
1263
1262
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
1263
+ * @public
1264
1264
  */
1265
1265
  nextToken?: string;
1266
1266
  }