Skip to main content

Get account transaction information for specific transaction

Retrieves transaction details for a given Transaction Id tx_id, for a given account or contract Identifier.

Path Parameters

principal

string

REQUIRED

Stacks address or a contract identifier

tx_id

string

REQUIRED

Transaction id

Responses

200

Success

Schema

OPTIONAL

tx

object

Describes all transaction types on Stacks 2.0 blockchain

stx_sent

string

Total sent from the given address, including the tx fee, in micro-STX as an integer string.

stx_received

string

Total received by the given address in micro-STX as an integer string.

stx_transfers

object[]

amount

string

Amount transferred in micro-STX as an integer string.

sender

string

OPTIONAL

Principal that sent STX. This is unspecified if the STX were minted.

recipient

string

OPTIONAL

Principal that received STX. This is unspecified if the STX were burned.

ft_transfers

object[]

OPTIONAL

asset_identifier

string

Fungible Token asset identifier.

amount

string

Amount transferred as an integer string. This balance does not factor in possible SIP-010 decimals.

sender

string

OPTIONAL

Principal that sent the asset.

recipient

string

OPTIONAL

Principal that received the asset.

nft_transfers

object[]

OPTIONAL

asset_identifier

string

Non Fungible Token asset identifier.

value

object

Non Fungible Token asset value.

hex

string

repr

string

sender

string

OPTIONAL

Principal that sent the asset.

recipient

string

OPTIONAL

Principal that received the asset.

404

Not found