Path Parameters
- principalstringREQUIRED
Stacks address or a Contract identifier (e.g. SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info).
Query Parameters
- limitinteger
max number of account transactions to fetch.
- offsetinteger
index of first account transaction to fetch.
- heightnumber
Filter for transactions only at this given block height.
- unanchoredboolean
Include transaction data from unanchored (i.e. unconfirmed) microblocks.
- until_blockstring
returned data representing the state up until that point in time, rather than the current block.
Returns
- object
GET request that returns account transactions
- limitinteger
The maximum number of transactions to be returned in the response.
- offsetinteger
The number of transactions to skip in the result set before starting to return transactions.
- totalinteger
The total count of transactions associated with the account.
- resultsarray
An array containing the account transactions with transfers.
- txobject
The principal that received the asset.
- tx_idstring
The transaction ID.
- nonceinteger
The nonce used for ordering transactions originating from and paying from an account.
- fee_ratestring
The transaction fee as an integer string (64-bit unsigned integer).
- sender_addressstring
The address of the transaction initiator.
- sponsor_nonceinteger
The sponsor nonce.
- sponsoredboolean
Denotes whether the originating account is the same as the paying account.
- sponsor_addressstring
The sponsor address.
- post_condition_modestring
The post-condition mode. Enum: 'allow', 'deny'.
- post_conditionsarray
An array containing the post-conditions associated with the transaction.
- principalobject
The principal associated with the post-condition.
- type_idstring
The string literal of the principal type.
- condition_codestring
The condition code. Enum: 'sent_equal_to', 'sent_greater_than', 'sent_greater_than_or_equal_to', 'sent_less_than', 'sent_less_than_or_equal_to'.
- amountstring
The amount associated with the post-condition as an integer string.
- typestring
The type of the post-condition. Value: 'STX'.
- anchor_modestring
The anchor mode. Enum: 'on_chain_only', 'off_chain_only', 'any'.
- block_hashstring
The hash of the block associated with this transaction.
- block_heightinteger
The height of the block associated with this transaction.
- burn_block_timestring
A Unix timestamp (in seconds) indicating when this block was mined.
- burn_block_time_isostring
An ISO 8601 timestamp (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined.
- parent_burn_block_timestring
A Unix timestamp (in seconds) indicating when this parent block was mined.
- parent_burn_block_time_isostring
An ISO 8601 timestamp (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this parent block was mined.
- canonicalarray
An array denoting whether the block corresponds to the canonical chain tip.
- tx_indexinteger
The index of the transaction, indicating the order.
- tx_statusstring
The status of the transaction. Enum: 'success', 'abort_by_response', 'abort_by_post_condition'.
- tx_resultobject
The result of the transaction.
- hexstring
The hexadecimal representation of the transaction.
- reprstring
The string representation of the transaction.
- event_countinteger
The number of transaction events.
- parent_block_hashstring
The hash of the previous block.
- is_unanchoredboolean
True if the transaction is included in a microblock that has not been confirmed by an anchor block.
- microblock_hashstring
The microblock hash that this transaction was streamed in. Empty if the transaction was batched in an anchor block.
- microblock_sequenceinteger
The microblock sequence number that this transaction was streamed in. Max int32 value if the transaction was batched in an anchor block.
- microblock_canonicalboolean
Set to true if the microblock is anchored in the canonical chain tip, false if the transaction was orphaned in a micro-fork.
- execution_cost_read_countinteger
The execution cost read count.
- execution_cost_read_lengthinteger
The execution cost read length.
- execution_cost_runtimeinteger
The execution cost runtime.
- execution_cost_write_countinteger
The execution cost write count.
- execution_cost_write_lengthinteger
The execution cost write length.
- eventsarray
A list of transaction events.
- event_indexinteger
The index of the event.
- event_typestring
The type of the event.
- tx_idstring
The transaction ID.
- contract_logobject
The contract log associated with the event.
- tx_typestring
The type of the transaction. Value: 'token_transfer'.
- token_transferobject
The token transfer details.
- recipient_addressstring
The recipient address.
- amountstring
The transfer amount as an integer string.
- memostring
The hex-encoded arbitrary message.
- stx_sentstring
The total amount sent from the given address, including the transaction fee, in micro-STX as an integer string.
- stx_receivedstring
The total amount received by the given address in micro-STX as an integer string.
- stx_transfersarray
An array with the following information:
- amountstring
Amount transferred in micro-STX as an integer string.
- senderstring
Principal that sent STX. This is unspecified if the STX were minted.
- recipientstring
Principal that received STX. This is unspecified if the STX were burned.
- ft_transfersarray
An array with the following information:
- asset_identifierstring
Fungible Token asset identifier.
- amountstring
Amount transferred as an integer string. This balance does not factor in possible SIP-010 decimals.
- senderstring
Principal that sent the asset.
- recipientstring
Principal that received the asset.
- nft_transfersarray
An array with the following information:
- asset_identifierstring
Non Fungible Token asset identifier.
- valueobject
Non Fungible Token asset value.
- hexstring
The hex value
- reprstring
The representation
- senderstring
Principal that sent the asset.
- recipientstring
Principal that received the asset.