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.
Renter needs to execute
userAcceptsAvailableRental
method and as a transaction value parameter send value of native currency for which given rental offer was created.
ParametersParam Name | Param Type | Description |
---|---|---|
rentId_ | uint256 | Identifier of a given rental offer |
Function
userAcceptsAvailableRental(
uint256 rentId_ //Rental identifier
)
Last modified 1yr ago