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 where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.
RpcProvider to connect to your Starknet node and get the latest block:Starknet.py
Install Starknet.py. See Starknet.py guide.
Use where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.
FullNodeClient to connect to your Starknet node and retrieve a transaction by hash:Starkli
Rust-based CLI tool to interact with the Starknet blockchain.Install Starkli. See Starkli Book.
In a terminal run commands with the where YOUR_CHAINSTACK_ENDPOINT is your node HTTPS endpoint protected either with the key or password. See also node access details.
--rpc flag: