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.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
JSON-RPC API
Use curl or Postman.- 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
RpcProviderto 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
FullNodeClientto 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
--rpcflag:where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.