• This instruction is used to close the various accounts opened during the lifecycle of the trade, and additionally give a rebate to the order flow source for its order flow.

    Lamports used to open the accounts will be returned to the payers who opened the accounts.

    Returns

    This function returns an instruction to include in the transaction.

    Returns Promise<Transaction>

Generated using TypeDoc