How to use curl to make node API calls

list of node api commands

Beware of small typos!! I spent hours tweaking firewalls and trying all sort of advance commands just because I misspelled status as stats in this command.


Don’t forget to authenticate:

curl --user grin:$(cat ~/.grin/main/.api_secret) http://localhost:3413/v1/status

API commands listed here:

Also, I hear that v2 of the API is coming with the hard fork in January.