aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/schemas/orderbook_request_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/connect/src/schemas/orderbook_request_schema.ts')
-rw-r--r--packages/connect/src/schemas/orderbook_request_schema.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/connect/src/schemas/orderbook_request_schema.ts b/packages/connect/src/schemas/orderbook_request_schema.ts
new file mode 100644
index 000000000..5f3463242
--- /dev/null
+++ b/packages/connect/src/schemas/orderbook_request_schema.ts
@@ -0,0 +1,9 @@
+export const orderBookRequestSchema = {
+ id: '/OrderBookRequest',
+ type: 'object',
+ properties: {
+ baseTokenAddress: { $ref: '/Address' },
+ quoteTokenAddress: { $ref: '/Address' },
+ },
+ required: ['baseTokenAddress', 'quoteTokenAddress'],
+};