block=$( bitcoin-cli getblockcount )

amount=$( bitcoin-cli gettxoutsetinfo | jq '.total_amount' )

printf "\nThe bitcoin supply at block %s is %s bitcoin.\n\n" "$block" "$amount"

Reply to this note

Please Login to reply.

Discussion

No replies yet.