@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonManagedBlockchainQueryAsync extends AbstractAmazonManagedBlockchainQuery implements AmazonManagedBlockchainQueryAsync
AmazonManagedBlockchainQueryAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
batchGetTokenBalance, getAssetContract, getCachedResponseMetadata, getTokenBalance, getTransaction, listAssetContracts, listFilteredTransactionEvents, listTokenBalances, listTransactionEvents, listTransactions, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchGetTokenBalance, getAssetContract, getCachedResponseMetadata, getTokenBalance, getTransaction, listAssetContracts, listFilteredTransactionEvents, listTokenBalances, listTransactionEvents, listTransactions, shutdown
public Future<BatchGetTokenBalanceResult> batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest request)
AmazonManagedBlockchainQueryAsync
Gets the token balance for a batch of tokens by using the BatchGetTokenBalance
action for every
token in the request.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
batchGetTokenBalanceAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<BatchGetTokenBalanceResult> batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest request, AsyncHandler<BatchGetTokenBalanceRequest,BatchGetTokenBalanceResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Gets the token balance for a batch of tokens by using the BatchGetTokenBalance
action for every
token in the request.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
batchGetTokenBalanceAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAssetContractResult> getAssetContractAsync(GetAssetContractRequest request)
AmazonManagedBlockchainQueryAsync
Gets the information about a specific contract deployed on the blockchain.
The Bitcoin blockchain networks do not support this operation.
Metadata is currently only available for some ERC-20
contracts. Metadata will be available for
additional contracts in the future.
getAssetContractAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<GetAssetContractResult> getAssetContractAsync(GetAssetContractRequest request, AsyncHandler<GetAssetContractRequest,GetAssetContractResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Gets the information about a specific contract deployed on the blockchain.
The Bitcoin blockchain networks do not support this operation.
Metadata is currently only available for some ERC-20
contracts. Metadata will be available for
additional contracts in the future.
getAssetContractAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTokenBalanceResult> getTokenBalanceAsync(GetTokenBalanceRequest request)
AmazonManagedBlockchainQueryAsync
Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
getTokenBalanceAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<GetTokenBalanceResult> getTokenBalanceAsync(GetTokenBalanceRequest request, AsyncHandler<GetTokenBalanceRequest,GetTokenBalanceResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.
Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
getTokenBalanceAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTransactionResult> getTransactionAsync(GetTransactionRequest request)
AmazonManagedBlockchainQueryAsync
Gets the details of a transaction.
This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
getTransactionAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<GetTransactionResult> getTransactionAsync(GetTransactionRequest request, AsyncHandler<GetTransactionRequest,GetTransactionResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Gets the details of a transaction.
This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
getTransactionAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssetContractsResult> listAssetContractsAsync(ListAssetContractsRequest request)
AmazonManagedBlockchainQueryAsync
Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).
The Bitcoin blockchain networks do not support this operation.
listAssetContractsAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<ListAssetContractsResult> listAssetContractsAsync(ListAssetContractsRequest request, AsyncHandler<ListAssetContractsRequest,ListAssetContractsResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).
The Bitcoin blockchain networks do not support this operation.
listAssetContractsAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFilteredTransactionEventsResult> listFilteredTransactionEventsAsync(ListFilteredTransactionEventsRequest request)
AmazonManagedBlockchainQueryAsync
Lists all the transaction events for an address on the blockchain.
This operation is only supported on the Bitcoin networks.
listFilteredTransactionEventsAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<ListFilteredTransactionEventsResult> listFilteredTransactionEventsAsync(ListFilteredTransactionEventsRequest request, AsyncHandler<ListFilteredTransactionEventsRequest,ListFilteredTransactionEventsResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Lists all the transaction events for an address on the blockchain.
This operation is only supported on the Bitcoin networks.
listFilteredTransactionEventsAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTokenBalancesResult> listTokenBalancesAsync(ListTokenBalancesRequest request)
AmazonManagedBlockchainQueryAsync
This action returns the following for a given blockchain network:
Lists all token balances owned by an address (either a contract address or a wallet address).
Lists all token balances for all tokens created by a contract.
Lists all token balances for a given token.
You must always specify the network property of the tokenFilter
when using this operation.
listTokenBalancesAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<ListTokenBalancesResult> listTokenBalancesAsync(ListTokenBalancesRequest request, AsyncHandler<ListTokenBalancesRequest,ListTokenBalancesResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
This action returns the following for a given blockchain network:
Lists all token balances owned by an address (either a contract address or a wallet address).
Lists all token balances for all tokens created by a contract.
Lists all token balances for a given token.
You must always specify the network property of the tokenFilter
when using this operation.
listTokenBalancesAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTransactionEventsResult> listTransactionEventsAsync(ListTransactionEventsRequest request)
AmazonManagedBlockchainQueryAsync
Lists all the transaction events for a transaction
This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
listTransactionEventsAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<ListTransactionEventsResult> listTransactionEventsAsync(ListTransactionEventsRequest request, AsyncHandler<ListTransactionEventsRequest,ListTransactionEventsResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Lists all the transaction events for a transaction
This action will return transaction details for all transactions that are confirmed on the blockchain, even if they have not reached finality.
listTransactionEventsAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest request)
AmazonManagedBlockchainQueryAsync
Lists all the transaction events for a transaction.
listTransactionsAsync
in interface AmazonManagedBlockchainQueryAsync
public Future<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest request, AsyncHandler<ListTransactionsRequest,ListTransactionsResult> asyncHandler)
AmazonManagedBlockchainQueryAsync
Lists all the transaction events for a transaction.
listTransactionsAsync
in interface AmazonManagedBlockchainQueryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.