Gro bots: critical actions, harvest/rebalance and stats APIs
- run
yarn
in workspace root folder - run
npm run dev
in workspance root to start service - run
curl -X POST http://localhost:3000/bot/subscribe-new-block
to start listener - run
curl -X POST http://localhost:3000/bot/unsubscribe
to stop listener - run
curl http://localhost:3000/bot/get-pending-blocks
to get pending blocks