TransactionEvent - Amazon Managed Blockchain

TransactionEvent

The container for the properties of a transaction event.

Contents

eventType

The type of transaction event.

Type: String

Valid Values: ERC20_TRANSFER | ERC20_MINT | ERC20_BURN | ERC20_DEPOSIT | ERC20_WITHDRAWAL | ERC721_TRANSFER | ERC1155_TRANSFER | BITCOIN_VIN | BITCOIN_VOUT | INTERNAL_ETH_TRANSFER | ETH_TRANSFER

Required: Yes

network

The blockchain network where the transaction occurred.

Type: String

Valid Values: ETHEREUM_MAINNET | ETHEREUM_SEPOLIA_TESTNET | BITCOIN_MAINNET | BITCOIN_TESTNET

Required: Yes

transactionHash

The hash of a transaction. It is generated when a transaction is created.

Type: String

Pattern: (0x[A-Fa-f0-9]{64}|[A-Fa-f0-9]{64})

Required: Yes

blockchainInstant

The container for time.

Type: BlockchainInstant object

Required: No

confirmationStatus

This container specifies whether the transaction has reached Finality.

Type: String

Valid Values: FINAL | NONFINAL

Required: No

contractAddress

The blockchain address for the contract

Type: String

Pattern: [-A-Za-z0-9]{13,74}

Required: No

from

The wallet address initiating the transaction. It can either be a public key or a contract.

Type: String

Pattern: [-A-Za-z0-9]{13,74}

Required: No

spentVoutIndex

The position of the spent transaction output in the output list of the creating transaction.

Note

This is only returned for BITCOIN_VIN event types.

Type: Integer

Required: No

spentVoutTransactionHash

The transactionHash that created the spent transaction output.

Note

This is only returned for BITCOIN_VIN event types.

Type: String

Required: No

spentVoutTransactionId

The transactionId that created the spent transaction output.

Note

This is only returned for BITCOIN_VIN event types.

Type: String

Required: No

to

The wallet address receiving the transaction. It can either be a public key or a contract.

Type: String

Pattern: [-A-Za-z0-9]{13,74}

Required: No

tokenId

The unique identifier for the token involved in the transaction.

Type: String

Pattern: [a-zA-Z0-9]{1,66}

Required: No

transactionId

The identifier of a Bitcoin transaction. It is generated when a transaction is created.

Type: String

Required: No

value

The value that was transacted.

Type: String

Required: No

voutIndex

The position of the transaction output in the transaction output list.

Type: Integer

Required: No

voutSpent

Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.

Note

This is only returned for BITCOIN_VOUT event types.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: