Return
This page provides instructions on how to return your rented NFT using the UniBridge SDK.
UniBridge Collateralized
Import the
UnibridgeCollateralized
andPaymentToken
modules from the SDK.Instantiate a renter object through the module, providing the renter wallet as a parameter.
To initiate the
returnIt()
function, it is necessary to construct the suitable payload object containing the requisite fields and values. Once the payload object is prepared, it can be supplied as an argument while calling thereturnIt()
function, as demonstrated below.
UniBridge Collateral Free
Import the
UnibridgeCollateralFree
andPaymentToken
modules from the SDK.Instantiate a renter object through the module, providing the renter wallet as a parameter.
To initiate the
returnIt()
function, it is necessary to construct the suitable payload object containing the requisite fields and values. Once the payload object is prepared, it can be supplied as an argument while calling thereturnIt()
function, as demonstrated below.
Last updated