aws-sdk-managedblockchainquery 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedblockchainquery/client.rb +68 -11
- data/lib/aws-sdk-managedblockchainquery/client_api.rb +9 -2
- data/lib/aws-sdk-managedblockchainquery/types.rb +82 -32
- data/lib/aws-sdk-managedblockchainquery.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a8caf61c32dbfbb0fca4d40e42eb640de976e5698244434724c962e77654af3
|
4
|
+
data.tar.gz: f59d5578787971e9b858f13edabe36c8e6f533f4c7d86a30152e858add2ed6a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2dd6740a464da4efbff8b0b1bb8aea2686282da086317550ff566ae9fa20150120de252a4c3aa47a8920e412706e09c71bb5680a5db8ee42f2a2f119f8d7aa9
|
7
|
+
data.tar.gz: 38dca042c45f0e557ab1711ddedfa52d2881818bab28f03a0d75037a437aadfcad8312c9a126a45f88a5aa6860ca9285020ca285263331c5e7dc256bd07a3557
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2024-02-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for transactions that have not reached finality. It also removes support for the status property from the response of the GetTransaction operation. You can use the confirmationStatus and executionStatus properties to determine the status of the transaction.
|
8
|
+
|
4
9
|
1.7.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -391,8 +391,8 @@ module Aws::ManagedBlockchainQuery
|
|
391
391
|
# Gets the token balance for a batch of tokens by using the
|
392
392
|
# `BatchGetTokenBalance` action for every token in the request.
|
393
393
|
#
|
394
|
-
# <note markdown="1"> Only the native tokens BTC
|
395
|
-
# token standards are supported.
|
394
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
395
|
+
# 1155 token standards are supported.
|
396
396
|
#
|
397
397
|
# </note>
|
398
398
|
#
|
@@ -506,8 +506,8 @@ module Aws::ManagedBlockchainQuery
|
|
506
506
|
# Gets the balance of a specific token, including native tokens, for a
|
507
507
|
# given address (wallet or contract) on the blockchain.
|
508
508
|
#
|
509
|
-
# <note markdown="1"> Only the native tokens BTC
|
510
|
-
# token standards are supported.
|
509
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
510
|
+
# 1155 token standards are supported.
|
511
511
|
#
|
512
512
|
# </note>
|
513
513
|
#
|
@@ -569,7 +569,17 @@ module Aws::ManagedBlockchainQuery
|
|
569
569
|
req.send_request(options)
|
570
570
|
end
|
571
571
|
|
572
|
-
#
|
572
|
+
# Gets the details of a transaction.
|
573
|
+
#
|
574
|
+
# <note markdown="1"> This action will return transaction details for all transactions that
|
575
|
+
# are *confirmed* on the blockchain, even if they have not reached
|
576
|
+
# [finality][1].
|
577
|
+
#
|
578
|
+
# </note>
|
579
|
+
#
|
580
|
+
#
|
581
|
+
#
|
582
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
|
573
583
|
#
|
574
584
|
# @option params [required, String] :transaction_hash
|
575
585
|
# The hash of the transaction. It is generated whenever a transaction is
|
@@ -598,7 +608,6 @@ module Aws::ManagedBlockchainQuery
|
|
598
608
|
# resp.transaction.transaction_timestamp #=> Time
|
599
609
|
# resp.transaction.transaction_index #=> Integer
|
600
610
|
# resp.transaction.number_of_transactions #=> Integer
|
601
|
-
# resp.transaction.status #=> String, one of "FINAL", "FAILED"
|
602
611
|
# resp.transaction.to #=> String
|
603
612
|
# resp.transaction.from #=> String
|
604
613
|
# resp.transaction.contract_address #=> String
|
@@ -610,7 +619,7 @@ module Aws::ManagedBlockchainQuery
|
|
610
619
|
# resp.transaction.signature_s #=> String
|
611
620
|
# resp.transaction.transaction_fee #=> String
|
612
621
|
# resp.transaction.transaction_id #=> String
|
613
|
-
# resp.transaction.confirmation_status #=> String, one of "FINAL"
|
622
|
+
# resp.transaction.confirmation_status #=> String, one of "FINAL", "NONFINAL"
|
614
623
|
# resp.transaction.execution_status #=> String, one of "FAILED", "SUCCEEDED"
|
615
624
|
#
|
616
625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetTransaction AWS API Documentation
|
@@ -637,6 +646,17 @@ module Aws::ManagedBlockchainQuery
|
|
637
646
|
# @option params [Integer] :max_results
|
638
647
|
# The maximum number of contracts to list.
|
639
648
|
#
|
649
|
+
# Default:`100`
|
650
|
+
#
|
651
|
+
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
652
|
+
# less results than `maxResults` or an empty array of results.
|
653
|
+
#
|
654
|
+
# To retrieve the next set of results, make another request with the
|
655
|
+
# returned `nextToken` value. The value of `nextToken` is `null` when
|
656
|
+
# there are no more results to return
|
657
|
+
#
|
658
|
+
# </note>
|
659
|
+
#
|
640
660
|
# @return [Types::ListAssetContractsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
641
661
|
#
|
642
662
|
# * {Types::ListAssetContractsOutput#contracts #contracts} => Array<Types::AssetContract>
|
@@ -710,6 +730,17 @@ module Aws::ManagedBlockchainQuery
|
|
710
730
|
# @option params [Integer] :max_results
|
711
731
|
# The maximum number of token balances to return.
|
712
732
|
#
|
733
|
+
# Default:`100`
|
734
|
+
#
|
735
|
+
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
736
|
+
# less results than `maxResults` or an empty array of results.
|
737
|
+
#
|
738
|
+
# To retrieve the next set of results, make another request with the
|
739
|
+
# returned `nextToken` value. The value of `nextToken` is `null` when
|
740
|
+
# there are no more results to return
|
741
|
+
#
|
742
|
+
# </note>
|
743
|
+
#
|
713
744
|
# @return [Types::ListTokenBalancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
714
745
|
#
|
715
746
|
# * {Types::ListTokenBalancesOutput#token_balances #token_balances} => Array<Types::TokenBalance>
|
@@ -756,6 +787,16 @@ module Aws::ManagedBlockchainQuery
|
|
756
787
|
# An array of `TransactionEvent` objects. Each object contains details
|
757
788
|
# about the transaction event.
|
758
789
|
#
|
790
|
+
# <note markdown="1"> This action will return transaction details for all transactions that
|
791
|
+
# are *confirmed* on the blockchain, even if they have not reached
|
792
|
+
# [finality][1].
|
793
|
+
#
|
794
|
+
# </note>
|
795
|
+
#
|
796
|
+
#
|
797
|
+
#
|
798
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
|
799
|
+
#
|
759
800
|
# @option params [required, String] :transaction_hash
|
760
801
|
# The hash of the transaction. It is generated whenever a transaction is
|
761
802
|
# verified and added to the blockchain.
|
@@ -770,6 +811,8 @@ module Aws::ManagedBlockchainQuery
|
|
770
811
|
# @option params [Integer] :max_results
|
771
812
|
# The maximum number of transaction events to list.
|
772
813
|
#
|
814
|
+
# Default:`100`
|
815
|
+
#
|
773
816
|
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
774
817
|
# less results than `maxResults` or an empty array of results.
|
775
818
|
#
|
@@ -836,9 +879,8 @@ module Aws::ManagedBlockchainQuery
|
|
836
879
|
# The container for time.
|
837
880
|
#
|
838
881
|
# @option params [Types::ListTransactionsSort] :sort
|
839
|
-
#
|
840
|
-
#
|
841
|
-
# at `toTime`.
|
882
|
+
# The order by which the results will be sorted. If `ASCENNDING` is
|
883
|
+
# selected, the results will be ordered by `fromTime`.
|
842
884
|
#
|
843
885
|
# @option params [String] :next_token
|
844
886
|
# The pagination token that indicates the next set of results to
|
@@ -847,6 +889,8 @@ module Aws::ManagedBlockchainQuery
|
|
847
889
|
# @option params [Integer] :max_results
|
848
890
|
# The maximum number of transactions to list.
|
849
891
|
#
|
892
|
+
# Default:`100`
|
893
|
+
#
|
850
894
|
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
851
895
|
# less results than `maxResults` or an empty array of results.
|
852
896
|
#
|
@@ -856,6 +900,15 @@ module Aws::ManagedBlockchainQuery
|
|
856
900
|
#
|
857
901
|
# </note>
|
858
902
|
#
|
903
|
+
# @option params [Types::ConfirmationStatusFilter] :confirmation_status_filter
|
904
|
+
# This filter is used to include transactions in the response that
|
905
|
+
# haven't reached [ *finality* ][1]. Transactions that have reached
|
906
|
+
# finiality are always part of the response.
|
907
|
+
#
|
908
|
+
#
|
909
|
+
#
|
910
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
|
911
|
+
#
|
859
912
|
# @return [Types::ListTransactionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
860
913
|
#
|
861
914
|
# * {Types::ListTransactionsOutput#transactions #transactions} => Array<Types::TransactionOutputItem>
|
@@ -880,6 +933,9 @@ module Aws::ManagedBlockchainQuery
|
|
880
933
|
# },
|
881
934
|
# next_token: "NextToken",
|
882
935
|
# max_results: 1,
|
936
|
+
# confirmation_status_filter: {
|
937
|
+
# include: ["FINAL"], # required, accepts FINAL, NONFINAL
|
938
|
+
# },
|
883
939
|
# })
|
884
940
|
#
|
885
941
|
# @example Response structure
|
@@ -888,6 +944,7 @@ module Aws::ManagedBlockchainQuery
|
|
888
944
|
# resp.transactions[0].transaction_hash #=> String
|
889
945
|
# resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
|
890
946
|
# resp.transactions[0].transaction_timestamp #=> Time
|
947
|
+
# resp.transactions[0].confirmation_status #=> String, one of "FINAL", "NONFINAL"
|
891
948
|
# resp.next_token #=> String
|
892
949
|
#
|
893
950
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactions AWS API Documentation
|
@@ -912,7 +969,7 @@ module Aws::ManagedBlockchainQuery
|
|
912
969
|
params: params,
|
913
970
|
config: config)
|
914
971
|
context[:gem_name] = 'aws-sdk-managedblockchainquery'
|
915
|
-
context[:gem_version] = '1.
|
972
|
+
context[:gem_version] = '1.8.0'
|
916
973
|
Seahorse::Client::Request.new(handlers, context)
|
917
974
|
end
|
918
975
|
|
@@ -27,6 +27,8 @@ module Aws::ManagedBlockchainQuery
|
|
27
27
|
BlockchainInstant = Shapes::StructureShape.new(name: 'BlockchainInstant')
|
28
28
|
ChainAddress = Shapes::StringShape.new(name: 'ChainAddress')
|
29
29
|
ConfirmationStatus = Shapes::StringShape.new(name: 'ConfirmationStatus')
|
30
|
+
ConfirmationStatusFilter = Shapes::StructureShape.new(name: 'ConfirmationStatusFilter')
|
31
|
+
ConfirmationStatusIncludeList = Shapes::ListShape.new(name: 'ConfirmationStatusIncludeList')
|
30
32
|
ContractFilter = Shapes::StructureShape.new(name: 'ContractFilter')
|
31
33
|
ContractIdentifier = Shapes::StructureShape.new(name: 'ContractIdentifier')
|
32
34
|
ContractMetadata = Shapes::StructureShape.new(name: 'ContractMetadata')
|
@@ -65,7 +67,6 @@ module Aws::ManagedBlockchainQuery
|
|
65
67
|
QueryTokenStandard = Shapes::StringShape.new(name: 'QueryTokenStandard')
|
66
68
|
QueryTransactionEventType = Shapes::StringShape.new(name: 'QueryTransactionEventType')
|
67
69
|
QueryTransactionHash = Shapes::StringShape.new(name: 'QueryTransactionHash')
|
68
|
-
QueryTransactionStatus = Shapes::StringShape.new(name: 'QueryTransactionStatus')
|
69
70
|
QuotaCode = Shapes::StringShape.new(name: 'QuotaCode')
|
70
71
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
71
72
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -134,6 +135,11 @@ module Aws::ManagedBlockchainQuery
|
|
134
135
|
BlockchainInstant.add_member(:time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "time"))
|
135
136
|
BlockchainInstant.struct_class = Types::BlockchainInstant
|
136
137
|
|
138
|
+
ConfirmationStatusFilter.add_member(:include, Shapes::ShapeRef.new(shape: ConfirmationStatusIncludeList, required: true, location_name: "include"))
|
139
|
+
ConfirmationStatusFilter.struct_class = Types::ConfirmationStatusFilter
|
140
|
+
|
141
|
+
ConfirmationStatusIncludeList.member = Shapes::ShapeRef.new(shape: ConfirmationStatus)
|
142
|
+
|
137
143
|
ContractFilter.add_member(:network, Shapes::ShapeRef.new(shape: QueryNetwork, required: true, location_name: "network"))
|
138
144
|
ContractFilter.add_member(:token_standard, Shapes::ShapeRef.new(shape: QueryTokenStandard, required: true, location_name: "tokenStandard"))
|
139
145
|
ContractFilter.add_member(:deployer_address, Shapes::ShapeRef.new(shape: ChainAddress, required: true, location_name: "deployerAddress"))
|
@@ -218,6 +224,7 @@ module Aws::ManagedBlockchainQuery
|
|
218
224
|
ListTransactionsInput.add_member(:sort, Shapes::ShapeRef.new(shape: ListTransactionsSort, location_name: "sort"))
|
219
225
|
ListTransactionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
220
226
|
ListTransactionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTransactionsInputMaxResultsInteger, location_name: "maxResults"))
|
227
|
+
ListTransactionsInput.add_member(:confirmation_status_filter, Shapes::ShapeRef.new(shape: ConfirmationStatusFilter, location_name: "confirmationStatusFilter"))
|
221
228
|
ListTransactionsInput.struct_class = Types::ListTransactionsInput
|
222
229
|
|
223
230
|
ListTransactionsOutput.add_member(:transactions, Shapes::ShapeRef.new(shape: TransactionOutputList, required: true, location_name: "transactions"))
|
@@ -278,7 +285,6 @@ module Aws::ManagedBlockchainQuery
|
|
278
285
|
Transaction.add_member(:transaction_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "transactionTimestamp"))
|
279
286
|
Transaction.add_member(:transaction_index, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "transactionIndex"))
|
280
287
|
Transaction.add_member(:number_of_transactions, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "numberOfTransactions"))
|
281
|
-
Transaction.add_member(:status, Shapes::ShapeRef.new(shape: QueryTransactionStatus, deprecated: true, location_name: "status", metadata: {"deprecatedMessage"=>"The status field in the GetTransaction response is deprecated and is replaced with the confirmationStatus and executionStatus fields."}))
|
282
288
|
Transaction.add_member(:to, Shapes::ShapeRef.new(shape: ChainAddress, required: true, location_name: "to"))
|
283
289
|
Transaction.add_member(:from, Shapes::ShapeRef.new(shape: ChainAddress, location_name: "from"))
|
284
290
|
Transaction.add_member(:contract_address, Shapes::ShapeRef.new(shape: ChainAddress, location_name: "contractAddress"))
|
@@ -311,6 +317,7 @@ module Aws::ManagedBlockchainQuery
|
|
311
317
|
TransactionOutputItem.add_member(:transaction_hash, Shapes::ShapeRef.new(shape: QueryTransactionHash, required: true, location_name: "transactionHash"))
|
312
318
|
TransactionOutputItem.add_member(:network, Shapes::ShapeRef.new(shape: QueryNetwork, required: true, location_name: "network"))
|
313
319
|
TransactionOutputItem.add_member(:transaction_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "transactionTimestamp"))
|
320
|
+
TransactionOutputItem.add_member(:confirmation_status, Shapes::ShapeRef.new(shape: ConfirmationStatus, location_name: "confirmationStatus"))
|
314
321
|
TransactionOutputItem.struct_class = Types::TransactionOutputItem
|
315
322
|
|
316
323
|
TransactionOutputList.member = Shapes::ShapeRef.new(shape: TransactionOutputItem)
|
@@ -55,7 +55,7 @@ module Aws::ManagedBlockchainQuery
|
|
55
55
|
# The container for the identifier for the token including the unique
|
56
56
|
# token ID and its blockchain network.
|
57
57
|
#
|
58
|
-
# <note markdown="1"> Only the native tokens BTC
|
58
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
59
59
|
# 1155 token standards are supported.
|
60
60
|
#
|
61
61
|
# </note>
|
@@ -113,7 +113,7 @@ module Aws::ManagedBlockchainQuery
|
|
113
113
|
# The container for the identifier for the token including the unique
|
114
114
|
# token ID and its blockchain network.
|
115
115
|
#
|
116
|
-
# <note markdown="1"> Only the native tokens BTC
|
116
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
117
117
|
# 1155 token standards are supported.
|
118
118
|
#
|
119
119
|
# </note>
|
@@ -166,7 +166,7 @@ module Aws::ManagedBlockchainQuery
|
|
166
166
|
# The container for the identifier for the token including the unique
|
167
167
|
# token ID and its blockchain network.
|
168
168
|
#
|
169
|
-
# <note markdown="1"> Only the native tokens BTC
|
169
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
170
170
|
# 1155 token standards are supported.
|
171
171
|
#
|
172
172
|
# </note>
|
@@ -214,6 +214,31 @@ module Aws::ManagedBlockchainQuery
|
|
214
214
|
include Aws::Structure
|
215
215
|
end
|
216
216
|
|
217
|
+
# The container for the `ConfirmationStatusFilter` that filters for the
|
218
|
+
# [ *finality* ][1] of the results.
|
219
|
+
#
|
220
|
+
#
|
221
|
+
#
|
222
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
|
223
|
+
#
|
224
|
+
# @!attribute [rw] include
|
225
|
+
# The container to determine whether to list results that have only
|
226
|
+
# reached [ *finality* ][1]. Transactions that have reached finality
|
227
|
+
# are always part of the response.
|
228
|
+
#
|
229
|
+
#
|
230
|
+
#
|
231
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
|
232
|
+
# @return [Array<String>]
|
233
|
+
#
|
234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ConfirmationStatusFilter AWS API Documentation
|
235
|
+
#
|
236
|
+
class ConfirmationStatusFilter < Struct.new(
|
237
|
+
:include)
|
238
|
+
SENSITIVE = []
|
239
|
+
include Aws::Structure
|
240
|
+
end
|
241
|
+
|
217
242
|
# The contract or wallet address by which to filter the request.
|
218
243
|
#
|
219
244
|
# @!attribute [rw] network
|
@@ -359,7 +384,7 @@ module Aws::ManagedBlockchainQuery
|
|
359
384
|
# The container for the identifier for the token including the unique
|
360
385
|
# token ID and its blockchain network.
|
361
386
|
#
|
362
|
-
# <note markdown="1"> Only the native tokens BTC
|
387
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
363
388
|
# 1155 token standards are supported.
|
364
389
|
#
|
365
390
|
# </note>
|
@@ -450,6 +475,17 @@ module Aws::ManagedBlockchainQuery
|
|
450
475
|
#
|
451
476
|
# @!attribute [rw] max_results
|
452
477
|
# The maximum number of contracts to list.
|
478
|
+
#
|
479
|
+
# Default:`100`
|
480
|
+
#
|
481
|
+
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
482
|
+
# less results than `maxResults` or an empty array of results.
|
483
|
+
#
|
484
|
+
# To retrieve the next set of results, make another request with the
|
485
|
+
# returned `nextToken` value. The value of `nextToken` is `null` when
|
486
|
+
# there are no more results to return
|
487
|
+
#
|
488
|
+
# </note>
|
453
489
|
# @return [Integer]
|
454
490
|
#
|
455
491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListAssetContractsInput AWS API Documentation
|
@@ -506,6 +542,17 @@ module Aws::ManagedBlockchainQuery
|
|
506
542
|
#
|
507
543
|
# @!attribute [rw] max_results
|
508
544
|
# The maximum number of token balances to return.
|
545
|
+
#
|
546
|
+
# Default:`100`
|
547
|
+
#
|
548
|
+
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
549
|
+
# less results than `maxResults` or an empty array of results.
|
550
|
+
#
|
551
|
+
# To retrieve the next set of results, make another request with the
|
552
|
+
# returned `nextToken` value. The value of `nextToken` is `null` when
|
553
|
+
# there are no more results to return
|
554
|
+
#
|
555
|
+
# </note>
|
509
556
|
# @return [Integer]
|
510
557
|
#
|
511
558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTokenBalancesInput AWS API Documentation
|
@@ -555,6 +602,8 @@ module Aws::ManagedBlockchainQuery
|
|
555
602
|
# @!attribute [rw] max_results
|
556
603
|
# The maximum number of transaction events to list.
|
557
604
|
#
|
605
|
+
# Default:`100`
|
606
|
+
#
|
558
607
|
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
559
608
|
# less results than `maxResults` or an empty array of results.
|
560
609
|
#
|
@@ -613,9 +662,8 @@ module Aws::ManagedBlockchainQuery
|
|
613
662
|
# @return [Types::BlockchainInstant]
|
614
663
|
#
|
615
664
|
# @!attribute [rw] sort
|
616
|
-
#
|
617
|
-
#
|
618
|
-
# starts at `toTime`.
|
665
|
+
# The order by which the results will be sorted. If `ASCENNDING` is
|
666
|
+
# selected, the results will be ordered by `fromTime`.
|
619
667
|
# @return [Types::ListTransactionsSort]
|
620
668
|
#
|
621
669
|
# @!attribute [rw] next_token
|
@@ -626,6 +674,8 @@ module Aws::ManagedBlockchainQuery
|
|
626
674
|
# @!attribute [rw] max_results
|
627
675
|
# The maximum number of transactions to list.
|
628
676
|
#
|
677
|
+
# Default:`100`
|
678
|
+
#
|
629
679
|
# <note markdown="1"> Even if additional results can be retrieved, the request can return
|
630
680
|
# less results than `maxResults` or an empty array of results.
|
631
681
|
#
|
@@ -636,6 +686,16 @@ module Aws::ManagedBlockchainQuery
|
|
636
686
|
# </note>
|
637
687
|
# @return [Integer]
|
638
688
|
#
|
689
|
+
# @!attribute [rw] confirmation_status_filter
|
690
|
+
# This filter is used to include transactions in the response that
|
691
|
+
# haven't reached [ *finality* ][1]. Transactions that have reached
|
692
|
+
# finiality are always part of the response.
|
693
|
+
#
|
694
|
+
#
|
695
|
+
#
|
696
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
|
697
|
+
# @return [Types::ConfirmationStatusFilter]
|
698
|
+
#
|
639
699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/ListTransactionsInput AWS API Documentation
|
640
700
|
#
|
641
701
|
class ListTransactionsInput < Struct.new(
|
@@ -645,7 +705,8 @@ module Aws::ManagedBlockchainQuery
|
|
645
705
|
:to_blockchain_instant,
|
646
706
|
:sort,
|
647
707
|
:next_token,
|
648
|
-
:max_results
|
708
|
+
:max_results,
|
709
|
+
:confirmation_status_filter)
|
649
710
|
SENSITIVE = []
|
650
711
|
include Aws::Structure
|
651
712
|
end
|
@@ -884,8 +945,8 @@ module Aws::ManagedBlockchainQuery
|
|
884
945
|
# The container for the identifier for the token including the unique
|
885
946
|
# token ID and its blockchain network.
|
886
947
|
#
|
887
|
-
# <note markdown="1"> Only the native tokens BTC
|
888
|
-
# token standards are supported.
|
948
|
+
# <note markdown="1"> Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC
|
949
|
+
# 1155 token standards are supported.
|
889
950
|
#
|
890
951
|
# </note>
|
891
952
|
#
|
@@ -900,10 +961,10 @@ module Aws::ManagedBlockchainQuery
|
|
900
961
|
# @!attribute [rw] token_id
|
901
962
|
# The unique identifier of the token.
|
902
963
|
#
|
903
|
-
# <note markdown="1">
|
904
|
-
#
|
905
|
-
# must specify the `tokenId` in the
|
906
|
-
# format.
|
964
|
+
# <note markdown="1"> For native tokens, use the 3 character abbreviation that best
|
965
|
+
# matches your token. For example, btc for Bitcoin, eth for Ether,
|
966
|
+
# etc. For all other token types you must specify the `tokenId` in the
|
967
|
+
# 64 character hexadecimal `tokenid` format.
|
907
968
|
#
|
908
969
|
# </note>
|
909
970
|
# @return [String]
|
@@ -961,22 +1022,6 @@ module Aws::ManagedBlockchainQuery
|
|
961
1022
|
# The number of transactions in the block.
|
962
1023
|
# @return [Integer]
|
963
1024
|
#
|
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
1025
|
# @!attribute [rw] to
|
981
1026
|
# The identifier of the transaction. It is generated whenever a
|
982
1027
|
# transaction is verified and added to the blockchain.
|
@@ -1042,7 +1087,6 @@ module Aws::ManagedBlockchainQuery
|
|
1042
1087
|
:transaction_timestamp,
|
1043
1088
|
:transaction_index,
|
1044
1089
|
:number_of_transactions,
|
1045
|
-
:status,
|
1046
1090
|
:to,
|
1047
1091
|
:from,
|
1048
1092
|
:contract_address,
|
@@ -1138,12 +1182,18 @@ module Aws::ManagedBlockchainQuery
|
|
1138
1182
|
# The time when the transaction occurred.
|
1139
1183
|
# @return [Time]
|
1140
1184
|
#
|
1185
|
+
# @!attribute [rw] confirmation_status
|
1186
|
+
# Specifies whether to list transactions that have not reached
|
1187
|
+
# Finality.
|
1188
|
+
# @return [String]
|
1189
|
+
#
|
1141
1190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/TransactionOutputItem AWS API Documentation
|
1142
1191
|
#
|
1143
1192
|
class TransactionOutputItem < Struct.new(
|
1144
1193
|
:transaction_hash,
|
1145
1194
|
:network,
|
1146
|
-
:transaction_timestamp
|
1195
|
+
:transaction_timestamp,
|
1196
|
+
:confirmation_status)
|
1147
1197
|
SENSITIVE = []
|
1148
1198
|
include Aws::Structure
|
1149
1199
|
end
|
data/sig/client.rbs
CHANGED
@@ -219,7 +219,10 @@ module Aws
|
|
219
219
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
220
220
|
},
|
221
221
|
?next_token: ::String,
|
222
|
-
?max_results: ::Integer
|
222
|
+
?max_results: ::Integer,
|
223
|
+
?confirmation_status_filter: {
|
224
|
+
include: Array[("FINAL" | "NONFINAL")]
|
225
|
+
}
|
223
226
|
) -> _ListTransactionsResponseSuccess
|
224
227
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTransactionsResponseSuccess
|
225
228
|
end
|
data/sig/types.rbs
CHANGED
@@ -62,6 +62,11 @@ module Aws::ManagedBlockchainQuery
|
|
62
62
|
SENSITIVE: []
|
63
63
|
end
|
64
64
|
|
65
|
+
class ConfirmationStatusFilter
|
66
|
+
attr_accessor include: ::Array[("FINAL" | "NONFINAL")]
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
65
70
|
class ContractFilter
|
66
71
|
attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
|
67
72
|
attr_accessor token_standard: ("ERC20" | "ERC721" | "ERC1155")
|
@@ -177,6 +182,7 @@ module Aws::ManagedBlockchainQuery
|
|
177
182
|
attr_accessor sort: Types::ListTransactionsSort
|
178
183
|
attr_accessor next_token: ::String
|
179
184
|
attr_accessor max_results: ::Integer
|
185
|
+
attr_accessor confirmation_status_filter: Types::ConfirmationStatusFilter
|
180
186
|
SENSITIVE: []
|
181
187
|
end
|
182
188
|
|
@@ -257,7 +263,6 @@ module Aws::ManagedBlockchainQuery
|
|
257
263
|
attr_accessor transaction_timestamp: ::Time
|
258
264
|
attr_accessor transaction_index: ::Integer
|
259
265
|
attr_accessor number_of_transactions: ::Integer
|
260
|
-
attr_accessor status: ("FINAL" | "FAILED")
|
261
266
|
attr_accessor to: ::String
|
262
267
|
attr_accessor from: ::String
|
263
268
|
attr_accessor contract_address: ::String
|
@@ -269,7 +274,7 @@ module Aws::ManagedBlockchainQuery
|
|
269
274
|
attr_accessor signature_s: ::String
|
270
275
|
attr_accessor transaction_fee: ::String
|
271
276
|
attr_accessor transaction_id: ::String
|
272
|
-
attr_accessor confirmation_status: ("FINAL")
|
277
|
+
attr_accessor confirmation_status: ("FINAL" | "NONFINAL")
|
273
278
|
attr_accessor execution_status: ("FAILED" | "SUCCEEDED")
|
274
279
|
SENSITIVE: []
|
275
280
|
end
|
@@ -292,6 +297,7 @@ module Aws::ManagedBlockchainQuery
|
|
292
297
|
attr_accessor transaction_hash: ::String
|
293
298
|
attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
|
294
299
|
attr_accessor transaction_timestamp: ::Time
|
300
|
+
attr_accessor confirmation_status: ("FINAL" | "NONFINAL")
|
295
301
|
SENSITIVE: []
|
296
302
|
end
|
297
303
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-managedblockchainquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|