Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

0fa8352411845cfe8937fa5ad9305f2b06e7b2dc2415d9deaa4b24e12c4e73c7
Timestamp (utc)
2021-02-08 19:27:33
Fee Paid
0.00001860 BSV
(
0.00200000 BSV
-
0.00198140 BSV
)
Fee Rate
494.5 sat/KB
Version
1
Confirmations
319,280
Size Stats
3,759 B

2 Inputs

Total Input:
0.00200000 BSV
  • Q!±©ÝÅ@,È4…uc‡´‰NaþViüpæ1Ÿá€!Eî{ƒø @0ª=9RæÍ«' ]¤õ;WŒç Ìî¡«R®Mî {"__cls":"class VaccineToken {\n constructor(to, coinCount, previousOwners, options, isDistributed) {\n this.contractTypeID = \"393f0d5f-c3bb-4871-b9fb-b47f4b7ababf\";\n this.contractTypeName = \"VaccineToken\";\n this.contractTypeVersion = \"0.0.2\";\n //_owners/to must be an array passed in\n this._owners = to;\n this.coins = coinCount;\n this.previousOwners = previousOwners;\n this._amount = parseInt(options[\"amount\"], 10);\n this.adminPKs = options[\"adminPKs\"];\n this.revokePK = options[\"revokePK\"];\n this.vial_data = options[\"vial_data\"];\n this.ndc = options[\"ndc\"];\n this.lot_id = options[\"lot_id\"];\n this.manufacturer = options[\"manufacturer\"];\n this.lot_expiration = options[\"lot_expiration\"];\n this.patientPK = options[\"patientPK\"];\n this.providerPK = options[\"providerPK\"];\n this.country = options[\"country\"];\n this.state = options[\"state\"];\n this.postal_code = options[\"postal_code\"];\n this.distributed_on = options[\"distributed_on\"];\n this.adminstration_business_id = options[\"adminstration_business_id\"];\n this.employee_id = options[\"employee_id\"];\n this.practitioner_license_id = options[\"practitioner_license_id\"];\n this.distributed = isDistributed;\n this.fundingRequested = false;\n //this.state = options;\n }\n\n addOwner(pubKey){\n this._owners.push(pubKey);\n }\n\n requestFunds() {\n this.fundingRequested = true;\n }\n\n fund(satoshisToAdd) {\n this._amount += satoshisToAdd;\n this.fundingRequested = false;\n }\n\n drain(pubKey) {\n if (!this.adminPKs.includes(pubKey)) {\n throw new Error(\"You do not have persmission to drain this token.\");\n }\n this._amount = 0;\n return \"Successfully Drained.\";\n }\n\n send(to, coinCount, options) {\n if (this.coins < coinCount) throw new Error(\"Insufficient Token Count.\");\n this.coins -= coinCount;\n let previousOwners = this._owners;\n return new VaccineToken([to,... previousOwners], coinCount, previousOwners, options, false);\n }\n\n distribute(to, options) {\n if (this.coins == 0) throw new Error(\"Insufficient Token Count.\");\n this.coins -= 1;\n let previousOwners = this._owners;\n return new VaccineToken([to,... previousOwners], 1, previousOwners, options, true);\n }\n\n revoke(pubKey) {\n if (this._owners.includes(pubKey)) this.owners = [this.revokePK];\n else throw new Error(\"You do not have permission to revoke this token.\");\n }\n}"}u
    https://whatsonchain.com/tx/undefined

3 Outputs

Total Output:
0.00198140 BSV
  • Q!±©ÝÅ@,È4…uc‡´‰NaþViüpæ1Ÿá€!Eî{ƒø @0ª=9RæÍ«' ]¤õ;WŒç Ìî¡«R®MÃ{"__index":{"obj":0,"res":1},"__func":"distribute","__args":["028b1d29adc4d05aa4412402c250f9774618b758a4bb414bacc1ac9cc1936ed8c4",{"adminPKs":"","revokePK":"","vial_data":"01003592671000181711112110U4275AA","ndc":"5926710001","lot_id":"U4275AA","manufacturer":"Pfizer","lot_expiration":"11/11/21","patientPK":"028b1d29adc4d05aa4412402c250f9774618b758a4bb414bacc1ac9cc1936ed8c4","providerPK":"02b1a9ddc502402cc81a34148575631587b4894e61fe8d5669fc70e6319fe11a80","country":"USA","state":"FL","postal_code":"33444","distributed_on":"Mon Jan 18 2021 14:09:28 GMT-0500 (Eastern Standard Time)","adminstration_business_id":"1111111111","employee_id":"111111111","practitioner_license_id":"1111111111","amount":0}]}u
    https://whatsonchain.com/tx/0fa8352411845cfe8937fa5ad9305f2b06e7b2dc2415d9deaa4b24e12c4e73c7
  • Q!‹)­ÄÐZ¤A$ÂPùwF·X¤»AK¬Á¬œÁ“nØÄ!±©ÝÅ@,È4…uc‡´‰NaþViüpæ1Ÿá€!Eî{ƒø @0ª=9RæÍ«' ]¤õ;WŒç Ìî¡«S®Mî {"__cls":"class VaccineToken {\n constructor(to, coinCount, previousOwners, options, isDistributed) {\n this.contractTypeID = \"393f0d5f-c3bb-4871-b9fb-b47f4b7ababf\";\n this.contractTypeName = \"VaccineToken\";\n this.contractTypeVersion = \"0.0.2\";\n //_owners/to must be an array passed in\n this._owners = to;\n this.coins = coinCount;\n this.previousOwners = previousOwners;\n this._amount = parseInt(options[\"amount\"], 10);\n this.adminPKs = options[\"adminPKs\"];\n this.revokePK = options[\"revokePK\"];\n this.vial_data = options[\"vial_data\"];\n this.ndc = options[\"ndc\"];\n this.lot_id = options[\"lot_id\"];\n this.manufacturer = options[\"manufacturer\"];\n this.lot_expiration = options[\"lot_expiration\"];\n this.patientPK = options[\"patientPK\"];\n this.providerPK = options[\"providerPK\"];\n this.country = options[\"country\"];\n this.state = options[\"state\"];\n this.postal_code = options[\"postal_code\"];\n this.distributed_on = options[\"distributed_on\"];\n this.adminstration_business_id = options[\"adminstration_business_id\"];\n this.employee_id = options[\"employee_id\"];\n this.practitioner_license_id = options[\"practitioner_license_id\"];\n this.distributed = isDistributed;\n this.fundingRequested = false;\n //this.state = options;\n }\n\n addOwner(pubKey){\n this._owners.push(pubKey);\n }\n\n requestFunds() {\n this.fundingRequested = true;\n }\n\n fund(satoshisToAdd) {\n this._amount += satoshisToAdd;\n this.fundingRequested = false;\n }\n\n drain(pubKey) {\n if (!this.adminPKs.includes(pubKey)) {\n throw new Error(\"You do not have persmission to drain this token.\");\n }\n this._amount = 0;\n return \"Successfully Drained.\";\n }\n\n send(to, coinCount, options) {\n if (this.coins < coinCount) throw new Error(\"Insufficient Token Count.\");\n this.coins -= coinCount;\n let previousOwners = this._owners;\n return new VaccineToken([to,... previousOwners], coinCount, previousOwners, options, false);\n }\n\n distribute(to, options) {\n if (this.coins == 0) throw new Error(\"Insufficient Token Count.\");\n this.coins -= 1;\n let previousOwners = this._owners;\n return new VaccineToken([to,... previousOwners], 1, previousOwners, options, true);\n }\n\n revoke(pubKey) {\n if (this._owners.includes(pubKey)) this.owners = [this.revokePK];\n else throw new Error(\"You do not have permission to revoke this token.\");\n }\n}"}u
    https://whatsonchain.com/tx/0fa8352411845cfe8937fa5ad9305f2b06e7b2dc2415d9deaa4b24e12c4e73c7