Skip to main content

Get account assets

Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.

Path Parameters
principal string REQUIRED

Stacks address or a Contract identifier

Example: SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0
Query Parameters
limit integer

max number of account assets to fetch

Example: 20
offset integer

index of first account assets to fetch

Example: 42000
unanchored boolean

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

Example: true
until_block string

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.

Example: 60000
Responses
200

Success

Schema OPTIONAL
limit integer

Possible values: value ≤ 30

offset integer
total integer
results object[]
get_account_assets
GET /extended/v1/address/:principal/assets
principal — path
limit — query
offset — query
unanchored — query
until_block — query
https://api.mainnet.hiro.so
curl -L 'https://api.mainnet.hiro.so/extended/v1/address/:principal/assets' \
-H 'Accept: application/json'