aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/subscription_opts_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/subscription_opts_schema.ts')
-rw-r--r--src/schemas/subscription_opts_schema.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/schemas/subscription_opts_schema.ts b/src/schemas/subscription_opts_schema.ts
deleted file mode 100644
index 0bb44fecf..000000000
--- a/src/schemas/subscription_opts_schema.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export const blockParamSchema = {
- id: '/blockParam',
- oneOf: [
- {
- type: 'number',
- },
- {
- enum: ['latest', 'earliest', 'pending'],
- },
- ],
-};
-
-export const subscriptionOptsSchema = {
- id: '/subscriptionOpts',
- properties: {
- fromBlock: {$ref: '/blockParam'},
- toBlock: {$ref: '/blockParam'},
- },
- type: 'object',
-};