@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
BatchGetTokenBalance action for every
token in the request. |
GetAssetContractResult |
getAssetContract(GetAssetContractRequest request)
Gets the information about a specific contract deployed on the blockchain.
|
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)
Gets the details of a transaction.
|
ListAssetContractsResult |
listAssetContracts(ListAssetContractsRequest request)
Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet
address).
|
ListFilteredTransactionEventsResult |
listFilteredTransactionEvents(ListFilteredTransactionEventsRequest request)
Lists all the transaction events for an address on the blockchain.
|
ListTokenBalancesResult |
listTokenBalances(ListTokenBalancesRequest request)
This action returns the following for a given blockchain network:
|
ListTransactionEventsResult |
listTransactionEvents(ListTransactionEventsRequest request)
Lists all the transaction events for a transaction
|
ListTransactionsResult |
listTransactions(ListTransactionsRequest request)
Lists all the transaction events for a transaction.
|
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 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.
batchGetTokenBalance
in interface AmazonManagedBlockchainQuery
public GetAssetContractResult getAssetContract(GetAssetContractRequest request)
AmazonManagedBlockchainQuery
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.
getAssetContract
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 and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
getTokenBalance
in interface AmazonManagedBlockchainQuery
public GetTransactionResult getTransaction(GetTransactionRequest request)
AmazonManagedBlockchainQuery
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.
getTransaction
in interface AmazonManagedBlockchainQuery
public ListAssetContractsResult listAssetContracts(ListAssetContractsRequest request)
AmazonManagedBlockchainQuery
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.
listAssetContracts
in interface AmazonManagedBlockchainQuery
public ListFilteredTransactionEventsResult listFilteredTransactionEvents(ListFilteredTransactionEventsRequest request)
AmazonManagedBlockchainQuery
Lists all the transaction events for an address on the blockchain.
This operation is only supported on the Bitcoin networks.
listFilteredTransactionEvents
in interface AmazonManagedBlockchainQuery
public ListTokenBalancesResult listTokenBalances(ListTokenBalancesRequest request)
AmazonManagedBlockchainQuery
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.
listTokenBalances
in interface AmazonManagedBlockchainQuery
public ListTransactionEventsResult listTransactionEvents(ListTransactionEventsRequest request)
AmazonManagedBlockchainQuery
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.
listTransactionEvents
in interface AmazonManagedBlockchainQuery
public ListTransactionsResult listTransactions(ListTransactionsRequest request)
AmazonManagedBlockchainQuery
Lists all the transaction events for a transaction.
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.