plutus-pioneer-program/code/week10/status.sh

2 lines
128 B
Bash
Executable file

#1/bin/sh
curl "http://localhost:8080/api/new/contract/instance/$(cat W$1.cid)/status" | jq ".cicCurrentState.observableState"