Oddbean new post about | logout
 In case someone finds this useful; 👇👇👇

  https://image.nostr.build/0755a4af7e040c4f855f519177259b8d475fbbd954f515ecf712d1154ebf2b4d.jpg

lightning-cli
  listpays | jq -r '.pays[] | "\(.amount_sent_msat)
  \(.completed_at)"'

  lightning-cli
  listinvoices | jq -r '.invoices[] | "\(.amount_received_msat)
  \(.paid_at)"'

then 
convert msat to sat =B5/1000 or and to btc =E5/100000000
and unix to date =(C5/86400)+DATE(1970,1,1)

Can you tell I'm on a budget?