Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

68ace2c33e323e4f9b0c5456b3c3f65f381c9399ecdcfcae4c426bed41930e79
Timestamp (utc)
2021-08-15 02:13:05
Fee Paid
0.00000763 BSV
(
0.04630259 BSV
-
0.04629496 BSV
)
Fee Rate
500.9 sat/KB
Version
1
Confirmations
288,370
Size Stats
1,523 B

2 Outputs

Total Output:
0.04629496 BSV
  • Q!-‚®ÚR ìf­âcU–‹m–Âqö G:§Æ<,—Ôۃ Q®M{"__cls":"class LimitOrder {\n constructor(haveToken, wantTokenRoot, wantPerHave, wantMax, ...owners) {\n this.haveToken = haveToken\n this.wantTokenRoot = wantTokenRoot\n this.wantPerHave = wantPerHave\n this.wantMax = wantMax\n this._owners = owners\n }\n\n swap(wantToken, amount) {\n if (wantToken._root !== this.wantTokenRoot) throw new Error()\n if (!this.haveToken) throw new Error()\n\n const haveToken = this.haveToken\n if (amount > this.wantMax) throw new Error() // they want to trade too much\n if (amount > wantToken.amount) throw new Error() // they don't have enough\n\n let h_amount = amount / this.wantPerHave\n if (h_amount > haveToken.amount) throw new Error() // we don't have enough\n\n this.wantMax -= amount\n\n return [haveToken.send(h_amount, ...wantToken._owners),\n wantToken.send(amount, ...haveToken._owners)]\n }\n\n cancel() { this.haveToken = null }\n}","__index":{"obj":0},"__func":"constructor","__args":["bb7a0e324ee9ef616a2fa58fbff1565e15b39c8e3a1ae4dd11e71c56f6a3346d:1","5d6110fad9485ad36e39224069afbfe78d6b7a5a4a44a7ee305f51a9cd890eb1:0","2","4","032d82aeda52200bec66ade26355968b6d96c271f60b473aa7c63c2c97d4db8309"]}u
    https://whatsonchain.com/tx/68ace2c33e323e4f9b0c5456b3c3f65f381c9399ecdcfcae4c426bed41930e79