Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

e01fc4cdfdfbad98bb50ebe00cf693c5e80d5a43f955c196c78495f485bbec07
Timestamp (utc)
2021-05-27 11:02:59
Fee Paid
0.00000905 BSV
(
0.00225039 BSV
-
0.00224134 BSV
)
Fee Rate
500.5 sat/KB
Version
1
Confirmations
299,497
Size Stats
1,808 B

4 Outputs

Total Output:
0.00224134 BSV
  • jrunMõ{"in":0,"ref":["native://Jig"],"out":["ccd482699e8496657ff15b6c1f928f583528ff3f113d5281ffcff43d5d2d898b","902f0e94d578b3891a283fba83d7f0b74b909d5c6a541a46a359cf0489cc0950"],"del":[],"cre":["n4EoRXnDVdG5PvZpsa5DLCY1SNVDrnRkJ7","n4EoRXnDVdG5PvZpsa5DLCY1SNVDrnRkJ7"],"exec":[{"op":"DEPLOY","data":["class Invoice extends Jig {\n init() {\n // this.Invoice = {\n // id: \"\",\n // amt: \"\",\n // org: \"\",\n // };\n this.Invoices = [];\n this.history = [];\n }\n set(invoice) {\n // console.log(inv);\n // let Invoice = {\n // id: \"\",\n // amt: \"\",\n // org: \"\",\n // };\n // Invoice.id = inv.id;\n // Invoice.amt = inv.amt;\n // Invoice.org = inv.org;\n console.log(\"Invoice data: \", invoice);\n const isInvoice = this.Invoices.filter((inv) => inv.id == invoice.id);\n console.log(\"isInvoice: \", isInvoice);\n if (isInvoice) {\n console.log(\"Invoice Found!\");\n this.Invoices.map((inv) => {\n if (inv.id == invoice.id) {\n inv = invoice;\n }\n });\n } else {\n console.log(\"Invoice not found, pushing as new element.\");\n this.Invoices.push(invoice);\n }\n\n this.history.push(invoice);\n return \"Invoice posted to the Blockchain!\";\n }\n getHistory(id) {\n return this.history.filter((inv) => inv.id == id);\n }\n get(invoice) {\n return this.Invoices.filter((inv) => inv.id == invoice);\n }\n}",{"deps":{"Jig":{"$jig":0}}}]},{"op":"NEW","data":[{"$jig":1},[]]}]}
    https://whatsonchain.com/tx/e01fc4cdfdfbad98bb50ebe00cf693c5e80d5a43f955c196c78495f485bbec07