@@ -141,7 +141,7 @@ export interface OwnerIdentifier {
141
141
* @public
142
142
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
143
143
* <note>
144
- * <p>Only the native tokens BTC, ETH, and the ERC-20,
144
+ * <p>Only the native tokens BTC and ETH, and the ERC-20,
145
145
* ERC-721, and ERC 1155 token standards are supported.</p>
146
146
* </note>
147
147
*/
@@ -162,8 +162,8 @@ export interface TokenIdentifier {
162
162
* @public
163
163
* <p>The unique identifier of the token.</p>
164
164
* <note>
165
- * <p>You must specify this container with <code>btc</code> for the native BTC token, and
166
- * <code>eth</code> for the native ETH token . For all other token types you must
165
+ * <p>For native tokens, use the 3 character abbreviation that best matches your token.
166
+ * For example, btc for Bitcoin, eth for Ether, etc . For all other token types you must
167
167
* specify the <code>tokenId</code> in the 64 character hexadecimal <code>tokenid</code> format.</p>
168
168
* </note>
169
169
*/
@@ -179,7 +179,7 @@ export interface BatchGetTokenBalanceInputItem {
179
179
* @public
180
180
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
181
181
* <note>
182
- * <p>Only the native tokens BTC, ETH, and the ERC-20,
182
+ * <p>Only the native tokens BTC and ETH, and the ERC-20,
183
183
* ERC-721, and ERC 1155 token standards are supported.</p>
184
184
* </note>
185
185
*/
@@ -238,7 +238,7 @@ export interface BatchGetTokenBalanceErrorItem {
238
238
* @public
239
239
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
240
240
* <note>
241
- * <p>Only the native tokens BTC, ETH, and the ERC-20,
241
+ * <p>Only the native tokens BTC and ETH, and the ERC-20,
242
242
* ERC-721, and ERC 1155 token standards are supported.</p>
243
243
* </note>
244
244
*/
@@ -290,7 +290,7 @@ export interface BatchGetTokenBalanceOutputItem {
290
290
* @public
291
291
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
292
292
* <note>
293
- * <p>Only the native tokens BTC, ETH, and the ERC-20,
293
+ * <p>Only the native tokens BTC and ETH, and the ERC-20,
294
294
* ERC-721, and ERC 1155 token standards are supported.</p>
295
295
* </note>
296
296
*/
@@ -576,13 +576,31 @@ export class ValidationException extends __BaseException {
576
576
*/
577
577
export const ConfirmationStatus = {
578
578
FINAL : "FINAL" ,
579
+ NONFINAL : "NONFINAL" ,
579
580
} as const ;
580
581
581
582
/**
582
583
* @public
583
584
*/
584
585
export type ConfirmationStatus = ( typeof ConfirmationStatus ) [ keyof typeof ConfirmationStatus ] ;
585
586
587
+ /**
588
+ * @public
589
+ * <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">
590
+ * <i>finality</i>
591
+ * </a> of the results.</p>
592
+ */
593
+ export interface ConfirmationStatusFilter {
594
+ /**
595
+ * @public
596
+ * <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">
597
+ * <i>finality</i>
598
+ * </a>. Transactions
599
+ * that have reached finality are always part of the response.</p>
600
+ */
601
+ include : ConfirmationStatus [ ] | undefined ;
602
+ }
603
+
586
604
/**
587
605
* @public
588
606
* <p>The contract or wallet address by which to filter the request.</p>
@@ -727,7 +745,7 @@ export interface GetTokenBalanceOutput {
727
745
* @public
728
746
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
729
747
* <note>
730
- * <p>Only the native tokens BTC, ETH, and the ERC-20,
748
+ * <p>Only the native tokens BTC and ETH, and the ERC-20,
731
749
* ERC-721, and ERC 1155 token standards are supported.</p>
732
750
* </note>
733
751
*/
@@ -769,26 +787,6 @@ export interface GetTransactionInput {
769
787
network : QueryNetwork | undefined ;
770
788
}
771
789
772
- /**
773
- * @public
774
- * @enum
775
- */
776
- export const QueryTransactionStatus = {
777
- /**
778
- * The transaction completed on the blockchain, but failed
779
- */
780
- FAILED : "FAILED" ,
781
- /**
782
- * The transaction has been confirmed and is final in the blockchain
783
- */
784
- FINAL : "FINAL" ,
785
- } as const ;
786
-
787
- /**
788
- * @public
789
- */
790
- export type QueryTransactionStatus = ( typeof QueryTransactionStatus ) [ keyof typeof QueryTransactionStatus ] ;
791
-
792
790
/**
793
791
* @public
794
792
* <p>There are two possible types of transactions used for this data type:</p>
@@ -850,29 +848,6 @@ export interface Transaction {
850
848
*/
851
849
numberOfTransactions : number | undefined ;
852
850
853
- /**
854
- * @public
855
- * @deprecated
856
- *
857
- * <p>The status of the transaction.</p>
858
- * <important>
859
- * <p>This property is deprecated. You must use the <code>confirmationStatus</code>
860
- * and the <code>executionStatus</code> properties to determine if the <code>status</code>
861
- * of the transaction is <code>FINAL</code> or <code>FAILED</code>.</p>
862
- * <ul>
863
- * <li>
864
- * <p>Transactions with a <code>status</code> of <code>FINAL</code> will now have the <code>confirmationStatus</code> set
865
- * to <code>FINAL</code> and the <code>executionStatus</code> set to <code>SUCCEEDED</code>.</p>
866
- * </li>
867
- * <li>
868
- * <p>Transactions with a <code>status</code> of <code>FAILED</code> will now have the <code>confirmationStatus</code> set
869
- * to <code>FINAL</code> and the <code>executionStatus</code> set to <code>FAILED</code>.</p>
870
- * </li>
871
- * </ul>
872
- * </important>
873
- */
874
- status ?: QueryTransactionStatus ;
875
-
876
851
/**
877
852
* @public
878
853
* <p>The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>
@@ -983,6 +958,15 @@ export interface ListAssetContractsInput {
983
958
/**
984
959
* @public
985
960
* <p>The maximum number of contracts to list.</p>
961
+ * <p>Default:<code>100</code>
962
+ * </p>
963
+ * <note>
964
+ * <p>Even if additional results can be retrieved, the request can return less
965
+ * results than <code>maxResults</code> or an empty array of results.</p>
966
+ * <p>To retrieve the next set of results, make another request with the
967
+ * returned <code>nextToken</code> value. The value of <code>nextToken</code> is
968
+ * <code>null</code> when there are no more results to return</p>
969
+ * </note>
986
970
*/
987
971
maxResults ?: number ;
988
972
}
@@ -1079,6 +1063,15 @@ export interface ListTokenBalancesInput {
1079
1063
/**
1080
1064
* @public
1081
1065
* <p>The maximum number of token balances to return.</p>
1066
+ * <p>Default:<code>100</code>
1067
+ * </p>
1068
+ * <note>
1069
+ * <p>Even if additional results can be retrieved, the request can return less
1070
+ * results than <code>maxResults</code> or an empty array of results.</p>
1071
+ * <p>To retrieve the next set of results, make another request with the
1072
+ * returned <code>nextToken</code> value. The value of <code>nextToken</code> is
1073
+ * <code>null</code> when there are no more results to return</p>
1074
+ * </note>
1082
1075
*/
1083
1076
maxResults ?: number ;
1084
1077
}
@@ -1166,6 +1159,8 @@ export interface ListTransactionEventsInput {
1166
1159
/**
1167
1160
* @public
1168
1161
* <p>The maximum number of transaction events to list.</p>
1162
+ * <p>Default:<code>100</code>
1163
+ * </p>
1169
1164
* <note>
1170
1165
* <p>Even if additional results can be retrieved, the request can return less
1171
1166
* results than <code>maxResults</code> or an empty array of results.</p>
@@ -1405,8 +1400,8 @@ export interface ListTransactionsInput {
1405
1400
1406
1401
/**
1407
1402
* @public
1408
- * <p>Sorts items in an ascending order if the first page starts at <code>fromTime </code>.
1409
- * Sorts items in a descending order if the first page starts at <code>toTime </code>.</p>
1403
+ * <p>The order by which the results will be sorted. If <code>ASCENNDING </code> is selected, the results
1404
+ * will be ordered by <code>fromTime </code>. </p>
1410
1405
*/
1411
1406
sort ?: ListTransactionsSort ;
1412
1407
@@ -1419,6 +1414,8 @@ export interface ListTransactionsInput {
1419
1414
/**
1420
1415
* @public
1421
1416
* <p>The maximum number of transactions to list.</p>
1417
+ * <p>Default:<code>100</code>
1418
+ * </p>
1422
1419
* <note>
1423
1420
* <p>Even if additional results can be retrieved, the request can return less
1424
1421
* results than <code>maxResults</code> or an empty array of results.</p>
@@ -1428,6 +1425,15 @@ export interface ListTransactionsInput {
1428
1425
* </note>
1429
1426
*/
1430
1427
maxResults ?: number ;
1428
+
1429
+ /**
1430
+ * @public
1431
+ * <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">
1432
+ * <i>finality</i>
1433
+ * </a>. Transactions that have reached finiality are always
1434
+ * part of the response.</p>
1435
+ */
1436
+ confirmationStatusFilter ?: ConfirmationStatusFilter ;
1431
1437
}
1432
1438
1433
1439
/**
@@ -1452,6 +1458,12 @@ export interface TransactionOutputItem {
1452
1458
* <p>The time when the transaction occurred.</p>
1453
1459
*/
1454
1460
transactionTimestamp : Date | undefined ;
1461
+
1462
+ /**
1463
+ * @public
1464
+ * <p>Specifies whether to list transactions that have not reached Finality.</p>
1465
+ */
1466
+ confirmationStatus ?: ConfirmationStatus ;
1455
1467
}
1456
1468
1457
1469
/**
0 commit comments