getAuctionParameters()
/**
* Get the auction parameters for the Collective Portrait Registry contract.
*
* @remarks
* The auction parameters are the multiplier, percentage, and epoch used by the Collective Portrait Registry contract to calculate the auction price.
* Although return type is any, the return value is an object with three properties: auctionMultiplier, auctionPercentage, and auctionEpoch.
* Subject to change.
*
* @returns {any} - The auction parameters for the Collective Portrait Registry contract.
* @beta
* @async
*/
getAuctionParameters(): any {
const parameters =
this.portrait.portraitCollectiveContract.getAuctionParameters();
const json = {
auctionMultiplier: parameters[0],
auctionPercentage: parameters[1],
auctionEpoch: parameters[2],
};
return json;
}
Last updated