Left Curve Software Stack
    Preparing search index...

    Type Alias AmountOption

    AmountOption: { bid: { quote: string } } | { ask: { base: string } }

    Type Declaration

    • { bid: { quote: string } }

      To create buy (BUY) orders, the user must send a non-zero amount the quote asset. Additionally, the order's size, computed as

      floor(quote_amount / price)
      

      must also be non zero.

    • { ask: { base: string } }

      To create ask (SELL) orders, the user must send a non-zero amount the base asset.