ethereum / ethereum-org-website

Ethereum.org is a primary online resource for the Ethereum community.
https://ethereum.org/
MIT License
5.09k stars 4.83k forks source link

Add JSON-RPC endpoint playground links #13410

Open wackerow opened 4 months ago

wackerow commented 4 months ago

Is your feature request related to a problem? Please describe.

https://ethereum.org/en/developers/docs/apis/json-rpc/

Our JSON-RPC page recently added a "playground" link above all the endpoints (https://ethereum-json-rpc.com/)... But, while a user is scrolling through or reading about a specific endpoint, there is no convenient way to jump to this playground to try out the endpoint.

Describe the solution you'd like

Proposing we add a link to each endpoint that takes user straight to that endpoint in the playground... ie: eth_accounts... https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_accounts could have a link such as [Try this endpoint](https://ethereum-json-rpc.com/?method=eth_accounts)

Describe alternatives you've considered

Additional context

No response

Would you like to work on this issue?

vedant-asati commented 4 months ago

@wackerow

we add a link to each endpoint that takes user straight to that endpoint in the playground...

Seems a good solution, but there are some endpoints missing in the playground. We could just leave it like that but it would be misleading for users.

PoulavBhowmick03 commented 4 months ago

I would like to work on this. Would like to add a link after the heading of each endpoint where it redirects the user to that particular endpoint in playground @pettinarip

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity.

0xshikhar commented 3 weeks ago

Hey @konopkja , would like to work on this task. Could you clarify the remaining tasks for this issue? Any additional context would be appreciated. Thanks!