Skip to main content

MidnightOpenOffer

One of the maker's OWN open (unfilled) offers on a Midnight market.

marketIdstring
lenderstring
Example: MORPHO_MIDNIGHT_0xABC…
sidestring

lend = a bid (buy units); borrow = an ask (sell units).

Possible values: [lend, borrow]

tickstring
aprPctnumber
Example: 3.49
sizestring

Maker-side size, loan-token units.

expirynumber

Unix seconds.

rootstring

Offer tree root — pass as root to GET /v1/actions/midnight/cancel to invalidate this offer.

MidnightOpenOffer
{
"marketId": "string",
"lender": "MORPHO_MIDNIGHT_0xABC…",
"side": "lend",
"tick": "string",
"aprPct": 3.49,
"size": "string",
"expiry": 0,
"root": "string"
}