Skip to content

Get transaction details by ID

GET
/chain/tx/{txId}

Retrieve details of a blockchain transaction using the transaction ID.

Authorizations

Parameters

Path Parameters

txId
required
string format: uuid
123e4567-e89b-12d3-a456-426614174000

Responses

200

Transaction details retrieved successfully

object
txData

The response data from the chain.

string
chainId

The ID for different chains.

integer
to

The address the transaction was sent to.

string
from

The sender of the transaction.

string
contractAddress

The address of the contract if the transaction was directly responsible for deploying one.

string
hash

The transaction hash.

string
index

The index of this transaction within the block transactions.

integer
blockHash

The block hash of the block this transaction was included in.

string
blockNumber

The block number of the block this transaction was included in.

integer
gasUsed

The actual amount of gas used by this transaction.

string
gasPrice

The actual gas price used during execution.

string
logs
Array<object>
object
removed

Whether the log was removed due to an orphaned block.

boolean
data

The data logged in the transaction.

string
transactionIndex

The index of the log within the block.

integer
topics
Array<string>
type

The transaction type.

integer
status

1 for success, 0 for revert, null for pending.

integer

401

Unauthorized - Invalid or missing authentication token

object
code

The HTTP status code.

integer
status

The error status description.

string

404

Not Found - Transaction not found

object
code

The HTTP status code.

integer
status

The error status description.

string