Skip to main content

Get account transactions including STX transfers for each transaction.

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.

Path Parameters
principal string REQUIRED

Stacks address or a Contract identifier

Query Parameters
limit integer

max number of account transactions to fetch

offset integer

index of first account transaction to fetch

height number

Filter for transactions only at this given block height

unanchored boolean

Include transaction data from unanchored (i.e. unconfirmed) microblocks

until_block string

returned data representing the state up until that point in time, rather than the current block.

Responses
200

Success

Schema OPTIONAL
limit integer

Possible values: value ≤ 30

offset integer
total integer
results object[]
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.