Skip to main content

Retrieve a transaction by Id

Retrieves a specific blockchain transaction using its unique identifier. A transaction represents an action that writes data to the blockchain, such as asset activation, controller updates, or ether transfers.

You can use OData Select query option to retrieve specific fields of the transaction.

📘 Learn more about transactions.

Request Endpoint:​

GET /odata/v1.0/Transactions({key})

Parameters​

ParameterTypeDescriptionMandatory
keystring (UUID)The unique identifier of the requested transaction✅

Example:

B5BB3E99-A8F8-4896-8D41-07920DFCDAEC

Request Body​

No request body required.

Response Body Example​

Media type: application/json

{
"Id": "C0D34D73-6FD3-40F2-A7E1-08D9412448F7",
"State": "3",
"BlockchainTransactionId": "0x748ac47e7226cae0e4e13373375f33ab9e4d43ef29d85d233162a7e7e913703b",
"Type": "ActivateAsset",
"OnCreated": "2025-10-10T10:02:57.810Z",
"OnUpdated": "2025-10-10T10:02:57.810Z",
"OnSubmitted": "2025-10-10T10:02:57.810Z",
"OnCommitted": "2025-10-10T10:02:57.810Z",
"OnConfirmed": "2025-10-10T10:02:57.810Z",
"OnRevokedByBlockchain": "2025-10-10T10:02:57.810Z",
"OnRevokedByUser": "2025-10-10T10:02:57.810Z",
"OnRevokedByTxServer": "2025-10-10T10:02:57.810Z",
"SignedBy": "string",
"CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"GasPrice": "string",
"GasUsed": "string",
"DataAsJson": "string",
"SigningParametersAsJson": "string"
}

Response Body Parameters:​

ParameterTypeDescription
Idstring (UUID)Unique identifier of the transaction
StatestringCurrent transaction state (Received, Submitted, Committed, Confirmed, etc.)
BlockchainTransactionIdstringIdentifier of the transaction on the blockchain
TypestringType of the transaction (see Transaction types in TEOS API)
OnCreateddatetimeTimestamp when the transaction was created
OnUpdateddatetimeTimestamp when the transaction was last updated
OnSubmitteddatetimeTimestamp when the transaction was submitted for signing
OnCommitteddatetimeTimestamp when the transaction was successfully committed to the blockchain
OnConfirmeddatetimeTimestamp when the transaction was confirmed by the blockchain
OnRevokedByBlockchaindatetimeTimestamp if transaction was revoked by blockchain
OnRevokedByUserdatetimeTimestamp if transaction was revoked by user
OnRevokedByTxServerdatetimeTimestamp if transaction was revoked by TxServer
SignedBystringPublic address of the signer of the transaction
CreatedBystringIdentifier of the user who created the transaction
GasPricestringGas price used for the transaction
GasUsedstringGas used for the transaction
DataAsJsonstringTransaction data serialized as JSON
SigningParametersAsJsonstringParameters used for signing the transaction serialized as JSON

Responses​

CodeDescription
200The transaction was successfully retrieved
401Unauthorized
404The transaction with specified Id is not found