We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41bdadf commit e617031Copy full SHA for e617031
src/server/routes/configuration/chains/update.ts
@@ -23,20 +23,22 @@ const BodySchema = Type.Object({
23
});
24
25
BodySchema.examples = [
26
- [
27
- {
28
- name: "Localhost",
29
- chain: "ETH",
30
- rpc: ["http://localhost:8545"],
31
- nativeCurrency: {
32
- name: "Ether",
33
- symbol: "ETH",
34
- decimals: 18,
+ {
+ chainOverrides: [
+ name: "Localhost",
+ chain: "ETH",
+ rpc: ["http://localhost:8545"],
+ nativeCurrency: {
+ name: "Ether",
+ symbol: "ETH",
35
+ decimals: 18,
36
+ },
37
+ chainId: 1337,
38
+ slug: "localhost",
39
},
- chainId: 1337,
- slug: "localhost",
- },
- ],
40
+ ],
41
42
];
43
44
export async function updateChainsConfiguration(fastify: FastifyInstance) {
0 commit comments