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

MidnightBorrowFromOrders

Description

Borrow tokens from the Midnight market using one or more off-chain orders.

Action ID

0x493c5822

SDK Action

const midnightBorrowFromOrdersAction = new dfs.actions.midnight.MidnightBorrowFromOrdersAction(
    marketId,
    onBehalf,
    to,
    amount,
    maxUnits,
    offerFills
);

Action Type

STANDARD_ACTION

Input Parameters

OfferFill data

Return Value

Events and Logs

Last updated