For the complete documentation index, see llms.txt. This page is also available as Markdown.

MidnightPaybackFromOrders

Description

Repay debt in the Midnight market by buying debt units at the market price.

Action ID

0x190b0b43

SDK Action

const midnightPaybackFromOrdersAction = new dfs.actions.midnight.MidnightPaybackFromOrdersAction(
    marketId,
    onBehalf,
    from,
    amount,
    minUnits,
    offerFills
);

Action Type

STANDARD_ACTION

Input Parameters

OfferFill data

Return Value

Events and Logs

Last updated