Liquidation

Liquidate position

Changed on

Liquidate a position. Transaction will revert if position is not liquidatable.

post/v1/liquidation

Request

Request body

market_idstring uint64
accountstring
expected_pricestring
expected_sizestring
position_sideinteger

Response

A successful response.

transaction_hashstring
block_numberstring uint64
accountstring
market_idstring uint64

Changes