Pathfinder 0.19.0 changes the default Starknet JSON-RPC API at the root endpoint from v0.7.1 to v0.8.0. Learn how to verify and migrate safely.
/
path has changed to 0.8.0. Previously, the Starknet spec version served on the default endpoint was 0.7.1./
) endpoint has been updated:
starknet_specVersion
method:
curl -X POST CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_specVersion",
"params": [],
"id": 1
}'
CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_7
CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_8
CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_9
curl -X POST CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_getBlockWithTxHashes",
"params": {"block_id": "latest"},
"id": 1
}'
curl -X POST CHAINSTACK_STARKNET_PATHFINDER_ENDPOINT/rpc/v0_7 \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_getBlockWithTxHashes",
"params": {"block_id": "latest"},
"id": 1
}'
/
) which now serves v0.8/rpc/v0_8
for clarity