deleteAuction
To delete an auction.
Note
- Only auction which haven't started yet, can be deleted.
- Only auction creator is allowed to delete the auction.
On success, returns true, otherwise returns Error.
Usage
deleteAuction(auction_id);
Parameters
auction_id: String
Example
const auction_id = "80C4AB98-08B8-16D1-0000-000000000000";
const deleted = await bauctionInstance.bidOnAuction(auction_id); //returns true or Error