Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

16a58dd7638353fef79422cd141e97fbebffe49a6730f7fdc94cfcbd646d7793
Timestamp (utc)
2021-05-27 11:02:59
Fee Paid
0.00000922 BSV
(
0.01064378 BSV
-
0.01063456 BSV
)
Fee Rate
500.2 sat/KB
Version
1
Confirmations
297,927
Size Stats
1,843 B

4 Outputs

Total Output:
0.01063456 BSV
  • jrunM{"in":0,"ref":["native://Jig"],"out":["b580320711f5ec954559fc9a65382651b1aa89d62ab208dc3040fba4eb8bef84","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\n console.log(\"Invoice data: \", invoice);\n const isInvoice = this.Invoices.filter((inv) => inv.id == invoice.id);\n console.log(\"isInvoice: \", isInvoice);\n\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/16a58dd7638353fef79422cd141e97fbebffe49a6730f7fdc94cfcbd646d7793