echo "satoshi per $:" && curl -s https://bitpay.com/api/rates | jq '.[] | select(.code=="USD") | (100000000 / .rate) | floor'

echo "satoshi per vByte:" && curl -s 'https://bitcoiner.live/api/fees/estimates/latest?confidence=0.8' | jq -r '.estimates."30" | "\(.sat_per_vbyte | floor) ($\(.total.p2wpkh.usd | tostring | .[0:4]))"'

echo "rough estimate 1 goldback:" && curl -s -H "X-CMC_PRO_API_KEY: yourapikeyhere" -H "Accept: application/json" "https://pro-api.coinmarketcap.com/v2/cryptocurrency/quotes/latest?symbol=XAUT&convert=USD" | jq -r '.data.XAUT[0].quote.USD.price | (. / 500 * 100 | round / 100) | "$\(.)"'

Reply to this note

Please Login to reply.

Discussion

No replies yet.