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

orderByID

An order in the Vega network found by orderID

orderByID(
id: ID!
version: Int
): Order!

Arguments

orderByID.id ● ID! non-null scalar

ID for an order

orderByID.version ● Int scalar

Version of the order (omitted or 0 for most recent; 1 for original; 2 for first amendment, etc)

Type

Order object

An order in Vega, if active it will be on the order book for the market