Path Parameters
- principalstringREQUIRED
Stacks address or a Contract identifier (e.g. SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info).
Query Parameters
- limitinteger
max number of account assets to fetch.
- offsetinteger
index of first account assets to fetch.
- unanchoredboolean
Include transaction data from unanchored (i.e. unconfirmed) microblocks.
- until_blockstring
returned data representing the state at that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
Returns
- object
GET request that returns address assets
- limitinteger
The maximum number of assets to be returned in the response
- offsetinteger
It is used for pagination purposes
- totalinteger
The total count of assets associated with the specified principal
- resultsarray
An array of assets associated with the principal
- event_indexinteger
The index or position of the asset in the list of assets for the principal
- event_typestring
The type of event associated with the asset
- tx_idstring
The unique transaction ID associated with the asset event
- contract_logobject
An array that contains contains additional information or data related to the asset event
- contract_idstring
The identifier of the smart contract associated with the asset event
- topicstring
A specific topic associated with the asset event
- valueobject
The value associated with the asset event
- hexstring
The value of the asset event in hexadecimal format
- reprstring
The description of the asset event