Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have both rest and rpc endpoints in cfg #118

Open
udit-gulati opened this issue Apr 12, 2023 · 0 comments
Open

Have both rest and rpc endpoints in cfg #118

udit-gulati opened this issue Apr 12, 2023 · 0 comments

Comments

@udit-gulati
Copy link
Member

The js client for a given network can either use the REST or RPC url based on the implementation.

Having them as rest_endpoint and rpc_endpoint in place of endpoint will make it easier to understand for the user and if the js client only requires RPC endpoint then rpc_endpoint value can be skipped in the config and vice-versa.

While doing node-info, user can confirm if REST or RPC endpoint was required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant