My chain currently has a couple of custom RPC interfaces that I'd like to interact with using substrates front-end-template. I'm aware that the src/config/common.json file requires modification, which currently looks like this:

  "APP_NAME": "substrate-front-end-template",

What is the correct syntax for defining my custom RPC here?

1 Answer 1


I believe the template will use the same format as the polkadot-js API since it will pass those through to the API itself, you can find examples here

And indeed, if I look at the front-end-template itself, it uses that config to pass it through to the API on init.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.