Get non-fungible token holdings
Retrieves a list of non-fungible tokens owned by the given principal (STX address or smart contract ID).
Non-Fungible Token holdings
Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID). Results can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.
More information on Non-Fungible Tokens on the Stacks blockchain can be found here.
Query Parameters
principal
Requiredstring
token owner's STX address or Smart Contract ID
Example:"SPNWZ5V2TPWGQGVDR6T7B6RQ4XMGZ4PXTEE0VQ0S.marketplace-v3"
asset_identifiers
array<string>
identifiers of the token asset classes to filter for
Example:"SPQZF23W7SEYBFG5JQ496NMY0G7379SRYEDREMSV.Candy::candy"
limit
integer
max number of tokens to fetch
Default:50
offset
integer
index of first tokens to fetch
Example:42000
Default: 0
unanchored
boolean
whether or not to include tokens from unconfirmed transactions
Example:true
Default: false
tx_metadata
boolean
whether or not to include the complete transaction metadata instead of just tx_id
. Enabling this option can affect performance and response times.
false
Status code | Description |
---|---|
200 | List of Non-Fungible Token holdings |
List of Non-Fungible Token holdings