Get account assets

Retrieves a list of all asset events associated with an account or a contract identifier.


GET
/extended/v1/address/{principal}/assets

Get account assets

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

Query Parameters

limitLimit

Results per page

Default: 20Minimum: 0Maximum: 100

offsetOffset

Result offset

Default: 0Minimum: 0

unanchoredboolean

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

Default: false

until_blockstring

Block hash or block height. Return data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.

Path Parameters

principal
Required
Any properties in STX Address, Smart Contract ID

Status codeDescription
200Default Response
4XXDefault Response
curl -X GET "https://api.hiro.so/extended/v1/address/SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP/assets?limit=20&offset=0&unanchored=false&until_block=string"

{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"event_index": 0,
"event_type": "smart_contract_log",
"tx_id": "string",
"contract_log": {
"contract_id": "string",
"topic": "string",
"value": {
"hex": "string",
"repr": "string"
}
}
}
]
}