MetaplexAuctionHouseProgram.cancelBidReceipt constructor
MetaplexAuctionHouseProgram.cancelBidReceipt({
- required SolAddress receipt,
- required SolAddress instruction,
- SolAddress systemProgram = SystemProgramConst.programId,
Cancel an active bid receipt by setting the canceled_at
field to the current time.
Implementation
factory MetaplexAuctionHouseProgram.cancelBidReceipt({
required SolAddress receipt,
required SolAddress instruction,
SolAddress systemProgram = SystemProgramConst.programId,
}) {
return MetaplexAuctionHouseProgram(
keys: [
receipt.toWritable(),
systemProgram.toReadOnly(),
instruction.toReadOnly(),
],
programId: MetaplexAuctionHouseProgramConst.programId,
layout: const MetaplexAuctionHouseCancelBidReceiptLayout());
}