Skip to content

Commit 5cc205e

Browse files
committed
fix: add missing code
1 parent 3d42b6b commit 5cc205e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

openrpc.json

Whitespace-only changes.

src/methods/rpcDiscover.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
const openRPCDocument = {
2+
openrpc: '1.2.4',
3+
info: {
4+
title: 'Shardeum JSON RPC',
5+
version: '1.0',
6+
description: 'Shardeum JSON RPC',
7+
contact: {
8+
name: 'Shardeum',
9+
url: 'https://shardeum.org',
10+
}
11+
},
12+
servers: [
13+
{
14+
url: 'https://api.shardeum.org',
15+
}
16+
],
17+
methods: []
18+
}
19+
20+
const rpcDiscover = async (): Promise<unknown> => {
21+
return openRPCDocument
22+
}
23+
24+
export default rpcDiscover

0 commit comments

Comments
 (0)