Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- HEAD=`go-filecoin show block $(go-filecoin chain head | jq .[0]['"/"'] | tr -d \") | sed -n 's/Height: //p'`
- go-filecoin client list-asks --enc=json | jq -C -s "map(select(.Expiry > $HEAD) | {Miner,ID, Price: .Price | tonumber, Expiry}) | sort_by(.Price) | reverse"
Add Comment
Please, Sign In to add comment