API
Stream NFT API rental integration
The Asset Manager API provides functionalities for managing asset managers in a blockchain-based ecosystem. Asset managers are entities responsible for managing various assets, such as digital tokens, NFTs (Non-Fungible Tokens), and other digital assets, on a blockchain network. These APIs allows users to retrieve information about asset managers based on their chain ID and contract address.
Endpoint:
Main Net Base URL: https://indexer.streamnft.tech/
Test Net Base URL: https://stagingindexer.streamnft.tech/
Use StreamNFT Indexer (1 API Call to get all User NFTs)
Use External Indexer (2 API Call to get all User NFTs)
Query Parameters specific for rentals:
collection
: Filter for token address of the NFT collectionrentee
: Filter for assets rented by a walletstate
: Filter for all assets on Marketplace (STALE) or rented out (RENT)onlyRentData
: Output only rental data (NFT rentee, NFT owner, rental expiry, state)
Response:
Successful responses return an array of asset managers for provided token address with detailed information, such as the current rentee and the state of each asset.
Example: How to Integrate
Get all rented collection NFTs by user wallet
Get all rented NFTs by user wallet
Last updated