Skip to main content

Cancel offer

GET 

/v1/actions/midnight/cancel

Cancel one of the maker's open offers. Calls cancelRoot(maker, root) on the Midnight EcrecoverRatifier, invalidating the offer under that tree root. A plain on-chain transaction by the maker — no signature needed.

Get the offer's root from /v1/data/lending/midnight/open-offers.

Request

Responses

The cancelRoot transaction (in actions.transactions)