aws-sdk-managedblockchainquery 1.7.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,6 +24,20 @@ module Aws::ManagedBlockchainQuery
24
24
  include Aws::Structure
25
25
  end
26
26
 
27
+ # This is the container for the unique public address on the blockchain.
28
+ #
29
+ # @!attribute [rw] transaction_event_to_address
30
+ # The container for the recipient address of the transaction.
31
+ # @return [Array<String>]
32
+ #
33
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/AddressIdentifierFilter AWS API Documentation
34
+ #
35
+ class AddressIdentifierFilter < Struct.new(
36
+ :transaction_event_to_address)
37
+ SENSITIVE = []
38
+ include Aws::Structure
39
+ end
40
+
27
41
  # This container contains information about an contract.
28
42
  #
29
43
  # @!attribute [rw] contract_identifier
@@ -55,14 +69,14 @@ module Aws::ManagedBlockchainQuery
55
69
  # The container for the identifier for the token including the unique
56
70
  # token ID and its blockchain network.
57
71
  #
58
- # <note markdown="1"> Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC
72
+ # <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
59
73
  # 1155 token standards are supported.
60
74
  #
61
75
  # </note>
62
76
  # @return [Types::TokenIdentifier]
63
77
  #
64
78
  # @!attribute [rw] owner_identifier
65
- # The container for the identifier of the owner.
79
+ # The container for the owner identifier.
66
80
  # @return [Types::OwnerIdentifier]
67
81
  #
68
82
  # @!attribute [rw] at_blockchain_instant
@@ -113,14 +127,14 @@ module Aws::ManagedBlockchainQuery
113
127
  # The container for the identifier for the token including the unique
114
128
  # token ID and its blockchain network.
115
129
  #
116
- # <note markdown="1"> Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC
130
+ # <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
117
131
  # 1155 token standards are supported.
118
132
  #
119
133
  # </note>
120
134
  # @return [Types::TokenIdentifier]
121
135
  #
122
136
  # @!attribute [rw] owner_identifier
123
- # The container for the identifier of the owner.
137
+ # The container for the owner identifier.
124
138
  # @return [Types::OwnerIdentifier]
125
139
  #
126
140
  # @!attribute [rw] at_blockchain_instant
@@ -159,14 +173,14 @@ module Aws::ManagedBlockchainQuery
159
173
  # The container for the properties of a token balance output.
160
174
  #
161
175
  # @!attribute [rw] owner_identifier
162
- # The container for the identifier of the owner.
176
+ # The container for the owner identifier.
163
177
  # @return [Types::OwnerIdentifier]
164
178
  #
165
179
  # @!attribute [rw] token_identifier
166
180
  # The container for the identifier for the token including the unique
167
181
  # token ID and its blockchain network.
168
182
  #
169
- # <note markdown="1"> Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC
183
+ # <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
170
184
  # 1155 token standards are supported.
171
185
  #
172
186
  # </note>
@@ -214,6 +228,31 @@ module Aws::ManagedBlockchainQuery
214
228
  include Aws::Structure
215
229
  end
216
230
 
231
+ # The container for the `ConfirmationStatusFilter` that filters for the
232
+ # [ *finality* ][1] of the results.
233
+ #
234
+ #
235
+ #
236
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
237
+ #
238
+ # @!attribute [rw] include
239
+ # The container to determine whether to list results that have only
240
+ # reached [ *finality* ][1]. Transactions that have reached finality
241
+ # are always part of the response.
242
+ #
243
+ #
244
+ #
245
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
246
+ # @return [Array<String>]
247
+ #
248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ConfirmationStatusFilter AWS API Documentation
249
+ #
250
+ class ConfirmationStatusFilter < Struct.new(
251
+ :include)
252
+ SENSITIVE = []
253
+ include Aws::Structure
254
+ end
255
+
217
256
  # The contract or wallet address by which to filter the request.
218
257
  #
219
258
  # @!attribute [rw] network
@@ -352,14 +391,14 @@ module Aws::ManagedBlockchainQuery
352
391
  end
353
392
 
354
393
  # @!attribute [rw] owner_identifier
355
- # The container for the identifier of the owner.
394
+ # The container for the owner identifier.
356
395
  # @return [Types::OwnerIdentifier]
357
396
  #
358
397
  # @!attribute [rw] token_identifier
359
398
  # The container for the identifier for the token including the unique
360
399
  # token ID and its blockchain network.
