calculate_producer_points
Calculate per-unit and total earnings for a producer points deal: the master royalty, the producer's share, and the artist's net. Works for any music, not only the OnChain Music catalog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units_sold | No | Units sold. When provided, totals are included. | |
| producer_points | Yes | Producer points as a percentage of the base price. Example: 3 for 3 points. | |
| master_royalty_rate | No | Artist master royalty rate as a percentage (0-100). Defaults to 18. | |
| suggested_retail_price | No | Base price per unit in USD. Defaults to 9.99. |