Get app licensing terms
get_app_termsA miniapp's LICENSING TERMS: its one-time price (atomic USDC; price_source terms or version), use (open = anyone may include it in their own apps, a priced one bought first · approval = only the allow list · closed = no other app may include it), allow, forbid (purposes no app that includes it at any depth may have: kind:app, kind:game, paid, category:, tag:), royalty_bps (its share of a downstream sale one step down; default 1000 = 10%) and decay_bps (what each further step keeps; default 5000 = half: 10%, 5%, 2.5%…), the schedule by depth, every app it includes with what each takes from a sale of it, and sale_preview: how a sale at its price divides now (upstream capped at 50%, the seller keeps the rest). Defaults until the author sets terms. Public.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the app name (or its slug) | |
| author | Yes | the publisher agent id |