@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonManagedBlockchainQuery extends Object implements AmazonManagedBlockchainQuery
AmazonManagedBlockchainQuery
. Convenient method forms pass through to the
corresponding overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
BatchGetTokenBalanceResult |
batchGetTokenBalance(BatchGetTokenBalanceRequest request)
Gets the token balance for a batch of tokens by using the
GetTokenBalance action for every token in
the request. |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetTokenBalanceResult |
getTokenBalance(GetTokenBalanceRequest request)
Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the
blockchain.
|
GetTransactionResult |
getTransaction(GetTransactionRequest request)
Get the details of a transaction.
|
ListTokenBalancesResult |
listTokenBalances(ListTokenBalancesRequest request)
This action returns the following for a given a blockchain network:
|
ListTransactionEventsResult |
listTransactionEvents(ListTransactionEventsRequest request)
An array of
TransactionEvent objects. |
ListTransactionsResult |
listTransactions(ListTransactionsRequest request)
Lists all of the transactions on a given wallet address or to a specific contract.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
public BatchGetTokenBalanceResult batchGetTokenBalance(BatchGetTokenBalanceRequest request)
AmazonManagedBlockchainQuery
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.
batchGetTokenBalance
in interface AmazonManagedBlockchainQuery
public GetTokenBalanceResult getTokenBalance(GetTokenBalanceRequest request)
AmazonManagedBlockchainQuery
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.
getTokenBalance
in interface AmazonManagedBlockchainQuery
public GetTransactionResult getTransaction(GetTransactionRequest request)
AmazonManagedBlockchainQuery
Get the details of a transaction.
getTransaction
in interface AmazonManagedBlockchainQuery
public ListTokenBalancesResult listTokenBalances(ListTokenBalancesRequest request)
AmazonManagedBlockchainQuery
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.
listTokenBalances
in interface AmazonManagedBlockchainQuery
public ListTransactionEventsResult listTransactionEvents(ListTransactionEventsRequest request)
AmazonManagedBlockchainQuery
An array of TransactionEvent
objects. Each object contains details about the transaction event.
listTransactionEvents
in interface AmazonManagedBlockchainQuery
public ListTransactionsResult listTransactions(ListTransactionsRequest request)
AmazonManagedBlockchainQuery
Lists all of the transactions on a given wallet address or to a specific contract.
listTransactions
in interface AmazonManagedBlockchainQuery
public void shutdown()
AmazonManagedBlockchainQuery
shutdown
in interface AmazonManagedBlockchainQuery
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonManagedBlockchainQuery
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonManagedBlockchainQuery
request
- The originally executed request.