Useful Commands
Pathfinder and attestation operations for Starknet Mainnet.
Mainnet · pathfinder-mainnet
Service operations
Container status
Show the node container.
sudo docker ps -a --filter name=pathfinder-mainnetLogs
Follow node logs.
sudo docker logs --tail 100 -f pathfinder-mainnetRestart
Restart the same container and configuration.
sudo docker restart pathfinder-mainnetStop
Stop the node cleanly.
sudo docker stop -t 120 pathfinder-mainnetStart
Start an existing stopped container.
Resource usage
Inspect CPU and memory use.
JSON-RPC checks
Network
Query the local versioned endpoint.
Sync status
Query the local versioned endpoint.
Block height
Query the local versioned endpoint.
RPC specification
Query the local versioned endpoint.
Attestation operations
Attestation logs
Check confirmed attestations and funding errors.
Restart attestations
Restart the existing service.
Metrics
Read local Prometheus metrics.
Storage
Database size
Measure the mounted database.
Free space
Check available filesystem space.
Last updated