receipt.js
Members
(constant) assumedAssetScale#
assetScale can't be verified using receipt service (https://github.com/coilhq/receipt-verifier/issues/27) so it is hard coded and assumed to be 9 (this is used by coil wallet)
- Source:
Methods
('monetizationprogress', receiptService)#
verifyReceiptVerifies receipt by sending it to the recipt verifier service and modifying the users account balance accordigly.
Parameters:
Name | Type | Description |
---|---|---|
'monetizationprogress' | object | event's detail property, with userId included. |
receiptService | string | receiptService URL |
- Source: