@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonManagedBlockchainQueryAsync extends AmazonManagedBlockchainQuery
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonManagedBlockchainQueryAsync
instead.
Amazon Managed Blockchain (AMB) Query provides you with convenient access to multi-blockchain network data, which makes it easier for you to extract contextual data related to blockchain activity. You can use AMB Query to read data from public blockchain networks, such as Bitcoin Mainnet and Ethereum Mainnet. You can also get information such as the current and historical balances of addresses, or you can get a list of blockchain transactions for a given time period. Additionally, you can get details of a given transaction, such as transaction events, which you can further analyze or use in business logic for your applications.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<BatchGetTokenBalanceResult> |
batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest batchGetTokenBalanceRequest)
Gets the token balance for a batch of tokens by using the
BatchGetTokenBalance action for every
token in the request. |
Future<BatchGetTokenBalanceResult> |
batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest batchGetTokenBalanceRequest,
AsyncHandler<BatchGetTokenBalanceRequest,BatchGetTokenBalanceResult> asyncHandler)
Gets the token balance for a batch of tokens by using the
BatchGetTokenBalance action for every
token in the request. |
Future<GetAssetContractResult> |
getAssetContractAsync(GetAssetContractRequest getAssetContractRequest)
Gets the information about a specific contract deployed on the blockchain.
|
Future<GetAssetContractResult> |
getAssetContractAsync(GetAssetContractRequest getAssetContractRequest,
AsyncHandler<GetAssetContractRequest,GetAssetContractResult> asyncHandler)
Gets the information about a specific contract deployed on the blockchain.
|
Future<GetTokenBalanceResult> |
getTokenBalanceAsync(GetTokenBalanceRequest getTokenBalanceRequest)
Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the
blockchain.
|
Future<GetTokenBalanceResult> |
getTokenBalanceAsync(GetTokenBalanceRequest getTokenBalanceRequest,
AsyncHandler<GetTokenBalanceRequest,GetTokenBalanceResult> asyncHandler)
Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the
blockchain.
|
Future<GetTransactionResult> |
getTransactionAsync(GetTransactionRequest getTransactionRequest)
Gets the details of a transaction.
|
Future<GetTransactionResult> |
getTransactionAsync(GetTransactionRequest getTransactionRequest,
AsyncHandler<GetTransactionRequest,GetTransactionResult> asyncHandler)
Gets the details of a transaction.
|
Future<ListAssetContractsResult> |
listAssetContractsAsync(ListAssetContractsRequest listAssetContractsRequest)
Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet
address).
|
Future<ListAssetContractsResult> |
listAssetContractsAsync(ListAssetContractsRequest listAssetContractsRequest,
AsyncHandler<ListAssetContractsRequest,ListAssetContractsResult> asyncHandler)
Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet
address).
|
Future<ListFilteredTransactionEventsResult> |
listFilteredTransactionEventsAsync(ListFilteredTransactionEventsRequest listFilteredTransactionEventsRequest)
Lists all the transaction events for an address on the blockchain.
|
Future<ListFilteredTransactionEventsResult> |
listFilteredTransactionEventsAsync(ListFilteredTransactionEventsRequest listFilteredTransactionEventsRequest,
AsyncHandler<ListFilteredTransactionEventsRequest,ListFilteredTransactionEventsResult> asyncHandler)
Lists all the transaction events for an address on the blockchain.
|
Future<ListTokenBalancesResult> |
listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest)
This action returns the following for a given blockchain network:
|
Future<ListTokenBalancesResult> |
listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest,
AsyncHandler<ListTokenBalancesRequest,ListTokenBalancesResult> asyncHandler)
This action returns the following for a given blockchain network:
|
Future<ListTransactionEventsResult> |
listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest)
Lists all the transaction events for a transaction
|
Future<ListTransactionEventsResult> |
listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest,
AsyncHandler<ListTransactionEventsRequest,ListTransactionEventsResult> asyncHandler)
Lists all the transaction events for a transaction
|
Future<ListTransactionsResult> |
listTransactionsAsync(ListTransactionsRequest listTransactionsRequest)
Lists all the transaction events for a transaction.
|
Future<ListTransactionsResult> |
listTransactionsAsync(ListTransactionsRequest listTransactionsRequest,
AsyncHandler<ListTransactionsRequest,ListTransactionsResult> asyncHandler)
Lists all the transaction events for a transaction.
|
batchGetTokenBalance, getAssetContract, getCachedResponseMetadata, getTokenBalance, getTransaction, listAssetContracts, listFilteredTransactionEvents, listTokenBalances, listTransactionEvents, listTransactions, shutdown
Future<BatchGetTokenBalanceResult> batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest batchGetTokenBalanceRequest)
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.
batchGetTokenBalanceRequest
- Future<BatchGetTokenBalanceResult> batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest batchGetTokenBalanceRequest, AsyncHandler<BatchGetTokenBalanceRequest,BatchGetTokenBalanceResult> asyncHandler)
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.
batchGetTokenBalanceRequest
- 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.Future<GetAssetContractResult> getAssetContractAsync(GetAssetContractRequest getAssetContractRequest)
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.
getAssetContractRequest
- Future<GetAssetContractResult> getAssetContractAsync(GetAssetContractRequest getAssetContractRequest, AsyncHandler<GetAssetContractRequest,GetAssetContractResult> asyncHandler)
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.
getAssetContractRequest
- 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.Future<GetTokenBalanceResult> getTokenBalanceAsync(GetTokenBalanceRequest getTokenBalanceRequest)
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.
getTokenBalanceRequest
- Future<GetTokenBalanceResult> getTokenBalanceAsync(GetTokenBalanceRequest getTokenBalanceRequest, AsyncHandler<GetTokenBalanceRequest,GetTokenBalanceResult> asyncHandler)
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.
getTokenBalanceRequest
- 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.Future<GetTransactionResult> getTransactionAsync(GetTransactionRequest getTransactionRequest)
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.
getTransactionRequest
- Future<GetTransactionResult> getTransactionAsync(GetTransactionRequest getTransactionRequest, AsyncHandler<GetTransactionRequest,GetTransactionResult> asyncHandler)
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.
getTransactionRequest
- 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.Future<ListAssetContractsResult> listAssetContractsAsync(ListAssetContractsRequest listAssetContractsRequest)
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.
listAssetContractsRequest
- Future<ListAssetContractsResult> listAssetContractsAsync(ListAssetContractsRequest listAssetContractsRequest, AsyncHandler<ListAssetContractsRequest,ListAssetContractsResult> asyncHandler)
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.
listAssetContractsRequest
- 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.Future<ListFilteredTransactionEventsResult> listFilteredTransactionEventsAsync(ListFilteredTransactionEventsRequest listFilteredTransactionEventsRequest)
Lists all the transaction events for an address on the blockchain.
This operation is only supported on the Bitcoin networks.
listFilteredTransactionEventsRequest
- Future<ListFilteredTransactionEventsResult> listFilteredTransactionEventsAsync(ListFilteredTransactionEventsRequest listFilteredTransactionEventsRequest, AsyncHandler<ListFilteredTransactionEventsRequest,ListFilteredTransactionEventsResult> asyncHandler)
Lists all the transaction events for an address on the blockchain.
This operation is only supported on the Bitcoin networks.
listFilteredTransactionEventsRequest
- 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.Future<ListTokenBalancesResult> listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest)
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.
listTokenBalancesRequest
- Future<ListTokenBalancesResult> listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest, AsyncHandler<ListTokenBalancesRequest,ListTokenBalancesResult> asyncHandler)
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.
listTokenBalancesRequest
- 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.Future<ListTransactionEventsResult> listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest)
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.
listTransactionEventsRequest
- Future<ListTransactionEventsResult> listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest, AsyncHandler<ListTransactionEventsRequest,ListTransactionEventsResult> asyncHandler)
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.
listTransactionEventsRequest
- 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.Future<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest listTransactionsRequest)
Lists all the transaction events for a transaction.
listTransactionsRequest
- Future<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest listTransactionsRequest, AsyncHandler<ListTransactionsRequest,ListTransactionsResult> asyncHandler)
Lists all the transaction events for a transaction.
listTransactionsRequest
- 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.