Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

1fc57cfeec2f363fad1294d1b5a1dba0f8e69e59491144038a02bdf5d07a6ef2
Timestamp (utc)
2021-05-27 11:02:59
Fee Paid
0.00000936 BSV
(
0.00221788 BSV
-
0.00220852 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
303,385
Size Stats
1,870 B

4 Outputs

Total Output:
0.00220852 BSV
  • jrunM4{"in":0,"ref":["native://Jig"],"out":["ec23544f4e0fe68d1382edb9ee97cf0d1d60585cef1861e620fd01b33d6eba25","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, id) {\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(\"ID: \", id);\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 == 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), this.history];\n }\n}",{"deps":{"Jig":{"$jig":0}}}]},{"op":"NEW","data":[{"$jig":1},[]]}]}
    https://whatsonchain.com/tx/1fc57cfeec2f363fad1294d1b5a1dba0f8e69e59491144038a02bdf5d07a6ef2