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
- objectarray
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.
- 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'.
- tx_statusstring
The status of the transaction. Enum: 'pending', 'dropped_replace_by_fee', 'dropped_replace_across_fork', 'dropped_too_expensive', 'dropped_stale_garbage_collect'.
- receipt_timeinteger
A Unix timestamp (in seconds) indicating when the transaction broadcast was received by the node.
- receipt_time_isostring
An ISO 8601 timestamp (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when the transaction broadcast was received by the node.
- tx_typestring
The type of the transaction.
- token_transferobject
The token transfer object.
- recipient_addressstring
The recipient address.
- amountstring
The transfer amount as an integer string (64-bit unsigned integer).
- memostring
The hex-encoded arbitrary message, up to 34 bytes length (should try decoding to an ASCII string).