Breaking change noticeWith the roll-out of Pathfinder node version 0.19.0, the default version of the JSON-RPC API served on the
/
path has changed to 0.8.0. Previously, the Starknet spec version served on the default endpoint was 0.7.1.What changed
The default JSON-RPC API version served on the root (/
) endpoint has been updated:
- Before upgrade: Default endpoint served JSON-RPC API version 0.7.1
- After upgrade: Default endpoint now serves JSON-RPC API version 0.8.0
Checking the current API version
You can verify which JSON-RPC API version is being served on your endpoint using thestarknet_specVersion
method:
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Accessing different API versions
Different JSON-RPC API spec versions are served over specific endpoints. You can access them by appending the version path to your Chainstack Starknet Pathfinder endpoint:- Version 0.7:
CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_7
- Version 0.8:
CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_8
- Version 0.9:
CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_9
Migration guide
Continuing to use version 0.7.1
If your application requires the previous JSON-RPC API version 0.7.1, you can still access it by explicitly specifying the version in your endpoint URL: Before (using default endpoint):Using the new default (v0.8)
If you want to use the new default version 0.8.0, you can either:- Continue using the default endpoint (
/
) which now serves v0.8 - Explicitly specify
/rpc/v0_8
for clarity
Version differences
To understand the differences between the JSON-RPC API versions and what changes you might need to make to your application, refer to the official Starknet specifications:- Starknet Specs Releases - Complete changelog and differences between spec versions
Best practices
- Always specify the API version explicitly in production applications to avoid unexpected changes when defaults are updated
- Test your application with the new API version before migrating
- Review the specification changes to understand new features and breaking changes between versions
Additional resources
- Pathfinder GitHub repository - Latest version information and updates
- Starknet OpenRPC spec - Complete API specification for all versions
- Pathfinder v0.19.0 Release Notes - Detailed information about this release