AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetTransactionAsync.

Namespace: Amazon.ManagedBlockchainQuery
Assembly: AWSSDK.ManagedBlockchainQuery.dll
Version: 3.x.y.z

Syntax

C#
public abstract GetTransactionResponse GetTransaction(
         GetTransactionRequest request
)

Parameters

request
Type: Amazon.ManagedBlockchainQuery.Model.GetTransactionRequest

Container for the necessary parameters to execute the GetTransaction service method.

Return Value


The response from the GetTransaction service method, as returned by ManagedBlockchainQuery.

Exceptions

ExceptionCondition
AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
InternalServerException The request processing has failed because of an internal error in the service.
ResourceNotFoundException The resource was not found.
ServiceQuotaExceededException The service quota has been exceeded for this resource.
ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
ValidationException The resource passed is invalid.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also