Skip to main content

Get account transactions including STX transfers for each transaction.

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

Example: SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0
Query Parameters
limit integer

max number of account transactions to fetch

Example: 20
offset integer

index of first account transaction to fetch

Example: 10
height number

Filter for transactions only at this given block height

Example: 66119
unanchored boolean

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

Example: true
until_block string

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

Example: 60000
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.