Skip to main content
Version: mainnet (v0.71)

Observe liquidity provisions

Subscribe to a stream of liquidity provision events for a given market and party

Query Parameters
    marketId string

    Target market to observe for liquidity provision orders.

    partyId string

    Target party to observe for submitted liquidity provision orders.

Responses

A successful response.(streaming responses)


Schema
    error object
    code int32
    details object[]
    @type string
    message string
    result object
    liquidityProvisions object[]
    buys object[]

    Set of liquidity buy orders to meet the liquidity provision obligation.

    liquidityOrder object

    Liquidity order from the original submission.

    offset string
    proportion int64
    reference Pegged reference defines which price point a pegged order is linked to - meaning the price for a pegged order is calculated from the value of the reference price point

    Possible values: [PEGGED_REFERENCE_UNSPECIFIED, PEGGED_REFERENCE_MID, PEGGED_REFERENCE_BEST_BID, PEGGED_REFERENCE_BEST_ASK]

    orderId string
    commitmentAmount string
    createdAt int64
    fee string
    id string
    marketId string
    partyId string
    reference string
    sells object[]

    Set of liquidity sell orders to meet the liquidity provision obligation.

    liquidityOrder object

    Liquidity order from the original submission.

    offset string
    proportion int64
    reference Pegged reference defines which price point a pegged order is linked to - meaning the price for a pegged order is calculated from the value of the reference price point

    Possible values: [PEGGED_REFERENCE_UNSPECIFIED, PEGGED_REFERENCE_MID, PEGGED_REFERENCE_BEST_BID, PEGGED_REFERENCE_BEST_ASK]

    orderId string
    status string

    Possible values: [STATUS_UNSPECIFIED, STATUS_ACTIVE, STATUS_STOPPED, STATUS_CANCELLED, STATUS_REJECTED, STATUS_UNDEPLOYED, STATUS_PENDING]

    updatedAt int64
    version uint64
Loading...