Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

3658d1fc7917fffdd07d58b1dfbf9f298b7191d4ac7ba41d59b78be9be457809
Timestamp (utc)
2021-10-01 13:15:33
Fee Paid
0.00001134 BSV
(
0.00003100 BSV
-
0.00001966 BSV
)
Fee Rate
500.8 sat/KB
Version
1
Confirmations
278,436
Size Stats
2,264 B

4 Outputs

Total Output:
0.00001966 BSV
  • jrunM*{"in":0,"ref":["native://Jig"],"out":["5cbf8ecfa384fce2bc9e019d39c23625967da7d9146159e133eeaff61df83516","8bec43f76750f8138b8cef9e98e34363e035ea393c7bd28c7ee21c711824b202"],"del":[],"cre":["n4EoRXnDVdG5PvZpsa5DLCY1SNVDrnRkJ7","n4EoRXnDVdG5PvZpsa5DLCY1SNVDrnRkJ7"],"exec":[{"op":"DEPLOY","data":["class Order extends Jig {\n\n init(){\n this.order = [];\n\n }\n\n set (order){\n console.log(order);\n this.order.push(order);\n }\n get(){\n return this.order;\n }\n getbyId(id){\n for (let i=0 ; i < this.order.length ; i++){\n if(this.order[i].orderId == id){\n return this.order[i];\n }\n }\n return res.status(400).json({\n error: \"NO order found in DB\"\n });\n \n \n }\n\n purchase(buy){\n \n for (let i=0 ; i < this.order.length ; i++){\n if(this.order[i].orderId == buy.orderId){\n this.order[i].quantity = this.order[i].quantity - buy.quantity;\n if(this.order[i].quantity <= 0){\n this.order[i].Status = \"Out Of Stock\"\n }\n return this.order[i];\n }\n }\n \n }\n reverse(buy){\n for (let i=0 ; i < this.order.length ; i++){\n if(this.order[i].orderId == buy.orderId){\n this.order[i].quantity = this.order[i].quantity + buy.quantity;\n if(this.order[i].quantity > 0){\n this.order[i].Status = \"Available\"\n }\n return this.order[i];\n }\n }\n }\n\n}",{"deps":{"Jig":{"$jig":0}}}]},{"op":"NEW","data":[{"$jig":1},[]]}]}
    https://whatsonchain.com/tx/3658d1fc7917fffdd07d58b1dfbf9f298b7191d4ac7ba41d59b78be9be457809