361
400
  #
362
- # <note markdown="1"> Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC
401
+ # <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
363
402
  # 1155 token standards are supported.
364
403
  #
365
404
  # </note>
@@ -390,8 +429,8 @@ module Aws::ManagedBlockchainQuery
390
429
  end
391
430
 
392
431
  # @!attribute [rw] transaction_hash
393
- # The hash of the transaction. It is generated whenever a transaction
394
- # is verified and added to the blockchain.
432
+ # The hash of a transaction. It is generated when a transaction is
433
+ # created.
395
434
  # @return [String]
396
435
  #
397
436
  # @!attribute [rw] network
@@ -427,7 +466,7 @@ module Aws::ManagedBlockchainQuery
427
466
  # @return [String]
428
467
  #
429
468
  # @!attribute [rw] retry_after_seconds
430
- # The container of the `retryAfterSeconds` value.
469
+ # Specifies the `retryAfterSeconds` value.
431
470
  # @return [Integer]
432
471
  #
433
472
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/InternalServerException AWS API Documentation
@@ -450,6 +489,17 @@ module Aws::ManagedBlockchainQuery
450
489
  #
451
490
  # @!attribute [rw] max_results
452
491
  # The maximum number of contracts to list.
492
+ #
493
+ # Default: `100`
494
+ #
495
+ # <note markdown="1"> Even if additional results can be retrieved, the request can return
496
+ # less results than `maxResults` or an empty array of results.
497
+ #
498
+ # To retrieve the next set of results, make another request with the
499
+ # returned `nextToken` value. The value of `nextToken` is `null` when
500
+ # there are no more results to return
501
+ #
502
+ # </note>
453
503
  # @return [Integer]
454
504
  #
455
505
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListAssetContractsInput AWS API Documentation
@@ -481,6 +531,119 @@ module Aws::ManagedBlockchainQuery
481
531
  include Aws::Structure
482
532
  end
483
533
 
534
+ # @!attribute [rw] network
535
+ # The blockchain network where the transaction occurred.
536
+ #
537
+ # Valid Values: `BITCOIN_MAINNET` \| `BITCOIN_TESTNET`
538
+ # @return [String]
539
+ #
540
+ # @!attribute [rw] address_identifier_filter
541
+ # This is the unique public address on the blockchain for which the
542
+ # transaction events are being requested.
543
+ # @return [Types::AddressIdentifierFilter]
544
+ #
545
+ # @!attribute [rw] time_filter
546
+ # This container specifies the time frame for the transaction events
547
+ # returned in the response.
548
+ # @return [Types::TimeFilter]
549
+ #
550
+ # @!attribute [rw] vout_filter
551
+ # This container specifies filtering attributes related to
552
+ # BITCOIN\_VOUT event types
553
+ # @return [Types::VoutFilter]
554
+ #
555
+ # @!attribute [rw] confirmation_status_filter
556
+ # The container for the `ConfirmationStatusFilter` that filters for
557
+ # the [ *finality* ][1] of the results.
558
+ #
559
+ #
560
+ #
561
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
562
+ # @return [Types::ConfirmationStatusFilter]
563
+ #
564
+ # @!attribute [rw] sort
565
+ # The order by which the results will be sorted.
566
+ # @return [Types::ListFilteredTransactionEventsSort]
567
+ #
568
+ # @!attribute [rw] next_token
569
+ # The pagination token that indicates the next set of results to
570
+ # retrieve.
571
+ # @return [String]
572
+ #
573
+ # @!attribute [rw] max_results
574
+ # The maximum number of transaction events to list.
575
+ #
576
+ # Default: `100`
577
+ #
578
+ # <note markdown="1"> Even if additional results can be retrieved, the request can return
579
+ # less results than `maxResults` or an empty array of results.
580
+ #
581
+ # To retrieve the next set of results, make another request with the
582
+ # returned `nextToken` value. The value of `nextToken` is `null` when
583
+ # there are no more results to return
584
+ #
585
+ # </note>
586
+ # @return [Integer]
587
+ #
588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListFilteredTransactionEventsInput AWS API Documentation
589
+ #
590
+ class ListFilteredTransactionEventsInput < Struct.new(
591
+ :network,
592
+ :address_identifier_filter,
593
+ :time_filter,
594
+ :vout_filter,
595
+ :confirmation_status_filter,
596
+ :sort,
597
+ :next_token,
598
+ :max_results)
599
+ SENSITIVE = []
600
+ include Aws::Structure
601
+ end
602
+
603
+ # @!attribute [rw] events
604
+ # The transaction events returned by the request.
605
+ # @return [Array<Types::TransactionEvent>]
606
+ #
607
+ # @!attribute [rw] next_token
608
+ # The pagination token that indicates the next set of results to
609
+ # retrieve.
610
+ # @return [String]
611
+ #
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListFilteredTransactionEventsOutput AWS API Documentation
613
+ #
614
+ class ListFilteredTransactionEventsOutput < Struct.new(
615
+ :events,
616
+ :next_token)
617
+ SENSITIVE = []
618
+ include Aws::Structure
619
+ end
620
+
621
+ # Lists all the transaction events for an address on the blockchain.
622
+ #
623
+ # <note markdown="1"> This operation is only supported on the Bitcoin blockchain networks.
624
+ #
625
+ # </note>
626
+ #
627
+ # @!attribute [rw] sort_by
628
+ # Container on how the results will be sorted by?
629
+ # @return [String]
630
+ #
631
+ # @!attribute [rw] sort_order
632
+ # The container for the *sort order* for
633
+ # `ListFilteredTransactionEvents`. The `SortOrder` field only accepts
634
+ # the values `ASCENDING` and `DESCENDING`. Not providing `SortOrder`
635
+ # will default to `ASCENDING`.
636
+ # @return [String]
637
+ #
638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListFilteredTransactionEventsSort AWS API Documentation
639
+ #
640
+ class ListFilteredTransactionEventsSort < Struct.new(
641
+ :sort_by,
642
+ :sort_order)
643
+ SENSITIVE = []
644
+ include Aws::Structure
645
+ end
646
+
484
647
  # @!attribute [rw] owner_filter
485
648
  # The contract or wallet address on the blockchain network by which to
486
649
  # filter the request. You must specify the `address` property of the
@@ -506,6 +669,17 @@ module Aws::ManagedBlockchainQuery
506
669
  #
507
670
  # @!attribute [rw] max_results
508
671
  # The maximum number of token balances to return.
672
+ #
673
+ # Default: `100`
674
+ #
675
+ # <note markdown="1"> Even if additional results can be retrieved, the request can return
676
+ # less results than `maxResults` or an empty array of results.
677
+ #
678
+ # To retrieve the next set of results, make another request with the
679
+ # returned `nextToken` value. The value of `nextToken` is `null` when
680
+ # there are no more results to return
681
+ #
682
+ # </note>
509
683
  # @return [Integer]
510
684
  #
511
685
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTokenBalancesInput AWS API Documentation
@@ -539,8 +713,17 @@ module Aws::ManagedBlockchainQuery
539
713
  end
540
714
 
541
715
  # @!attribute [rw] transaction_hash
542
- # The hash of the transaction. It is generated whenever a transaction
543
- # is verified and added to the blockchain.
716
+ # The hash of a transaction. It is generated when a transaction is
717
+ # created.
718
+ # @return [String]
719
+ #
720
+ # @!attribute [rw] transaction_id
721
+ # The identifier of a Bitcoin transaction. It is generated when a
722
+ # transaction is created.
723
+ #
724
+ # <note markdown="1"> `transactionId` is only supported on the Bitcoin networks.
725
+ #
726
+ # </note>
544
727
  # @return [String]
545
728
  #
546
729
  # @!attribute [rw] network
@@ -555,6 +738,8 @@ module Aws::ManagedBlockchainQuery
555
738
  # @!attribute [rw] max_results
556
739
  # The maximum number of transaction events to list.
557
740
  #
741
+ # Default: `100`
742
+ #
558
743
  # <note markdown="1"> Even if additional results can be retrieved, the request can return
559
744
  # less results than `maxResults` or an empty array of results.
560
745
  #
@@ -569,6 +754,7 @@ module Aws::ManagedBlockchainQuery
569
754
  #
570
755
  class ListTransactionEventsInput < Struct.new(
571
756
  :transaction_hash,
757
+ :transaction_id,
572
758
  :network,
573
759
  :next_token,
574
760
  :max_results)
@@ -613,9 +799,7 @@ module Aws::ManagedBlockchainQuery
613
799
  # @return [Types::BlockchainInstant]
614
800
  #
615
801
  # @!attribute [rw] sort
