Skip to content

starkware-libs/starknet-specs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2030a65 · Jan 12, 2025
Jul 25, 2022
Jul 16, 2024
May 26, 2024
Jul 1, 2024
Jul 20, 2022
Aug 3, 2022
Dec 7, 2023
Jul 1, 2024
Dec 9, 2021
Jan 2, 2025

Repository files navigation

StarkNet Specifications

This repository publishes different technical specifications pertaining to the implementation and interaction with StarkNet.

API

The JSON-RPC API can be found under the api/ folder. You can view it more conveniently using the OpenRPC playground here.

A guide to the API can be found here.

Tooling

When developing the schema, you can validate the OpenRPC schema file, by running the provided script. Note this requires node.js installed.

The command:

./validate.js api/starknet_api_openrpc.json

will run a validation on the api/starknet_api_openrpc.json schema file. If everything is ok, an appropriate message is displayed; otherwise errors are output to standard error.