Skip to content

Commit

Permalink
Update docs with more detailed API versioning (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos authored Oct 17, 2023
1 parent b8aec6a commit d7065fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
11 changes: 11 additions & 0 deletions docs/versioned_docs/version-0.7.0/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit d7065fd

Please sign in to comment.