616
- # Sorts items in an ascending order if the first page starts at
617
- # `fromTime`. Sorts items in a descending order if the first page
618
- # starts at `toTime`.
802
+ # The order by which the results will be sorted.
619
803
  # @return [Types::ListTransactionsSort]
620
804
  #
621
805
  # @!attribute [rw] next_token
@@ -626,6 +810,8 @@ module Aws::ManagedBlockchainQuery
626
810
  # @!attribute [rw] max_results
627
811
  # The maximum number of transactions to list.
628
812
  #
813
+ # Default: `100`
814
+ #
629
815
  # <note markdown="1"> Even if additional results can be retrieved, the request can return
630
816
  # less results than `maxResults` or an empty array of results.
631
817
  #
@@ -636,6 +822,16 @@ module Aws::ManagedBlockchainQuery
636
822
  # </note>
637
823
  # @return [Integer]
638
824
  #
825
+ # @!attribute [rw] confirmation_status_filter
826
+ # This filter is used to include transactions in the response that
827
+ # haven't reached [ *finality* ][1]. Transactions that have reached
828
+ # finality are always part of the response.
829
+ #
830
+ #
831
+ #
832
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
833
+ # @return [Types::ConfirmationStatusFilter]
834
+ #
639
835
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactionsInput AWS API Documentation
640
836
  #
641
837
  class ListTransactionsInput < Struct.new(
@@ -645,7 +841,8 @@ module Aws::ManagedBlockchainQuery
645
841
  :to_blockchain_instant,
646
842
  :sort,
647
843
  :next_token,
648
- :max_results)
844
+ :max_results,
845
+ :confirmation_status_filter)
649
846
  SENSITIVE = []
650
847
  include Aws::Structure
651
848
  end
@@ -704,7 +901,7 @@ module Aws::ManagedBlockchainQuery
704
901
  include Aws::Structure
705
902
  end
706
903
 
707
- # The container for the identifier of the owner.
904
+ # The container for the owner identifier.
708
905
  #
709
906
  # @!attribute [rw] address
710
907
  # The contract or wallet address for the owner.
@@ -809,6 +1006,25 @@ module Aws::ManagedBlockchainQuery
809
1006
  include Aws::Structure
810
1007
  end
811
1008
 
1009
+ # This container is used to specify a time frame.
1010
+ #
1011
+ # @!attribute [rw] from
1012
+ # The container for time.
1013
+ # @return [Types::BlockchainInstant]
1014
+ #
1015
+ # @!attribute [rw] to
1016
+ # The container for time.
1017
+ # @return [Types::BlockchainInstant]
1018
+ #
1019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/TimeFilter AWS API Documentation
1020
+ #
1021
+ class TimeFilter < Struct.new(
1022
+ :from,
1023
+ :to)
1024
+ SENSITIVE = []
1025
+ include Aws::Structure
1026
+ end
1027
+
812
1028
  # The balance of the token.
813
1029
  #
814
1030
  # @!attribute [rw] owner_identifier
@@ -884,8 +1100,8 @@ module Aws::ManagedBlockchainQuery
884
1100
  # The container for the identifier for the token including the unique
885
1101
  # token ID and its blockchain network.
886
1102
  #
887
- # <note markdown="1"> Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155
888
- # token standards are supported.
1103
+ # <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
1104
+ # 1155 token standards are supported.
889
1105
  #
890
1106
  # </note>
891
1107
  #
@@ -900,10 +1116,10 @@ module Aws::ManagedBlockchainQuery
900
1116
  # @!attribute [rw] token_id
901
1117
  # The unique identifier of the token.
902
1118
  #
903
- # <note markdown="1"> You must specify this container with `btc` for the native BTC token,
904
- # and `eth` for the native ETH token. For all other token types you
905
- # must specify the `tokenId` in the 64 character hexadecimal `tokenid`
906
- # format.
1119
+ # <note markdown="1"> For native tokens, use the 3 character abbreviation that best
1120
+ # matches your token. For example, btc for Bitcoin, eth for Ether,
1121
+ # etc. For all other token types you must specify the `tokenId` in the
1122
+ # 64 character hexadecimal `tokenid` format.
907
1123
  #
908
1124
  # </note>
909
1125
  # @return [String]
@@ -941,8 +1157,8 @@ module Aws::ManagedBlockchainQuery
941
1157
  # @return [String]
942
1158
  #
943
1159
  # @!attribute [rw] transaction_hash
944
- # The hash of the transaction. It is generated whenever a transaction
945
- # is verified and added to the blockchain.
1160
+ # The hash of a transaction. It is generated when a transaction is
1161
+ # created.
946
1162
  # @return [String]
947
1163
  #
948
1164
  # @!attribute [rw] block_number
@@ -961,22 +1177,6 @@ module Aws::ManagedBlockchainQuery
961
1177
  # The number of transactions in the block.
962
1178
  # @return [Integer]
963
1179
  #
964
- # @!attribute [rw] status
965
- # The status of the transaction.
966
- #
967
- # This property is deprecated. You must use the `confirmationStatus`
968
- # and the `executionStatus` properties to determine if the `status` of
969
- # the transaction is `FINAL` or `FAILED`.
970
- #
971
- # * Transactions with a `status` of `FINAL` will now have the
972
- # `confirmationStatus` set to `FINAL` and the `executionStatus` set
973
- # to `SUCCEEDED`.
974
- #
975
- # * Transactions with a `status` of `FAILED` will now have the
976
- # `confirmationStatus` set to `FINAL` and the `executionStatus` set
977
- # to `FAILED`.
978
- # @return [String]
979
- #
980
1180
  # @!attribute [rw] to
981
1181
  # The identifier of the transaction. It is generated whenever a
982
1182
  # transaction is verified and added to the blockchain.
@@ -1020,8 +1220,8 @@ module Aws::ManagedBlockchainQuery
1020
1220
  # @return [String]
1021
1221
  #
1022
1222
  # @!attribute [rw] transaction_id
1023
- # The unique identifier of the transaction. It is generated whenever a
1024
- # transaction is verified and added to the blockchain.
1223
+ # The identifier of a Bitcoin transaction. It is generated when a
1224
+ # transaction is created.
1025
1225
  # @return [String]
1026
1226
  #
1027
1227
  # @!attribute [rw] confirmation_status
@@ -1042,7 +1242,6 @@ module Aws::ManagedBlockchainQuery
1042
1242
  :transaction_timestamp,
1043
1243
  :transaction_index,
1044
1244
  :number_of_transactions,
1045
- :status,
1046
1245
  :to,
1047
1246
  :from,
1048
1247
  :contract_address,
@@ -1067,8 +1266,8 @@ module Aws::ManagedBlockchainQuery
1067
1266
  # @return [String]
1068
1267
  #
1069
1268
  # @!attribute [rw] transaction_hash
1070
- # The hash of the transaction. It is generated whenever a transaction
1071
- # is verified and added to the blockchain.
1269
+ # The hash of a transaction. It is generated when a transaction is
1270
+ # created.
1072
1271
  # @return [String]
1073
1272
  #
1074
1273
  # @!attribute [rw] event_type
@@ -1090,7 +1289,7 @@ module Aws::ManagedBlockchainQuery
1090
1289
  # @return [String]
1091
1290
  #
1092
1291
  # @!attribute [rw] contract_address
1093
- # The blockchain address. for the contract
1292
+ # The blockchain address for the contract
1094
1293
  # @return [String]
1095
1294
  #
1096
1295
  # @!attribute [rw] token_id
@@ -1098,14 +1297,58 @@ module Aws::ManagedBlockchainQuery
1098
1297
  # @return [String]
1099
1298
  #
1100
1299
  # @!attribute [rw] transaction_id
1101
- # The unique identifier of the transaction. It is generated whenever a
1102
- # transaction is verified and added to the blockchain.
1300
+ # The identifier of a Bitcoin transaction. It is generated when a
1301
+ # transaction is created.
1103
1302
  # @return [String]
1104
1303
  #
1105
1304
  # @!attribute [rw] vout_index
1106
- # The position of the vout in the transaction output list.
1305
+ # The position of the transaction output in the transaction output
1306
+ # list.
1107
1307
  # @return [Integer]
1108
1308
  #
1309
+ # @!attribute [rw] vout_spent
1310
+ # Specifies if the transaction output is spent or unspent. This is
1311
+ # only returned for BITCOIN\_VOUT event types.
1312
+ #
1313
+ # <note markdown="1"> This is only returned for `BITCOIN_VOUT` event types.
1314
+ #
1315
+ # </note>
1316
+ # @return [Boolean]
1317
+ #
1318
+ # @!attribute [rw] spent_vout_transaction_id
1319
+ # The transactionId that *created* the spent transaction output.
1320
+ #
1321
+ # <note markdown="1"> This is only returned for `BITCOIN_VIN` event types.
1322
+ #
1323
+ # </note>
1324
+ # @return [String]
1325
+ #
1326
+ # @!attribute [rw] spent_vout_transaction_hash
1327
+ # The transactionHash that *created* the spent transaction output.
1328
+ #
1329
+ # <note markdown="1"> This is only returned for `BITCOIN_VIN` event types.
1330
+ #
1331
+ # </note>
1332
+ # @return [String]
1333
+ #
1334
+ # @!attribute [rw] spent_vout_index
1335
+ # The position of the spent transaction output in the output list of
1336
+ # the *creating transaction*.
1337
+ #
1338
+ # <note markdown="1"> This is only returned for `BITCOIN_VIN` event types.
1339
+ #
1340
+ # </note>
1341
+ # @return [Integer]
1342
+ #
1343
+ # @!attribute [rw] blockchain_instant
1344
+ # The container for time.
1345
+ # @return [Types::BlockchainInstant]
1346
+ #
1347
+ # @!attribute [rw] confirmation_status
1348
+ # This container specifies whether the transaction has reached
1349
+ # Finality.
1350
+ # @return [String]
1351
+ #
1109
1352
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/TransactionEvent AWS API Documentation
1110
1353
  #
1111
1354
  class TransactionEvent < Struct.new(
@@ -1118,7 +1361,13 @@ module Aws::ManagedBlockchainQuery
1118
1361
  :contract_address,
1119
1362
  :token_id,
1120
1363
  :transaction_id,
1121
- :vout_index)
1364
+ :vout_index,
1365
+ :vout_spent,
1366
+ :spent_vout_transaction_id,
1367
+ :spent_vout_transaction_hash,
1368
+ :spent_vout_index,
1369
+ :blockchain_instant,
1370
+ :confirmation_status)
1122
1371
  SENSITIVE = []
1123
1372
  include Aws::Structure
1124
1373
  end
@@ -1126,8 +1375,8 @@ module Aws::ManagedBlockchainQuery
1126
1375
  # The container of the transaction output.
1127
1376
  #
1128
1377
  # @!attribute [rw] transaction_hash
1129
- # The hash of the transaction. It is generated whenever a transaction
1130
- # is verified and added to the blockchain.
1378
+ # The hash of a transaction. It is generated when a transaction is
1379
+ # created.
1131
1380
  # @return [String]
1132
1381
  #
1133
1382
  # @!attribute [rw] network
@@ -1138,12 +1387,18 @@ module Aws::ManagedBlockchainQuery
1138
1387
  # The time when the transaction occurred.
1139
1388
  # @return [Time]
1140
1389
  #
1390
+ # @!attribute [rw] confirmation_status
1391
+ # Specifies whether to list transactions that have not reached
1392
+ # Finality.
1393
+ # @return [String]
1394
+ #
1141
1395
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/TransactionOutputItem AWS API Documentation
1142
1396
  #
1143
1397
  class TransactionOutputItem < Struct.new(
1144
1398
  :transaction_hash,
1145
1399
  :network,
1146
- :transaction_timestamp)
1400
+ :transaction_timestamp,
1401
+ :confirmation_status)
1147
1402
  SENSITIVE = []
1148
1403
  include Aws::Structure
1149
1404
  end
@@ -1191,5 +1446,20 @@ module Aws::ManagedBlockchainQuery
1191
1446
  include Aws::Structure
1192
1447
  end
1193
1448
 
1449
+ # This container specifies filtering attributes related to
1450
+ # `BITCOIN_VOUT` event types
1451
+ #
1452
+ # @!attribute [rw] vout_spent
1453
+ # Specifies if the transaction output is spent or unspent.
1454
+ # @return [Boolean]
1455
+ #
1456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/VoutFilter AWS API Documentation
1457
+ #
1458
+ class VoutFilter < Struct.new(
1459
+ :vout_spent)
1460
+ SENSITIVE = []
1461
+ include Aws::Structure
1462
+ end
1463
+
1194
1464
  end
1195
1465
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-managedblockchainquery/customizations'
53
53
  # @!group service
54
54
  module Aws::ManagedBlockchainQuery
55
55
 
56
- GEM_VERSION = '1.7.0'
56
+ GEM_VERSION = '1.9.0'
57
57
 
58
58
  end