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

Potential endpoint for RPC calls #114

Open
jurevans opened this issue Sep 8, 2024 · 0 comments
Open

Potential endpoint for RPC calls #114

jurevans opened this issue Sep 8, 2024 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@jurevans
Copy link

jurevans commented Sep 8, 2024

It would be nice if the indexer API could support relaying RPC calls to a node. Two specific cases would be:

  • During Tx building functions, any validation uses the RPC endpoint that was provided when initializing the SDK
  • During process_tx / broadcastTx

Would it be possible to have something like a /rpc that proxies RPC calls to a node in the network? Or perhaps we can somehow handle these calls with the indexer to avoid having to provide a separate RPC URL. If we can make this endpoint, we could pass this when initializing the SDK, then remove the need to track the RPC URL.

UPDATE This may not be needed at all, as we can think of multiple ways of improving the experience without setting up a new endpoint

@jurevans jurevans added enhancement New feature or request question Further information is requested labels Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant