@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
GetTokenBalance 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
GetTokenBalance action for every token in
the request. |
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)
Get the details of a transaction.
|
Future<GetTransactionResult> |
getTransactionAsync(GetTransactionRequest getTransactionRequest,
AsyncHandler<GetTransactionRequest,GetTransactionResult> asyncHandler)
Get the details of a transaction.
|
Future<ListTokenBalancesResult> |
listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest)
This action returns the following for a given a blockchain network:
|
Future<ListTokenBalancesResult> |
listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest,
AsyncHandler<ListTokenBalancesRequest,ListTokenBalancesResult> asyncHandler)
This action returns the following for a given a blockchain network:
|
Future<ListTransactionEventsResult> |
listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest)
An array of
TransactionEvent objects. |
Future<ListTransactionEventsResult> |
listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest,
AsyncHandler<ListTransactionEventsRequest,ListTransactionEventsResult> asyncHandler)
An array of
TransactionEvent objects. |
Future<ListTransactionsResult> |
listTransactionsAsync(ListTransactionsRequest listTransactionsRequest)
Lists all of the transactions on a given wallet address or to a specific contract.
|
Future<ListTransactionsResult> |
listTransactionsAsync(ListTransactionsRequest listTransactionsRequest,
AsyncHandler<ListTransactionsRequest,ListTransactionsResult> asyncHandler)
Lists all of the transactions on a given wallet address or to a specific contract.
|
batchGetTokenBalance, getCachedResponseMetadata, getTokenBalance, getTransaction, listTokenBalances, listTransactionEvents, listTransactions, shutdown
Future<BatchGetTokenBalanceResult> batchGetTokenBalanceAsync(BatchGetTokenBalanceRequest batchGetTokenBalanceRequest)
Gets the token balance for a batch of tokens by using the GetTokenBalance
action for every token in
the request.
Only the native tokens BTC,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 GetTokenBalance
action for every token in
the request.
Only the native tokens BTC,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<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,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,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)
Get the details of a transaction.
getTransactionRequest
- Future<GetTransactionResult> getTransactionAsync(GetTransactionRequest getTransactionRequest, AsyncHandler<GetTransactionRequest,GetTransactionResult> asyncHandler)
Get the details of a transaction.
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<ListTokenBalancesResult> listTokenBalancesAsync(ListTokenBalancesRequest listTokenBalancesRequest)
This action returns the following for a given a blockchain network:
Lists all token balances owned by an address (either a contact 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 a blockchain network:
Lists all token balances owned by an address (either a contact 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)
An array of TransactionEvent
objects. Each object contains details about the transaction event.
listTransactionEventsRequest
- Future<ListTransactionEventsResult> listTransactionEventsAsync(ListTransactionEventsRequest listTransactionEventsRequest, AsyncHandler<ListTransactionEventsRequest,ListTransactionEventsResult> asyncHandler)
An array of TransactionEvent
objects. Each object contains details about the transaction event.
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 of the transactions on a given wallet address or to a specific contract.
listTransactionsRequest
- Future<ListTransactionsResult> listTransactionsAsync(ListTransactionsRequest listTransactionsRequest, AsyncHandler<ListTransactionsRequest,ListTransactionsResult> asyncHandler)
Lists all of the transactions on a given wallet address or to a specific contract.
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.