diff --git a/README.md b/README.md index 3f10ea371d..c7414e663e 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ After following these steps, Juno should be up and running on your machine, util ## ✔ Supported Features - Starknet [v0.12.2](https://docs.starknet.io/documentation/starknet_versions/version_notes/) support. -- JSON-RPC [v0.5.0](https://github.com/starkware-libs/starknet-specs/releases/tag/v0.5.0): +- JSON-RPC [v0.5.0](https://github.com/starkware-libs/starknet-specs/releases/tag/v0.5.0)(Available under `/v0_5` endpoint) - `starknet_chainId` - `starknet_blockNumber` - `starknet_blockHashAndNumber` diff --git a/docs/versioned_docs/version-0.7.0/intro.md b/docs/versioned_docs/version-0.7.0/intro.md index f3ad7295c4..93011cc1da 100644 --- a/docs/versioned_docs/version-0.7.0/intro.md +++ b/docs/versioned_docs/version-0.7.0/intro.md @@ -30,6 +30,17 @@ For a complete list of options and their explanations, see the [Example Configur docker run nethermind/juno --help ``` +# Juno is compatible with the following Starknet API versions: + +- **v0.5.0** (Endpoint: `/v0_5`) +- **v0.4.0** (Endpoint: `/v0_4`) + +To interact with a specific API version, you can specify the version endpoint in your RPC calls. For example: + +```shell +curl -X POST http://localhost:6060/v0_5 -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"juno_version","id":1}' +``` + # Looking for a Starknet RPC Provider? If you are looking for a Starknet RPC provider, Nethermind will offer a Starknet RPC service before the upcoming feeder gateway deprecation. You can register your interest on [this Google Form](https://docs.google.com/forms/d/e/1FAIpQLSf2Bl4fc9-38E-fpWf0tnMWc3jSeOFkpjSPMN_j1en1WmEgKg/viewform?usp=sf_link).