User NFTs
1. Use StreamNFT Indexer (1 API Call to get all User NFTs)
This API endpoint retrieves all NFTs associated with a specific wallet address on a given blockchain network. It provides an option to include rented NFTs in the response based on a query parameter.
Path parameters
chainIdstringRequired
The chain ID to retrieve NFTs from
walletstringRequired
The wallet address to retrieve NFTs for
Query parameters
rentbooleanOptional
Filter to include rented NFTs (true or false)
Responses
200
A list of NFTs
application/json
500
Server error
get
/getNFTs/{chainId}/{wallet}2. Use External Indexer (2 API Call to get all User NFTs)
Path parameters
chainIdstringRequiredExample:
The ID of the blockchain chain
296Query parameters
userstringOptional
NFT owner
providerstringOptional
Loan provided by
collectionstringOptionalDefault:
The token address of the collection
0x00000000000000000000000000000000003a05adrenteestringOptional
The current rentee of the asset manager
statestring ยท enumOptionalPossible values:
The state of the asset manager (Valid values: LOAN | RENT | STALE | PRE_LOAN)
Responses
200
Successful response
application/json
500
Internal server error
application/json
get
/assetManager/{chainId}Example: How to Integrate External Indexer
Last updated