Raw Transactions (Advanced)
1. Lend NFT for rental
This operation will list the NFT on DApp for rentals.
post
List NFT for rent
Body
nftmintstringOptionalExample:
1ratestringOptionalExample:
10offerdurationstringOptionalExample:
1isfixedbooleanOptionalExample:
truefixedminutesstringOptionalExample:
10ownersharestringOptionalExample:
10whiteliststringOptionalExample:
0x1234abcd5678efgh9012ijkl3456mnopsecretstringOptionalExample:
abcdrawbooleanOptionalExample:
trueResponses
200
Successful response
application/json; charset=utf-8
500
Server error
application/json; charset=utf-8
post
/lendToken2. Take Rent for any NFT
User can take any NFT on rent for provided time duration.
post
Rent a listed nft
Body
durationminutesstringOptionalExample:
60nftmintstringOptionalExample:
1secretstringOptionalExample:
abcdrawbooleanOptionalExample:
falseResponses
200
Successful response
application/json; charset=utf-8
500
Server error
application/json; charset=utf-8
post
/processRent3. Cancel Rent
Cancel the rental offer and retrieve back the NFT.
post
Cancel a listed rent nft
Body
nftmintstringOptionalExample:
1secretstringOptionalExample:
abcdrawbooleanOptionalExample:
falseResponses
200
Successful response
application/json; charset=utf-8
500
Server error
application/json; charset=utf-8
post
/removeLendToken4. Get User Assets
This operation retrieves the assets of a specific user.
5. Get Asset Manager
This operation retrieves the asset manager.
get
Retrieves the assets owned by a specific user.
Path parameters
mintstringOptionalExample:
7YeSmq9njjsyr4Axb1LDzdooUaVJThXdgHE4Z6Gpaa3hResponses
200
Successful response
application/json; charset=utf-8
500
Server error
application/json; charset=utf-8
get
/getAssetInfo/{mint}Last updated
Was this helpful?