Skip to main content
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

  1. Install Starknet.js. See Starknet.js guide.
  2. 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

  1. Install Starknet.py. See Starknet.py guide.
  2. 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.
  1. Install Starkli. See Starkli Book.
  2. 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 October 20, 2025