1 the call to rpc_interfce.listinvoices()["invoices"] returns a list on invoices what are the values the status of each invoice can take?
rpc_interfce.listinvoices()["invoices"]
2 What happens if you call function rpc_interfce.listinvoices("some-string")["invoices"]?
rpc_interfce.listinvoices("some-string")["invoices"]
3 you have done this statement invoice = rpc_interfce.listinvoices("some-string")["invoices"] and some value was returned. How can you access the amount of the invoice?
invoice = rpc_interfce.listinvoices("some-string")["invoices"]
rpc_interfce.decodepay(invoice)
invoice.amount()
invoice["amount"]
invoice["bolt11"]]