-
Guest33i have one liner to convert monero
-
Guest33echo "0.001846824867" | xargs -I {} echo "{} * $(curl --no-progress-meter "api.coingecko.com/api/v3/simple/price?ids=monero&vs_currencies=usd" | jq '.monero.usd')" | bc
-
Guest33(standard_in) 2: syntax error
-
Guest33anyone can understand where the error is
-
SnipaYour curl is broken.
-
SnipaChuck an https:// beforte the api.
-
Guest33ok
-
Guest33yes working
-
Guest33thank you!
-
binaryFateGuest33: simpler alternative --> curl eur.rate.sx/0.001846824867xmr
-
binaryFatealso try simply curl eur.rate.sx/xmr
-
binaryFate(you can replace eur with usd)
-
escapethe3ra[m]