Queries

Query the Params

sged q orderbook params

Query all the order books

sged q orderbook orderbooks

Query a specific order book

sged q orderbook orderbook [order-book-id]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

order-book-id

uuid of the order book

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

Query participation in a book

sged q orderbook book-participtions [order-book-id]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

order-book-id

uuid of the order book

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

Query participation in an order book by index

sged q orderbook book-particiption [order-book-id] [participation-index]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

order-book-id

uuid of the order book

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

participation-index

index of the participation

uint64

  1. Required

  2. Positive Number

1

Query Exposures In an order book

sged q orderbook book-exposures [order-book-id]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

order-book-id

uuid of the order book

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

Query Exposures In an order book by Odds UID

sged q orderbook book-exposure [order-book-id] [odds-uid]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

order-book-id

uuid of the order book

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

odds-uid

uuid of the odds

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

Query Participation Exposures In an order book

sged q orderbook participation-exposures [order-book-id]

The below table explains the details of the argument required for the above query:

ParamsDescriptionTypeValidationExample

order-book-id

uuid of the order book

string

  1. Required

  2. Valid UUID

0435e5b6-635f-11ed-90a6-bb470175dfce

Last updated