Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

ffde6d2fc17531dd0528e2131027891a865b81c0de8679a2da537ef4775de84c
Timestamp (utc)
2023-06-14 20:23:29
Fee Paid
0.00001972 BSV
(
0.00045756 BSV
-
0.00043784 BSV
)
Fee Rate
500.3 sat/KB
Version
1
Confirmations
169,326
Size Stats
3,941 B

4 Outputs

Total Output:
0.00043784 BSV
  • jrunMK{"in":0,"ref":["native://Jig"],"out":["98053d51a09d000a4928958b7c3e555c8e1f13ebef8e23a44905caca99c3ada1","0bfea495a1a67abb1d7c37ef0ce4799c3eb58f44a5f105d5bf12e90b022f7ae2"],"del":[],"cre":["mpdM4UL5isn7eXFJQCxRfAavau7d6egSyM","mpdM4UL5isn7eXFJQCxRfAavau7d6egSyM"],"exec":[{"op":"DEPLOY","data":["class InvoiceMate extends Jig {\n init() {\n this.Invoices = [];\n this.Workflows = [];\n this.InvoiceWorkflows = [];\n this.Payments = [];\n }\n createInvoice(invoice) {\n try {\n // console.log(\"Invoice data: \", invoice);\n // console.log(\"Sending Invoice to the Blockchain\");\n this.Invoices.push(invoice);\n return true;\n } catch (error) {\n return false;\n }\n }\n getInvoiceHistory(id) {\n try {\n return this.Invoices.filter((inv) => inv.invoiceId == id);\n } catch (error) {\n return false;\n }\n }\n getInvoice(id) {\n try {\n let data = this.Invoices.filter((inv) => inv.invoiceId == id);\n data.reverse();\n return data[0];\n } catch (error) {\n return false;\n }\n }\n invoices() {\n return this.Invoices;\n }\n appendTxIdInvoice(obj) {\n this.Invoices[this.Invoices.length - 1] = obj;\n return true;\n }\n\n createWorkflow(workflow) {\n try {\n // console.log(\"Workflow data: \", workflow);\n // console.log(\"Sending Workflow to the Blockchain\");\n\n this.Workflows.push(workflow);\n return \"Workflow posted to the Blockchain!\";\n } catch (error) {\n return false;\n }\n }\n getWorkflowHistory(id) {\n try {\n let data = this.Workflows.filter((wfl) => wfl.WorkflowID == id);\n return data;\n } catch (error) {\n return false;\n }\n }\n getWorklfow(id) {\n try {\n let data = this.Workflows.filter((wfl) => wfl.WorkflowID == id);\n data.reverse();\n return data[0];\n } catch (error) {\n return false;\n }\n }\n\n appendTxIdWorkflow(obj) {\n this.Workflows[this.Workflows.length - 1] = obj;\n return true;\n }\n\n createInvoiceWorkflow(event) {\n try {\n // console.log(\"Event data: \", event);\n // console.log(\"Sending Event to the Blockchain\");\n\n this.InvoiceWorkflows.push(event);\n return true;\n } catch (error) {\n return false;\n }\n }\n getInvoiceWorkflowHistory(id) {\n try {\n return this.InvoiceWorkflows.filter((event) => event.invoiceID == id);\n } catch (error) {\n return false;\n }\n }\n getInvoiceWorkflow(id) {\n try {\n let data = this.InvoiceWorkflows.filter((event) => event.invoiceID == id);\n data.reverse();\n return data[0];\n } catch (error) {\n return false;\n }\n }\n appendTxIdEvent(obj) {\n this.InvoiceWorkflows[this.InvoiceWorkflows.length - 1] = obj;\n return true;\n }\n\n makePayment(payment) {\n try {\n // console.log(\"Payment data: \", payment);\n // console.log(\"Sending Payment to the Blockchain\");\n\n this.Payments.push(payment);\n return true;\n } catch (error) {\n return false;\n }\n }\n getPaymentHistory(id) {\n try {\n return this.Payments.filter((payment) => payment.invoiceID == id);\n } catch (error) {\n return false;\n }\n }\n getPayment(id) {\n try {\n let data = this.Payments.filter((payment) => payment.invoiceID == id);\n data.reverse();\n return data[0];\n } catch (error) {\n return false;\n }\n }\n appendTxIdPayment(obj) {\n this.Payments[this.Payments.length - 1] = obj;\n return true;\n }\n}",{"deps":{"Jig":{"$jig":0}}}]},{"op":"NEW","data":[{"$jig":1},[]]}]}
    https://whatsonchain.com/tx/ffde6d2fc17531dd0528e2131027891a865b81c0de8679a2da537ef4775de84c