Unfreeze
Search
K
Comment on page

Accepting an offer

After registering NFT collection users can start lending offered NFT tokens. For that we need to interact with Marketplace smart contract.

1. Accept NFT Rental

Renter needs to execute userAcceptsAvailableRental method and as a transaction value parameter send value of native currency for which given rental offer was created. Parameters
Param Name
Param Type
Description
rentId_
uint256
Identifier of a given rental offer
Function
userAcceptsAvailableRental(
uint256 rentId_ //Rental identifier
)