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

4 lines
158 B
Bash
Executable file

#1/bin/sh
curl "http://localhost:8080/api/new/contract/instance/$(cat W$1.cid)/endpoint/pools" \
--header 'Content-Type: application/json' \
--data-raw '[]'