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

LiquidityProvision

The command to be sent to the chain for a liquidity provision submission

type LiquidityProvision {
id: ID
party: Party!
createdAt: Timestamp!
updatedAt: Timestamp
market: Market!
commitmentAmount: String!
fee: String!
sells: [LiquidityOrderReference!]!
buys: [LiquidityOrderReference!]!
version: String!
status: LiquidityProvisionStatus!
reference: String
}

Fields

LiquidityProvision.id ● ID scalar

Unique identifier for the order (set by the system after consensus)

LiquidityProvision.party ● Party! non-null object

The party making this commitment

LiquidityProvision.createdAt ● Timestamp! non-null scalar

When the liquidity provision was initially created (formatted RFC3339)

LiquidityProvision.updatedAt ● Timestamp scalar

RFC3339Nano time of when the liquidity provision was updated

LiquidityProvision.market ● Market! non-null object

Market for the order

LiquidityProvision.commitmentAmount ● String! non-null scalar

Specified as a unit-less number that represents the amount of settlement asset of the market.

LiquidityProvision.fee ● String! non-null scalar

Nominated liquidity fee factor, which is an input to the calculation of liquidity fees on the market, as per setting fees and rewarding liquidity providers.

LiquidityProvision.sells ● [LiquidityOrderReference!]! non-null object

A set of liquidity sell orders to meet the liquidity provision obligation.

LiquidityProvision.buys ● [LiquidityOrderReference!]! non-null object

A set of liquidity buy orders to meet the liquidity provision obligation.

LiquidityProvision.version ● String! non-null scalar

The version of this liquidity provision

LiquidityProvision.status ● LiquidityProvisionStatus! non-null enum

The current status of this liquidity provision

LiquidityProvision.reference ● String scalar

A reference for the orders created out of this liquidity provision

Member of

Entities object ● LiquidityProvisionsEdge object ● Order object