Queries
Query the Params
Query all the order books
Query a specific order book
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
order-book-id | uuid of the order book | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
Query participation in a book
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
order-book-id | uuid of the order book | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
Query participation in an order book by index
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
order-book-id | uuid of the order book | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
participation-index | index of the participation | uint64 |
| 1 |
Query Exposures In an order book
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
order-book-id | uuid of the order book | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
Query Exposures In an order book by Odds UID
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
order-book-id | uuid of the order book | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
odds-uid | uuid of the odds | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
Query Participation Exposures In an order book
The below table explains the details of the argument required for the above query:
Params | Description | Type | Validation | Example |
---|---|---|---|---|
order-book-id | uuid of the order book | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
Last updated