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

Function

userAcceptsAvailableRental(
    uint256 rentId_ //Rental identifier
)

Last updated