@aws-sdk/client-managedblockchain-query 3.686.0 → 3.691.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.
|
@@ -113,7 +113,7 @@ export interface BlockchainInstant {
|
|
|
113
113
|
* </note>
|
|
114
114
|
* @public
|
|
115
115
|
*/
|
|
116
|
-
time?: Date;
|
|
116
|
+
time?: Date | undefined;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* <p>The container for the owner identifier.</p>
|
|
@@ -144,7 +144,7 @@ export interface TokenIdentifier {
|
|
|
144
144
|
* <p>This is the token's contract address.</p>
|
|
145
145
|
* @public
|
|
146
146
|
*/
|
|
147
|
-
contractAddress?: string;
|
|
147
|
+
contractAddress?: string | undefined;
|
|
148
148
|
/**
|
|
149
149
|
* <p>The unique identifier of the token.</p>
|
|
150
150
|
* <note>
|
|
@@ -154,7 +154,7 @@ export interface TokenIdentifier {
|
|
|
154
154
|
* </note>
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
|
-
tokenId?: string;
|
|
157
|
+
tokenId?: string | undefined;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* <p>The container for the input for getting a token balance.</p>
|
|
@@ -179,7 +179,7 @@ export interface BatchGetTokenBalanceInputItem {
|
|
|
179
179
|
* <p>The container for time.</p>
|
|
180
180
|
* @public
|
|
181
181
|
*/
|
|
182
|
-
atBlockchainInstant?: BlockchainInstant;
|
|
182
|
+
atBlockchainInstant?: BlockchainInstant | undefined;
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
185
|
* @public
|
|
@@ -189,7 +189,7 @@ export interface BatchGetTokenBalanceInput {
|
|
|
189
189
|
* <p>An array of <code>BatchGetTokenBalanceInputItem</code> objects whose balance is being requested.</p>
|
|
190
190
|
* @public
|
|
191
191
|
*/
|
|
192
|
-
getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[];
|
|
192
|
+
getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[] | undefined;
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
195
|
* @public
|
|
@@ -222,17 +222,17 @@ export interface BatchGetTokenBalanceErrorItem {
|
|
|
222
222
|
* </note>
|
|
223
223
|
* @public
|
|
224
224
|
*/
|
|
225
|
-
tokenIdentifier?: TokenIdentifier;
|
|
225
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
226
226
|
/**
|
|
227
227
|
* <p>The container for the owner identifier.</p>
|
|
228
228
|
* @public
|
|
229
229
|
*/
|
|
230
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
230
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
231
231
|
/**
|
|
232
232
|
* <p>The container for time.</p>
|
|
233
233
|
* @public
|
|
234
234
|
*/
|
|
235
|
-
atBlockchainInstant?: BlockchainInstant;
|
|
235
|
+
atBlockchainInstant?: BlockchainInstant | undefined;
|
|
236
236
|
/**
|
|
237
237
|
* <p>The error code associated with the error.</p>
|
|
238
238
|
* @public
|
|
@@ -258,7 +258,7 @@ export interface BatchGetTokenBalanceOutputItem {
|
|
|
258
258
|
* <p>The container for the owner identifier.</p>
|
|
259
259
|
* @public
|
|
260
260
|
*/
|
|
261
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
261
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
262
262
|
/**
|
|
263
263
|
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
|
|
264
264
|
* <note>
|
|
@@ -267,7 +267,7 @@ export interface BatchGetTokenBalanceOutputItem {
|
|
|
267
267
|
* </note>
|
|
268
268
|
* @public
|
|
269
269
|
*/
|
|
270
|
-
tokenIdentifier?: TokenIdentifier;
|
|
270
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
271
271
|
/**
|
|
272
272
|
* <p>The container for the token balance.</p>
|
|
273
273
|
* @public
|
|
@@ -282,7 +282,7 @@ export interface BatchGetTokenBalanceOutputItem {
|
|
|
282
282
|
* <p>The container for time.</p>
|
|
283
283
|
* @public
|
|
284
284
|
*/
|
|
285
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
285
|
+
lastUpdatedTime?: BlockchainInstant | undefined;
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* @public
|
|
@@ -311,7 +311,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
311
311
|
* <p>Specifies the <code>retryAfterSeconds</code> value.</p>
|
|
312
312
|
* @public
|
|
313
313
|
*/
|
|
314
|
-
retryAfterSeconds?: number;
|
|
314
|
+
retryAfterSeconds?: number | undefined;
|
|
315
315
|
/**
|
|
316
316
|
* @internal
|
|
317
317
|
*/
|
|
@@ -409,7 +409,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
409
409
|
* <p>The container of the <code>retryAfterSeconds</code> value.</p>
|
|
410
410
|
* @public
|
|
411
411
|
*/
|
|
412
|
-
retryAfterSeconds?: number;
|
|
412
|
+
retryAfterSeconds?: number | undefined;
|
|
413
413
|
/**
|
|
414
414
|
* @internal
|
|
415
415
|
*/
|
|
@@ -461,7 +461,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
461
461
|
* <p>The container for the <code>fieldList</code> of the exception.</p>
|
|
462
462
|
* @public
|
|
463
463
|
*/
|
|
464
|
-
fieldList?: ValidationExceptionField[];
|
|
464
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
465
465
|
/**
|
|
466
466
|
* @internal
|
|
467
467
|
*/
|
|
@@ -525,17 +525,17 @@ export interface ContractMetadata {
|
|
|
525
525
|
* <p>The name of the token contract.</p>
|
|
526
526
|
* @public
|
|
527
527
|
*/
|
|
528
|
-
name?: string;
|
|
528
|
+
name?: string | undefined;
|
|
529
529
|
/**
|
|
530
530
|
* <p>The symbol of the token contract.</p>
|
|
531
531
|
* @public
|
|
532
532
|
*/
|
|
533
|
-
symbol?: string;
|
|
533
|
+
symbol?: string | undefined;
|
|
534
534
|
/**
|
|
535
535
|
* <p>The decimals used by the token contract.</p>
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
|
-
decimals?: number;
|
|
538
|
+
decimals?: number | undefined;
|
|
539
539
|
}
|
|
540
540
|
/**
|
|
541
541
|
* @public
|
|
@@ -582,7 +582,7 @@ export interface GetAssetContractOutput {
|
|
|
582
582
|
* <p>The metadata of the contract.</p>
|
|
583
583
|
* @public
|
|
584
584
|
*/
|
|
585
|
-
metadata?: ContractMetadata;
|
|
585
|
+
metadata?: ContractMetadata | undefined;
|
|
586
586
|
}
|
|
587
587
|
/**
|
|
588
588
|
* @public
|
|
@@ -607,7 +607,7 @@ export interface GetTokenBalanceInput {
|
|
|
607
607
|
* </note>
|
|
608
608
|
* @public
|
|
609
609
|
*/
|
|
610
|
-
atBlockchainInstant?: BlockchainInstant;
|
|
610
|
+
atBlockchainInstant?: BlockchainInstant | undefined;
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* @public
|
|
@@ -617,7 +617,7 @@ export interface GetTokenBalanceOutput {
|
|
|
617
617
|
* <p>The container for the owner identifier.</p>
|
|
618
618
|
* @public
|
|
619
619
|
*/
|
|
620
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
620
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
621
621
|
/**
|
|
622
622
|
* <p>The container for the identifier for the token including the unique token ID and its blockchain network.</p>
|
|
623
623
|
* <note>
|
|
@@ -626,7 +626,7 @@ export interface GetTokenBalanceOutput {
|
|
|
626
626
|
* </note>
|
|
627
627
|
* @public
|
|
628
628
|
*/
|
|
629
|
-
tokenIdentifier?: TokenIdentifier;
|
|
629
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
630
630
|
/**
|
|
631
631
|
* <p>The container for the token balance.</p>
|
|
632
632
|
* @public
|
|
@@ -641,7 +641,7 @@ export interface GetTokenBalanceOutput {
|
|
|
641
641
|
* <p>The container for time.</p>
|
|
642
642
|
* @public
|
|
643
643
|
*/
|
|
644
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
644
|
+
lastUpdatedTime?: BlockchainInstant | undefined;
|
|
645
645
|
}
|
|
646
646
|
/**
|
|
647
647
|
* @public
|
|
@@ -651,7 +651,7 @@ export interface GetTransactionInput {
|
|
|
651
651
|
* <p>The hash of a transaction. It is generated when a transaction is created.</p>
|
|
652
652
|
* @public
|
|
653
653
|
*/
|
|
654
|
-
transactionHash?: string;
|
|
654
|
+
transactionHash?: string | undefined;
|
|
655
655
|
/**
|
|
656
656
|
* <p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p>
|
|
657
657
|
* <note>
|
|
@@ -660,7 +660,7 @@ export interface GetTransactionInput {
|
|
|
660
660
|
* </note>
|
|
661
661
|
* @public
|
|
662
662
|
*/
|
|
663
|
-
transactionId?: string;
|
|
663
|
+
transactionId?: string | undefined;
|
|
664
664
|
/**
|
|
665
665
|
* <p>The blockchain network where the transaction occurred.</p>
|
|
666
666
|
* @public
|
|
@@ -695,7 +695,7 @@ export interface Transaction {
|
|
|
695
695
|
* hash is used to verify the integrity of the data in the block.</p>
|
|
696
696
|
* @public
|
|
697
697
|
*/
|
|
698
|
-
blockHash?: string;
|
|
698
|
+
blockHash?: string | undefined;
|
|
699
699
|
/**
|
|
700
700
|
* <p>The hash of a transaction. It is generated when a transaction is created.</p>
|
|
701
701
|
* @public
|
|
@@ -705,7 +705,7 @@ export interface Transaction {
|
|
|
705
705
|
* <p>The block number in which the transaction is recorded.</p>
|
|
706
706
|
* @public
|
|
707
707
|
*/
|
|
708
|
-
blockNumber?: string;
|
|
708
|
+
blockNumber?: string | undefined;
|
|
709
709
|
/**
|
|
710
710
|
* <p>The <code>Timestamp</code> of the transaction. </p>
|
|
711
711
|
* @public
|
|
@@ -731,62 +731,62 @@ export interface Transaction {
|
|
|
731
731
|
* contract address.</p>
|
|
732
732
|
* @public
|
|
733
733
|
*/
|
|
734
|
-
from?: string;
|
|
734
|
+
from?: string | undefined;
|
|
735
735
|
/**
|
|
736
736
|
* <p>The blockchain address for the contract.</p>
|
|
737
737
|
* @public
|
|
738
738
|
*/
|
|
739
|
-
contractAddress?: string;
|
|
739
|
+
contractAddress?: string | undefined;
|
|
740
740
|
/**
|
|
741
741
|
* <p>The amount of gas used for the transaction.</p>
|
|
742
742
|
* @public
|
|
743
743
|
*/
|
|
744
|
-
gasUsed?: string;
|
|
744
|
+
gasUsed?: string | undefined;
|
|
745
745
|
/**
|
|
746
746
|
* <p>The amount of gas used up to the specified point in the block.</p>
|
|
747
747
|
* @public
|
|
748
748
|
*/
|
|
749
|
-
cumulativeGasUsed?: string;
|
|
749
|
+
cumulativeGasUsed?: string | undefined;
|
|
750
750
|
/**
|
|
751
751
|
* <p>The effective gas price.</p>
|
|
752
752
|
* @public
|
|
753
753
|
*/
|
|
754
|
-
effectiveGasPrice?: string;
|
|
754
|
+
effectiveGasPrice?: string | undefined;
|
|
755
755
|
/**
|
|
756
756
|
* <p>The signature of the transaction. The Z coordinate of a point V.</p>
|
|
757
757
|
* @public
|
|
758
758
|
*/
|
|
759
|
-
signatureV?: number;
|
|
759
|
+
signatureV?: number | undefined;
|
|
760
760
|
/**
|
|
761
761
|
* <p>The signature of the transaction. The X coordinate of a point R.</p>
|
|
762
762
|
* @public
|
|
763
763
|
*/
|
|
764
|
-
signatureR?: string;
|
|
764
|
+
signatureR?: string | undefined;
|
|
765
765
|
/**
|
|
766
766
|
* <p>The signature of the transaction. The Y coordinate of a point S.</p>
|
|
767
767
|
* @public
|
|
768
768
|
*/
|
|
769
|
-
signatureS?: string;
|
|
769
|
+
signatureS?: string | undefined;
|
|
770
770
|
/**
|
|
771
771
|
* <p>The transaction fee.</p>
|
|
772
772
|
* @public
|
|
773
773
|
*/
|
|
774
|
-
transactionFee?: string;
|
|
774
|
+
transactionFee?: string | undefined;
|
|
775
775
|
/**
|
|
776
776
|
* <p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p>
|
|
777
777
|
* @public
|
|
778
778
|
*/
|
|
779
|
-
transactionId?: string;
|
|
779
|
+
transactionId?: string | undefined;
|
|
780
780
|
/**
|
|
781
781
|
* <p>Specifies whether the transaction has reached Finality.</p>
|
|
782
782
|
* @public
|
|
783
783
|
*/
|
|
784
|
-
confirmationStatus?: ConfirmationStatus;
|
|
784
|
+
confirmationStatus?: ConfirmationStatus | undefined;
|
|
785
785
|
/**
|
|
786
786
|
* <p>Identifies whether the transaction has succeeded or failed.</p>
|
|
787
787
|
* @public
|
|
788
788
|
*/
|
|
789
|
-
executionStatus?: ExecutionStatus;
|
|
789
|
+
executionStatus?: ExecutionStatus | undefined;
|
|
790
790
|
}
|
|
791
791
|
/**
|
|
792
792
|
* @public
|
|
@@ -811,7 +811,7 @@ export interface ListAssetContractsInput {
|
|
|
811
811
|
* <p> The pagination token that indicates the next set of results to retrieve.</p>
|
|
812
812
|
* @public
|
|
813
813
|
*/
|
|
814
|
-
nextToken?: string;
|
|
814
|
+
nextToken?: string | undefined;
|
|
815
815
|
/**
|
|
816
816
|
* <p>The maximum number of contracts to list.</p>
|
|
817
817
|
* <p>Default: <code>100</code>
|
|
@@ -825,7 +825,7 @@ export interface ListAssetContractsInput {
|
|
|
825
825
|
* </note>
|
|
826
826
|
* @public
|
|
827
827
|
*/
|
|
828
|
-
maxResults?: number;
|
|
828
|
+
maxResults?: number | undefined;
|
|
829
829
|
}
|
|
830
830
|
/**
|
|
831
831
|
* @public
|
|
@@ -840,7 +840,7 @@ export interface ListAssetContractsOutput {
|
|
|
840
840
|
* <p>The pagination token that indicates the next set of results to retrieve. </p>
|
|
841
841
|
* @public
|
|
842
842
|
*/
|
|
843
|
-
nextToken?: string;
|
|
843
|
+
nextToken?: string | undefined;
|
|
844
844
|
}
|
|
845
845
|
/**
|
|
846
846
|
* @public
|
|
@@ -886,7 +886,7 @@ export interface ListFilteredTransactionEventsSort {
|
|
|
886
886
|
* <p>Container on how the results will be sorted by?</p>
|
|
887
887
|
* @public
|
|
888
888
|
*/
|
|
889
|
-
sortBy?: ListFilteredTransactionEventsSortBy;
|
|
889
|
+
sortBy?: ListFilteredTransactionEventsSortBy | undefined;
|
|
890
890
|
/**
|
|
891
891
|
* <p>The container for the <i>sort order</i> for <code>ListFilteredTransactionEvents</code>.
|
|
892
892
|
* The <code>SortOrder</code> field only accepts the values <code>ASCENDING</code>
|
|
@@ -894,7 +894,7 @@ export interface ListFilteredTransactionEventsSort {
|
|
|
894
894
|
* to <code>ASCENDING</code>.</p>
|
|
895
895
|
* @public
|
|
896
896
|
*/
|
|
897
|
-
sortOrder?: SortOrder;
|
|
897
|
+
sortOrder?: SortOrder | undefined;
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
900
900
|
* <p>This container is used to specify a time frame.</p>
|
|
@@ -905,12 +905,12 @@ export interface TimeFilter {
|
|
|
905
905
|
* <p>The container for time.</p>
|
|
906
906
|
* @public
|
|
907
907
|
*/
|
|
908
|
-
from?: BlockchainInstant;
|
|
908
|
+
from?: BlockchainInstant | undefined;
|
|
909
909
|
/**
|
|
910
910
|
* <p>The container for time.</p>
|
|
911
911
|
* @public
|
|
912
912
|
*/
|
|
913
|
-
to?: BlockchainInstant;
|
|
913
|
+
to?: BlockchainInstant | undefined;
|
|
914
914
|
}
|
|
915
915
|
/**
|
|
916
916
|
* <p>This container specifies filtering attributes related to <code>BITCOIN_VOUT</code> event types</p>
|
|
@@ -943,29 +943,29 @@ export interface ListFilteredTransactionEventsInput {
|
|
|
943
943
|
* <p>This container specifies the time frame for the transaction events returned in the response.</p>
|
|
944
944
|
* @public
|
|
945
945
|
*/
|
|
946
|
-
timeFilter?: TimeFilter;
|
|
946
|
+
timeFilter?: TimeFilter | undefined;
|
|
947
947
|
/**
|
|
948
948
|
* <p>This container specifies filtering attributes related to BITCOIN_VOUT event types</p>
|
|
949
949
|
* @public
|
|
950
950
|
*/
|
|
951
|
-
voutFilter?: VoutFilter;
|
|
951
|
+
voutFilter?: VoutFilter | undefined;
|
|
952
952
|
/**
|
|
953
953
|
* <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">
|
|
954
954
|
* <i>finality</i>
|
|
955
955
|
* </a> of the results.</p>
|
|
956
956
|
* @public
|
|
957
957
|
*/
|
|
958
|
-
confirmationStatusFilter?: ConfirmationStatusFilter;
|
|
958
|
+
confirmationStatusFilter?: ConfirmationStatusFilter | undefined;
|
|
959
959
|
/**
|
|
960
960
|
* <p>The order by which the results will be sorted.</p>
|
|
961
961
|
* @public
|
|
962
962
|
*/
|
|
963
|
-
sort?: ListFilteredTransactionEventsSort;
|
|
963
|
+
sort?: ListFilteredTransactionEventsSort | undefined;
|
|
964
964
|
/**
|
|
965
965
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
966
966
|
* @public
|
|
967
967
|
*/
|
|
968
|
-
nextToken?: string;
|
|
968
|
+
nextToken?: string | undefined;
|
|
969
969
|
/**
|
|
970
970
|
* <p>The maximum number of transaction events to list.</p>
|
|
971
971
|
* <p>Default: <code>100</code>
|
|
@@ -979,7 +979,7 @@ export interface ListFilteredTransactionEventsInput {
|
|
|
979
979
|
* </note>
|
|
980
980
|
* @public
|
|
981
981
|
*/
|
|
982
|
-
maxResults?: number;
|
|
982
|
+
maxResults?: number | undefined;
|
|
983
983
|
}
|
|
984
984
|
/**
|
|
985
985
|
* @public
|
|
@@ -1059,37 +1059,37 @@ export interface TransactionEvent {
|
|
|
1059
1059
|
* <p>The wallet address initiating the transaction. It can either be a public key or a contract.</p>
|
|
1060
1060
|
* @public
|
|
1061
1061
|
*/
|
|
1062
|
-
from?: string;
|
|
1062
|
+
from?: string | undefined;
|
|
1063
1063
|
/**
|
|
1064
1064
|
* <p>The wallet address receiving the transaction. It can either be a public key or a contract.</p>
|
|
1065
1065
|
* @public
|
|
1066
1066
|
*/
|
|
1067
|
-
to?: string;
|
|
1067
|
+
to?: string | undefined;
|
|
1068
1068
|
/**
|
|
1069
1069
|
* <p>The value that was transacted.</p>
|
|
1070
1070
|
* @public
|
|
1071
1071
|
*/
|
|
1072
|
-
value?: string;
|
|
1072
|
+
value?: string | undefined;
|
|
1073
1073
|
/**
|
|
1074
1074
|
* <p>The blockchain address for the contract</p>
|
|
1075
1075
|
* @public
|
|
1076
1076
|
*/
|
|
1077
|
-
contractAddress?: string;
|
|
1077
|
+
contractAddress?: string | undefined;
|
|
1078
1078
|
/**
|
|
1079
1079
|
* <p>The unique identifier for the token involved in the transaction.</p>
|
|
1080
1080
|
* @public
|
|
1081
1081
|
*/
|
|
1082
|
-
tokenId?: string;
|
|
1082
|
+
tokenId?: string | undefined;
|
|
1083
1083
|
/**
|
|
1084
1084
|
* <p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p>
|
|
1085
1085
|
* @public
|
|
1086
1086
|
*/
|
|
1087
|
-
transactionId?: string;
|
|
1087
|
+
transactionId?: string | undefined;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* <p>The position of the transaction output in the transaction output list.</p>
|
|
1090
1090
|
* @public
|
|
1091
1091
|
*/
|
|
1092
|
-
voutIndex?: number;
|
|
1092
|
+
voutIndex?: number | undefined;
|
|
1093
1093
|
/**
|
|
1094
1094
|
* <p>Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.</p>
|
|
1095
1095
|
* <note>
|
|
@@ -1097,7 +1097,7 @@ export interface TransactionEvent {
|
|
|
1097
1097
|
* </note>
|
|
1098
1098
|
* @public
|
|
1099
1099
|
*/
|
|
1100
|
-
voutSpent?: boolean;
|
|
1100
|
+
voutSpent?: boolean | undefined;
|
|
1101
1101
|
/**
|
|
1102
1102
|
* <p>The transactionId that <i>created</i> the spent transaction output.</p>
|
|
1103
1103
|
* <note>
|
|
@@ -1105,7 +1105,7 @@ export interface TransactionEvent {
|
|
|
1105
1105
|
* </note>
|
|
1106
1106
|
* @public
|
|
1107
1107
|
*/
|
|
1108
|
-
spentVoutTransactionId?: string;
|
|
1108
|
+
spentVoutTransactionId?: string | undefined;
|
|
1109
1109
|
/**
|
|
1110
1110
|
* <p>The transactionHash that <i>created</i> the spent transaction output.</p>
|
|
1111
1111
|
* <note>
|
|
@@ -1113,7 +1113,7 @@ export interface TransactionEvent {
|
|
|
1113
1113
|
* </note>
|
|
1114
1114
|
* @public
|
|
1115
1115
|
*/
|
|
1116
|
-
spentVoutTransactionHash?: string;
|
|
1116
|
+
spentVoutTransactionHash?: string | undefined;
|
|
1117
1117
|
/**
|
|
1118
1118
|
* <p>The position of the spent transaction output in the output list of the <i>creating transaction</i>.</p>
|
|
1119
1119
|
* <note>
|
|
@@ -1121,17 +1121,17 @@ export interface TransactionEvent {
|
|
|
1121
1121
|
* </note>
|
|
1122
1122
|
* @public
|
|
1123
1123
|
*/
|
|
1124
|
-
spentVoutIndex?: number;
|
|
1124
|
+
spentVoutIndex?: number | undefined;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* <p>The container for time.</p>
|
|
1127
1127
|
* @public
|
|
1128
1128
|
*/
|
|
1129
|
-
blockchainInstant?: BlockchainInstant;
|
|
1129
|
+
blockchainInstant?: BlockchainInstant | undefined;
|
|
1130
1130
|
/**
|
|
1131
1131
|
* <p>This container specifies whether the transaction has reached Finality.</p>
|
|
1132
1132
|
* @public
|
|
1133
1133
|
*/
|
|
1134
|
-
confirmationStatus?: ConfirmationStatus;
|
|
1134
|
+
confirmationStatus?: ConfirmationStatus | undefined;
|
|
1135
1135
|
}
|
|
1136
1136
|
/**
|
|
1137
1137
|
* @public
|
|
@@ -1146,7 +1146,7 @@ export interface ListFilteredTransactionEventsOutput {
|
|
|
1146
1146
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1147
1147
|
* @public
|
|
1148
1148
|
*/
|
|
1149
|
-
nextToken?: string;
|
|
1149
|
+
nextToken?: string | undefined;
|
|
1150
1150
|
}
|
|
1151
1151
|
/**
|
|
1152
1152
|
* <p>The container for the owner information to filter by.</p>
|
|
@@ -1179,12 +1179,12 @@ export interface TokenFilter {
|
|
|
1179
1179
|
* <p>This is the address of the contract.</p>
|
|
1180
1180
|
* @public
|
|
1181
1181
|
*/
|
|
1182
|
-
contractAddress?: string;
|
|
1182
|
+
contractAddress?: string | undefined;
|
|
1183
1183
|
/**
|
|
1184
1184
|
* <p>The unique identifier of the token.</p>
|
|
1185
1185
|
* @public
|
|
1186
1186
|
*/
|
|
1187
|
-
tokenId?: string;
|
|
1187
|
+
tokenId?: string | undefined;
|
|
1188
1188
|
}
|
|
1189
1189
|
/**
|
|
1190
1190
|
* @public
|
|
@@ -1196,7 +1196,7 @@ export interface ListTokenBalancesInput {
|
|
|
1196
1196
|
* when listing balances of tokens owned by the address.</p>
|
|
1197
1197
|
* @public
|
|
1198
1198
|
*/
|
|
1199
|
-
ownerFilter?: OwnerFilter;
|
|
1199
|
+
ownerFilter?: OwnerFilter | undefined;
|
|
1200
1200
|
/**
|
|
1201
1201
|
* <p>The contract address or a token identifier on the
|
|
1202
1202
|
* blockchain network by which to filter the request. You must specify the <code>contractAddress</code>
|
|
@@ -1212,7 +1212,7 @@ export interface ListTokenBalancesInput {
|
|
|
1212
1212
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1213
1213
|
* @public
|
|
1214
1214
|
*/
|
|
1215
|
-
nextToken?: string;
|
|
1215
|
+
nextToken?: string | undefined;
|
|
1216
1216
|
/**
|
|
1217
1217
|
* <p>The maximum number of token balances to return.</p>
|
|
1218
1218
|
* <p>Default: <code>100</code>
|
|
@@ -1226,7 +1226,7 @@ export interface ListTokenBalancesInput {
|
|
|
1226
1226
|
* </note>
|
|
1227
1227
|
* @public
|
|
1228
1228
|
*/
|
|
1229
|
-
maxResults?: number;
|
|
1229
|
+
maxResults?: number | undefined;
|
|
1230
1230
|
}
|
|
1231
1231
|
/**
|
|
1232
1232
|
* <p>The balance of the token.</p>
|
|
@@ -1237,12 +1237,12 @@ export interface TokenBalance {
|
|
|
1237
1237
|
* <p>The container for the identifier of the owner.</p>
|
|
1238
1238
|
* @public
|
|
1239
1239
|
*/
|
|
1240
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
1240
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
1241
1241
|
/**
|
|
1242
1242
|
* <p>The identifier for the token, including the unique token ID and its blockchain network.</p>
|
|
1243
1243
|
* @public
|
|
1244
1244
|
*/
|
|
1245
|
-
tokenIdentifier?: TokenIdentifier;
|
|
1245
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
1246
1246
|
/**
|
|
1247
1247
|
* <p>The container of the token balance.</p>
|
|
1248
1248
|
* @public
|
|
@@ -1261,7 +1261,7 @@ export interface TokenBalance {
|
|
|
1261
1261
|
* <p>The <code>Timestamp</code> of the last transaction at which the balance for the token in the wallet was updated.</p>
|
|
1262
1262
|
* @public
|
|
1263
1263
|
*/
|
|
1264
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
1264
|
+
lastUpdatedTime?: BlockchainInstant | undefined;
|
|
1265
1265
|
}
|
|
1266
1266
|
/**
|
|
1267
1267
|
* @public
|
|
@@ -1277,7 +1277,7 @@ export interface ListTokenBalancesOutput {
|
|
|
1277
1277
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1278
1278
|
* @public
|
|
1279
1279
|
*/
|
|
1280
|
-
nextToken?: string;
|
|
1280
|
+
nextToken?: string | undefined;
|
|
1281
1281
|
}
|
|
1282
1282
|
/**
|
|
1283
1283
|
* @public
|
|
@@ -1287,7 +1287,7 @@ export interface ListTransactionEventsInput {
|
|
|
1287
1287
|
* <p>The hash of a transaction. It is generated when a transaction is created.</p>
|
|
1288
1288
|
* @public
|
|
1289
1289
|
*/
|
|
1290
|
-
transactionHash?: string;
|
|
1290
|
+
transactionHash?: string | undefined;
|
|
1291
1291
|
/**
|
|
1292
1292
|
* <p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p>
|
|
1293
1293
|
* <note>
|
|
@@ -1296,7 +1296,7 @@ export interface ListTransactionEventsInput {
|
|
|
1296
1296
|
* </note>
|
|
1297
1297
|
* @public
|
|
1298
1298
|
*/
|
|
1299
|
-
transactionId?: string;
|
|
1299
|
+
transactionId?: string | undefined;
|
|
1300
1300
|
/**
|
|
1301
1301
|
* <p>The blockchain network where the transaction events occurred.</p>
|
|
1302
1302
|
* @public
|
|
@@ -1306,7 +1306,7 @@ export interface ListTransactionEventsInput {
|
|
|
1306
1306
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1307
1307
|
* @public
|
|
1308
1308
|
*/
|
|
1309
|
-
nextToken?: string;
|
|
1309
|
+
nextToken?: string | undefined;
|
|
1310
1310
|
/**
|
|
1311
1311
|
* <p>The maximum number of transaction events to list.</p>
|
|
1312
1312
|
* <p>Default: <code>100</code>
|
|
@@ -1320,7 +1320,7 @@ export interface ListTransactionEventsInput {
|
|
|
1320
1320
|
* </note>
|
|
1321
1321
|
* @public
|
|
1322
1322
|
*/
|
|
1323
|
-
maxResults?: number;
|
|
1323
|
+
maxResults?: number | undefined;
|
|
1324
1324
|
}
|
|
1325
1325
|
/**
|
|
1326
1326
|
* @public
|
|
@@ -1336,7 +1336,7 @@ export interface ListTransactionEventsOutput {
|
|
|
1336
1336
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1337
1337
|
* @public
|
|
1338
1338
|
*/
|
|
1339
|
-
nextToken?: string;
|
|
1339
|
+
nextToken?: string | undefined;
|
|
1340
1340
|
}
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @public
|
|
@@ -1362,7 +1362,7 @@ export interface ListTransactionsSort {
|
|
|
1362
1362
|
* <p>Defaults to the value <code>TRANSACTION_TIMESTAMP</code>.</p>
|
|
1363
1363
|
* @public
|
|
1364
1364
|
*/
|
|
1365
|
-
sortBy?: ListTransactionsSortBy;
|
|
1365
|
+
sortBy?: ListTransactionsSortBy | undefined;
|
|
1366
1366
|
/**
|
|
1367
1367
|
* <p>The container for the <i>sort order</i> for <code>ListTransactions</code>.
|
|
1368
1368
|
* The <code>SortOrder</code> field only accepts the values <code>ASCENDING</code>
|
|
@@ -1370,7 +1370,7 @@ export interface ListTransactionsSort {
|
|
|
1370
1370
|
* to <code>ASCENDING</code>.</p>
|
|
1371
1371
|
* @public
|
|
1372
1372
|
*/
|
|
1373
|
-
sortOrder?: SortOrder;
|
|
1373
|
+
sortOrder?: SortOrder | undefined;
|
|
1374
1374
|
}
|
|
1375
1375
|
/**
|
|
1376
1376
|
* @public
|
|
@@ -1390,22 +1390,22 @@ export interface ListTransactionsInput {
|
|
|
1390
1390
|
* <p>The container for time.</p>
|
|
1391
1391
|
* @public
|
|
1392
1392
|
*/
|
|
1393
|
-
fromBlockchainInstant?: BlockchainInstant;
|
|
1393
|
+
fromBlockchainInstant?: BlockchainInstant | undefined;
|
|
1394
1394
|
/**
|
|
1395
1395
|
* <p>The container for time.</p>
|
|
1396
1396
|
* @public
|
|
1397
1397
|
*/
|
|
1398
|
-
toBlockchainInstant?: BlockchainInstant;
|
|
1398
|
+
toBlockchainInstant?: BlockchainInstant | undefined;
|
|
1399
1399
|
/**
|
|
1400
1400
|
* <p>The order by which the results will be sorted. </p>
|
|
1401
1401
|
* @public
|
|
1402
1402
|
*/
|
|
1403
|
-
sort?: ListTransactionsSort;
|
|
1403
|
+
sort?: ListTransactionsSort | undefined;
|
|
1404
1404
|
/**
|
|
1405
1405
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1406
1406
|
* @public
|
|
1407
1407
|
*/
|
|
1408
|
-
nextToken?: string;
|
|
1408
|
+
nextToken?: string | undefined;
|
|
1409
1409
|
/**
|
|
1410
1410
|
* <p>The maximum number of transactions to list.</p>
|
|
1411
1411
|
* <p>Default: <code>100</code>
|
|
@@ -1419,7 +1419,7 @@ export interface ListTransactionsInput {
|
|
|
1419
1419
|
* </note>
|
|
1420
1420
|
* @public
|
|
1421
1421
|
*/
|
|
1422
|
-
maxResults?: number;
|
|
1422
|
+
maxResults?: number | undefined;
|
|
1423
1423
|
/**
|
|
1424
1424
|
* <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">
|
|
1425
1425
|
* <i>finality</i>
|
|
@@ -1427,7 +1427,7 @@ export interface ListTransactionsInput {
|
|
|
1427
1427
|
* part of the response.</p>
|
|
1428
1428
|
* @public
|
|
1429
1429
|
*/
|
|
1430
|
-
confirmationStatusFilter?: ConfirmationStatusFilter;
|
|
1430
|
+
confirmationStatusFilter?: ConfirmationStatusFilter | undefined;
|
|
1431
1431
|
}
|
|
1432
1432
|
/**
|
|
1433
1433
|
* <p>The container of the transaction output.</p>
|
|
@@ -1443,7 +1443,7 @@ export interface TransactionOutputItem {
|
|
|
1443
1443
|
* <p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p>
|
|
1444
1444
|
* @public
|
|
1445
1445
|
*/
|
|
1446
|
-
transactionId?: string;
|
|
1446
|
+
transactionId?: string | undefined;
|
|
1447
1447
|
/**
|
|
1448
1448
|
* <p>The blockchain network where the transaction occurred.</p>
|
|
1449
1449
|
* @public
|
|
@@ -1458,7 +1458,7 @@ export interface TransactionOutputItem {
|
|
|
1458
1458
|
* <p>Specifies whether to list transactions that have not reached Finality.</p>
|
|
1459
1459
|
* @public
|
|
1460
1460
|
*/
|
|
1461
|
-
confirmationStatus?: ConfirmationStatus;
|
|
1461
|
+
confirmationStatus?: ConfirmationStatus | undefined;
|
|
1462
1462
|
}
|
|
1463
1463
|
/**
|
|
1464
1464
|
* @public
|
|
@@ -1473,5 +1473,5 @@ export interface ListTransactionsOutput {
|
|
|
1473
1473
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1474
1474
|
* @public
|
|
1475
1475
|
*/
|
|
1476
|
-
nextToken?: string;
|
|
1476
|
+
nextToken?: string | undefined;
|
|
1477
1477
|
}
|
|
@@ -34,23 +34,23 @@ export interface AssetContract {
|
|
|
34
34
|
deployerAddress: string | undefined;
|
|
35
35
|
}
|
|
36
36
|
export interface BlockchainInstant {
|
|
37
|
-
time?: Date;
|
|
37
|
+
time?: Date | undefined;
|
|
38
38
|
}
|
|
39
39
|
export interface OwnerIdentifier {
|
|
40
40
|
address: string | undefined;
|
|
41
41
|
}
|
|
42
42
|
export interface TokenIdentifier {
|
|
43
43
|
network: QueryNetwork | undefined;
|
|
44
|
-
contractAddress?: string;
|
|
45
|
-
tokenId?: string;
|
|
44
|
+
contractAddress?: string | undefined;
|
|
45
|
+
tokenId?: string | undefined;
|
|
46
46
|
}
|
|
47
47
|
export interface BatchGetTokenBalanceInputItem {
|
|
48
48
|
tokenIdentifier: TokenIdentifier | undefined;
|
|
49
49
|
ownerIdentifier: OwnerIdentifier | undefined;
|
|
50
|
-
atBlockchainInstant?: BlockchainInstant;
|
|
50
|
+
atBlockchainInstant?: BlockchainInstant | undefined;
|
|
51
51
|
}
|
|
52
52
|
export interface BatchGetTokenBalanceInput {
|
|
53
|
-
getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[];
|
|
53
|
+
getTokenBalanceInputs?: BatchGetTokenBalanceInputItem[] | undefined;
|
|
54
54
|
}
|
|
55
55
|
export declare const ErrorType: {
|
|
56
56
|
readonly RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION";
|
|
@@ -58,19 +58,19 @@ export declare const ErrorType: {
|
|
|
58
58
|
};
|
|
59
59
|
export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType];
|
|
60
60
|
export interface BatchGetTokenBalanceErrorItem {
|
|
61
|
-
tokenIdentifier?: TokenIdentifier;
|
|
62
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
63
|
-
atBlockchainInstant?: BlockchainInstant;
|
|
61
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
62
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
63
|
+
atBlockchainInstant?: BlockchainInstant | undefined;
|
|
64
64
|
errorCode: string | undefined;
|
|
65
65
|
errorMessage: string | undefined;
|
|
66
66
|
errorType: ErrorType | undefined;
|
|
67
67
|
}
|
|
68
68
|
export interface BatchGetTokenBalanceOutputItem {
|
|
69
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
70
|
-
tokenIdentifier?: TokenIdentifier;
|
|
69
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
70
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
71
71
|
balance: string | undefined;
|
|
72
72
|
atBlockchainInstant: BlockchainInstant | undefined;
|
|
73
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
73
|
+
lastUpdatedTime?: BlockchainInstant | undefined;
|
|
74
74
|
}
|
|
75
75
|
export interface BatchGetTokenBalanceOutput {
|
|
76
76
|
tokenBalances: BatchGetTokenBalanceOutputItem[] | undefined;
|
|
@@ -80,7 +80,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
80
80
|
readonly name: "InternalServerException";
|
|
81
81
|
readonly $fault: "server";
|
|
82
82
|
$retryable: {};
|
|
83
|
-
retryAfterSeconds?: number;
|
|
83
|
+
retryAfterSeconds?: number | undefined;
|
|
84
84
|
constructor(
|
|
85
85
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
86
86
|
);
|
|
@@ -117,7 +117,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
117
117
|
};
|
|
118
118
|
serviceCode: string | undefined;
|
|
119
119
|
quotaCode: string | undefined;
|
|
120
|
-
retryAfterSeconds?: number;
|
|
120
|
+
retryAfterSeconds?: number | undefined;
|
|
121
121
|
constructor(
|
|
122
122
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
123
123
|
);
|
|
@@ -138,7 +138,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
138
138
|
readonly name: "ValidationException";
|
|
139
139
|
readonly $fault: "client";
|
|
140
140
|
reason: ValidationExceptionReason | undefined;
|
|
141
|
-
fieldList?: ValidationExceptionField[];
|
|
141
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
142
142
|
constructor(
|
|
143
143
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
144
144
|
);
|
|
@@ -158,9 +158,9 @@ export interface ContractFilter {
|
|
|
158
158
|
deployerAddress: string | undefined;
|
|
159
159
|
}
|
|
160
160
|
export interface ContractMetadata {
|
|
161
|
-
name?: string;
|
|
162
|
-
symbol?: string;
|
|
163
|
-
decimals?: number;
|
|
161
|
+
name?: string | undefined;
|
|
162
|
+
symbol?: string | undefined;
|
|
163
|
+
decimals?: number | undefined;
|
|
164
164
|
}
|
|
165
165
|
export declare const ExecutionStatus: {
|
|
166
166
|
readonly FAILED: "FAILED";
|
|
@@ -175,58 +175,58 @@ export interface GetAssetContractOutput {
|
|
|
175
175
|
contractIdentifier: ContractIdentifier | undefined;
|
|
176
176
|
tokenStandard: QueryTokenStandard | undefined;
|
|
177
177
|
deployerAddress: string | undefined;
|
|
178
|
-
metadata?: ContractMetadata;
|
|
178
|
+
metadata?: ContractMetadata | undefined;
|
|
179
179
|
}
|
|
180
180
|
export interface GetTokenBalanceInput {
|
|
181
181
|
tokenIdentifier: TokenIdentifier | undefined;
|
|
182
182
|
ownerIdentifier: OwnerIdentifier | undefined;
|
|
183
|
-
atBlockchainInstant?: BlockchainInstant;
|
|
183
|
+
atBlockchainInstant?: BlockchainInstant | undefined;
|
|
184
184
|
}
|
|
185
185
|
export interface GetTokenBalanceOutput {
|
|
186
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
187
|
-
tokenIdentifier?: TokenIdentifier;
|
|
186
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
187
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
188
188
|
balance: string | undefined;
|
|
189
189
|
atBlockchainInstant: BlockchainInstant | undefined;
|
|
190
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
190
|
+
lastUpdatedTime?: BlockchainInstant | undefined;
|
|
191
191
|
}
|
|
192
192
|
export interface GetTransactionInput {
|
|
193
|
-
transactionHash?: string;
|
|
194
|
-
transactionId?: string;
|
|
193
|
+
transactionHash?: string | undefined;
|
|
194
|
+
transactionId?: string | undefined;
|
|
195
195
|
network: QueryNetwork | undefined;
|
|
196
196
|
}
|
|
197
197
|
export interface Transaction {
|
|
198
198
|
network: QueryNetwork | undefined;
|
|
199
|
-
blockHash?: string;
|
|
199
|
+
blockHash?: string | undefined;
|
|
200
200
|
transactionHash: string | undefined;
|
|
201
|
-
blockNumber?: string;
|
|
201
|
+
blockNumber?: string | undefined;
|
|
202
202
|
transactionTimestamp: Date | undefined;
|
|
203
203
|
transactionIndex: number | undefined;
|
|
204
204
|
numberOfTransactions: number | undefined;
|
|
205
205
|
to: string | undefined;
|
|
206
|
-
from?: string;
|
|
207
|
-
contractAddress?: string;
|
|
208
|
-
gasUsed?: string;
|
|
209
|
-
cumulativeGasUsed?: string;
|
|
210
|
-
effectiveGasPrice?: string;
|
|
211
|
-
signatureV?: number;
|
|
212
|
-
signatureR?: string;
|
|
213
|
-
signatureS?: string;
|
|
214
|
-
transactionFee?: string;
|
|
215
|
-
transactionId?: string;
|
|
216
|
-
confirmationStatus?: ConfirmationStatus;
|
|
217
|
-
executionStatus?: ExecutionStatus;
|
|
206
|
+
from?: string | undefined;
|
|
207
|
+
contractAddress?: string | undefined;
|
|
208
|
+
gasUsed?: string | undefined;
|
|
209
|
+
cumulativeGasUsed?: string | undefined;
|
|
210
|
+
effectiveGasPrice?: string | undefined;
|
|
211
|
+
signatureV?: number | undefined;
|
|
212
|
+
signatureR?: string | undefined;
|
|
213
|
+
signatureS?: string | undefined;
|
|
214
|
+
transactionFee?: string | undefined;
|
|
215
|
+
transactionId?: string | undefined;
|
|
216
|
+
confirmationStatus?: ConfirmationStatus | undefined;
|
|
217
|
+
executionStatus?: ExecutionStatus | undefined;
|
|
218
218
|
}
|
|
219
219
|
export interface GetTransactionOutput {
|
|
220
220
|
transaction: Transaction | undefined;
|
|
221
221
|
}
|
|
222
222
|
export interface ListAssetContractsInput {
|
|
223
223
|
contractFilter: ContractFilter | undefined;
|
|
224
|
-
nextToken?: string;
|
|
225
|
-
maxResults?: number;
|
|
224
|
+
nextToken?: string | undefined;
|
|
225
|
+
maxResults?: number | undefined;
|
|
226
226
|
}
|
|
227
227
|
export interface ListAssetContractsOutput {
|
|
228
228
|
contracts: AssetContract[] | undefined;
|
|
229
|
-
nextToken?: string;
|
|
229
|
+
nextToken?: string | undefined;
|
|
230
230
|
}
|
|
231
231
|
export declare const ListFilteredTransactionEventsSortBy: {
|
|
232
232
|
readonly blockchainInstant: "blockchainInstant";
|
|
@@ -239,12 +239,12 @@ export declare const SortOrder: {
|
|
|
239
239
|
};
|
|
240
240
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
241
241
|
export interface ListFilteredTransactionEventsSort {
|
|
242
|
-
sortBy?: ListFilteredTransactionEventsSortBy;
|
|
243
|
-
sortOrder?: SortOrder;
|
|
242
|
+
sortBy?: ListFilteredTransactionEventsSortBy | undefined;
|
|
243
|
+
sortOrder?: SortOrder | undefined;
|
|
244
244
|
}
|
|
245
245
|
export interface TimeFilter {
|
|
246
|
-
from?: BlockchainInstant;
|
|
247
|
-
to?: BlockchainInstant;
|
|
246
|
+
from?: BlockchainInstant | undefined;
|
|
247
|
+
to?: BlockchainInstant | undefined;
|
|
248
248
|
}
|
|
249
249
|
export interface VoutFilter {
|
|
250
250
|
voutSpent: boolean | undefined;
|
|
@@ -252,12 +252,12 @@ export interface VoutFilter {
|
|
|
252
252
|
export interface ListFilteredTransactionEventsInput {
|
|
253
253
|
network: string | undefined;
|
|
254
254
|
addressIdentifierFilter: AddressIdentifierFilter | undefined;
|
|
255
|
-
timeFilter?: TimeFilter;
|
|
256
|
-
voutFilter?: VoutFilter;
|
|
257
|
-
confirmationStatusFilter?: ConfirmationStatusFilter;
|
|
258
|
-
sort?: ListFilteredTransactionEventsSort;
|
|
259
|
-
nextToken?: string;
|
|
260
|
-
maxResults?: number;
|
|
255
|
+
timeFilter?: TimeFilter | undefined;
|
|
256
|
+
voutFilter?: VoutFilter | undefined;
|
|
257
|
+
confirmationStatusFilter?: ConfirmationStatusFilter | undefined;
|
|
258
|
+
sort?: ListFilteredTransactionEventsSort | undefined;
|
|
259
|
+
nextToken?: string | undefined;
|
|
260
|
+
maxResults?: number | undefined;
|
|
261
261
|
}
|
|
262
262
|
export declare const QueryTransactionEventType: {
|
|
263
263
|
readonly BITCOIN_VIN: "BITCOIN_VIN";
|
|
@@ -278,59 +278,59 @@ export interface TransactionEvent {
|
|
|
278
278
|
network: QueryNetwork | undefined;
|
|
279
279
|
transactionHash: string | undefined;
|
|
280
280
|
eventType: QueryTransactionEventType | undefined;
|
|
281
|
-
from?: string;
|
|
282
|
-
to?: string;
|
|
283
|
-
value?: string;
|
|
284
|
-
contractAddress?: string;
|
|
285
|
-
tokenId?: string;
|
|
286
|
-
transactionId?: string;
|
|
287
|
-
voutIndex?: number;
|
|
288
|
-
voutSpent?: boolean;
|
|
289
|
-
spentVoutTransactionId?: string;
|
|
290
|
-
spentVoutTransactionHash?: string;
|
|
291
|
-
spentVoutIndex?: number;
|
|
292
|
-
blockchainInstant?: BlockchainInstant;
|
|
293
|
-
confirmationStatus?: ConfirmationStatus;
|
|
281
|
+
from?: string | undefined;
|
|
282
|
+
to?: string | undefined;
|
|
283
|
+
value?: string | undefined;
|
|
284
|
+
contractAddress?: string | undefined;
|
|
285
|
+
tokenId?: string | undefined;
|
|
286
|
+
transactionId?: string | undefined;
|
|
287
|
+
voutIndex?: number | undefined;
|
|
288
|
+
voutSpent?: boolean | undefined;
|
|
289
|
+
spentVoutTransactionId?: string | undefined;
|
|
290
|
+
spentVoutTransactionHash?: string | undefined;
|
|
291
|
+
spentVoutIndex?: number | undefined;
|
|
292
|
+
blockchainInstant?: BlockchainInstant | undefined;
|
|
293
|
+
confirmationStatus?: ConfirmationStatus | undefined;
|
|
294
294
|
}
|
|
295
295
|
export interface ListFilteredTransactionEventsOutput {
|
|
296
296
|
events: TransactionEvent[] | undefined;
|
|
297
|
-
nextToken?: string;
|
|
297
|
+
nextToken?: string | undefined;
|
|
298
298
|
}
|
|
299
299
|
export interface OwnerFilter {
|
|
300
300
|
address: string | undefined;
|
|
301
301
|
}
|
|
302
302
|
export interface TokenFilter {
|
|
303
303
|
network: QueryNetwork | undefined;
|
|
304
|
-
contractAddress?: string;
|
|
305
|
-
tokenId?: string;
|
|
304
|
+
contractAddress?: string | undefined;
|
|
305
|
+
tokenId?: string | undefined;
|
|
306
306
|
}
|
|
307
307
|
export interface ListTokenBalancesInput {
|
|
308
|
-
ownerFilter?: OwnerFilter;
|
|
308
|
+
ownerFilter?: OwnerFilter | undefined;
|
|
309
309
|
tokenFilter: TokenFilter | undefined;
|
|
310
|
-
nextToken?: string;
|
|
311
|
-
maxResults?: number;
|
|
310
|
+
nextToken?: string | undefined;
|
|
311
|
+
maxResults?: number | undefined;
|
|
312
312
|
}
|
|
313
313
|
export interface TokenBalance {
|
|
314
|
-
ownerIdentifier?: OwnerIdentifier;
|
|
315
|
-
tokenIdentifier?: TokenIdentifier;
|
|
314
|
+
ownerIdentifier?: OwnerIdentifier | undefined;
|
|
315
|
+
tokenIdentifier?: TokenIdentifier | undefined;
|
|
316
316
|
balance: string | undefined;
|
|
317
317
|
atBlockchainInstant: BlockchainInstant | undefined;
|
|
318
|
-
lastUpdatedTime?: BlockchainInstant;
|
|
318
|
+
lastUpdatedTime?: BlockchainInstant | undefined;
|
|
319
319
|
}
|
|
320
320
|
export interface ListTokenBalancesOutput {
|
|
321
321
|
tokenBalances: TokenBalance[] | undefined;
|
|
322
|
-
nextToken?: string;
|
|
322
|
+
nextToken?: string | undefined;
|
|
323
323
|
}
|
|
324
324
|
export interface ListTransactionEventsInput {
|
|
325
|
-
transactionHash?: string;
|
|
326
|
-
transactionId?: string;
|
|
325
|
+
transactionHash?: string | undefined;
|
|
326
|
+
transactionId?: string | undefined;
|
|
327
327
|
network: QueryNetwork | undefined;
|
|
328
|
-
nextToken?: string;
|
|
329
|
-
maxResults?: number;
|
|
328
|
+
nextToken?: string | undefined;
|
|
329
|
+
maxResults?: number | undefined;
|
|
330
330
|
}
|
|
331
331
|
export interface ListTransactionEventsOutput {
|
|
332
332
|
events: TransactionEvent[] | undefined;
|
|
333
|
-
nextToken?: string;
|
|
333
|
+
nextToken?: string | undefined;
|
|
334
334
|
}
|
|
335
335
|
export declare const ListTransactionsSortBy: {
|
|
336
336
|
readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
|
|
@@ -338,27 +338,27 @@ export declare const ListTransactionsSortBy: {
|
|
|
338
338
|
export type ListTransactionsSortBy =
|
|
339
339
|
(typeof ListTransactionsSortBy)[keyof typeof ListTransactionsSortBy];
|
|
340
340
|
export interface ListTransactionsSort {
|
|
341
|
-
sortBy?: ListTransactionsSortBy;
|
|
342
|
-
sortOrder?: SortOrder;
|
|
341
|
+
sortBy?: ListTransactionsSortBy | undefined;
|
|
342
|
+
sortOrder?: SortOrder | undefined;
|
|
343
343
|
}
|
|
344
344
|
export interface ListTransactionsInput {
|
|
345
345
|
address: string | undefined;
|
|
346
346
|
network: QueryNetwork | undefined;
|
|
347
|
-
fromBlockchainInstant?: BlockchainInstant;
|
|
348
|
-
toBlockchainInstant?: BlockchainInstant;
|
|
349
|
-
sort?: ListTransactionsSort;
|
|
350
|
-
nextToken?: string;
|
|
351
|
-
maxResults?: number;
|
|
352
|
-
confirmationStatusFilter?: ConfirmationStatusFilter;
|
|
347
|
+
fromBlockchainInstant?: BlockchainInstant | undefined;
|
|
348
|
+
toBlockchainInstant?: BlockchainInstant | undefined;
|
|
349
|
+
sort?: ListTransactionsSort | undefined;
|
|
350
|
+
nextToken?: string | undefined;
|
|
351
|
+
maxResults?: number | undefined;
|
|
352
|
+
confirmationStatusFilter?: ConfirmationStatusFilter | undefined;
|
|
353
353
|
}
|
|
354
354
|
export interface TransactionOutputItem {
|
|
355
355
|
transactionHash: string | undefined;
|
|
356
|
-
transactionId?: string;
|
|
356
|
+
transactionId?: string | undefined;
|
|
357
357
|
network: QueryNetwork | undefined;
|
|
358
358
|
transactionTimestamp: Date | undefined;
|
|
359
|
-
confirmationStatus?: ConfirmationStatus;
|
|
359
|
+
confirmationStatus?: ConfirmationStatus | undefined;
|
|
360
360
|
}
|
|
361
361
|
export interface ListTransactionsOutput {
|
|
362
362
|
transactions: TransactionOutputItem[] | undefined;
|
|
363
|
-
nextToken?: string;
|
|
363
|
+
nextToken?: string | undefined;
|
|
364
364
|
}
|
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.691.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,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|