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

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

Order version number, starting at 1 for the original order and incrementing by 1 for each successful amendment; omitted for the most recent version.

Type

Order object

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