Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

9d0d1648b6ef60a49f5c17663fb0e7cb60c6129259e2c57d435a7db6fe28e6d2
Timestamp (utc)
2021-05-27 11:02:59
Fee Paid
0.00000912 BSV
(
0.01096183 BSV
-
0.01095271 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
302,385
Size Stats
1,822 B

4 Outputs

Total Output:
0.01095271 BSV
  • jrunM{"in":0,"ref":["native://Jig"],"out":["8d52f904ad37a67e7dc2b23ff591993938ff4506c8de382f908a925180ed5c76","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[0] == invoice) {\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/9d0d1648b6ef60a49f5c17663fb0e7cb60c6129259e2c57d435a7db6fe28e6d2