Get started with a reliable Starknet RPC endpoint to use the tools below.
Pathfinder currently supports querying the Starknet network for state.
For the full list of available queries, see Pathfinder API.
JSON-RPC API
Use curl or Postman.
where
- METHOD — a supported JSON-RPC API method
- PARAMS — request parameters if any
- YOUR_CHAINSTACK_ENDPOINT — your node HTTPS endpoint protected either with the key or password
Starknet.js
-
Install Starknet.js. See Starknet.js guide.
-
Use
RpcProvider to connect to your Starknet node and get the latest block:
where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.
Starknet.py
-
Install Starknet.py. See Starknet.py guide.
-
Use
FullNodeClient to connect to your Starknet node and retrieve a transaction by hash:
where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.
Starkli
Rust-based CLI tool to interact with the Starknet blockchain.
-
Install Starkli. See Starkli Book.
-
In a terminal run commands with the
--rpc flag:
where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.
Find more JSON-RPC methods on the Starkli documentation. Last modified on September 2, 2026