Sample
示例代码(Demo)
# 1) discover
curl -s "https://api.neutralnet.example/v1/discover?needs_sha=true&sovereignty=US"
# 2) handshake
curl -X POST https://api.neutralnet.example/v1/handshake -d '{"endpoint":"ep-gpt-01","budget":{"NC":20},"stake":{"NEUT":10}}'
# 3) call
curl -X POST https://api.neutralnet.example/v1/call -d '{"session":"sess-a1b2","messages":[{"role":"user","content":"hello"}]}'
# 4) settle
curl -X POST https://api.neutralnet.example/v1/settle -d '{"session":"sess-a1b2"}'