Function initAuctionEpochStateAccountTransaction

  • This instruction initializes an auction epoch state account

    AuctionEpochState carries state specific to a certain auction that needs to be remembered after the epoch ends. The AuctionEpochState accounts associated with auction epochs N and N + 1 need to be initialized when the auction for epoch N begins (i.e. in the first SubmitAuctionBid that auction N will receive). Recall that if the AuctionState has an epoch field that has value X, then auction X is currently active, and auction X - 1 is currently receiving order flow.

    Returns

    This function returns an instruction to include in the transaction.

    Returns Promise<Transaction>

Generated using TypeDoc