Skip to content

Commit 5377f65

Browse files
authored
Merge pull request #13 from blockscout/vb-ws-endpoint
Add megaeth ws endpoint
2 parents ceefe8e + e0add31 commit 5377f65

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

universal-proxy-config.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,19 @@
348348
]
349349
}
350350
}
351+
},
352+
"ws_megaeth": {
353+
"base_url": "wss://carrot.megaeth.com",
354+
"api_key": {
355+
"location": "path",
356+
"param_name": "api_key"
357+
},
358+
"endpoints": {
359+
"base": {
360+
"path": "/mafia/ws/:api_key",
361+
"params": []
362+
}
363+
}
351364
}
352365
}
353366
}

universal-proxy-config.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"properties": {
2424
"location": {
2525
"type": "string",
26-
"enum": ["header", "query", "body"],
26+
"enum": ["header", "query", "body", "path"],
2727
"description": "Where to place the API key"
2828
},
2929
"param_name": {
@@ -125,7 +125,7 @@
125125
}
126126
}
127127
},
128-
"required": ["path", "method"],
128+
"required": ["path"],
129129
"additionalProperties": false
130130
}
131131
},

0 commit comments

Comments
 (0)