1 you want to see if the invoice with the payment hash ph="e21b2df94d678ebb84924ad6a2c6f571a4662d321bf13bdb731d031bb7a87bfa" was paid. what do you do?
ph="e21b2df94d678ebb84924ad6a2c6f571a4662d321bf13bdb731d031bb7a87bfa"
rpc_interface.invoices(ph) == "paid"
rpc_interface.invoices(ph)["status"] == "paid"
rpc_interface.invoices()
2 You have an invoice stored on invoice how can you access the amount?
invoice
invoice["amount"]
invoice["msatoshi"]
invoice["satoshi"]