radiant_build_data_asset
Construct CBOR-ready Glyph NFT metadata for data marketplace assets, specifying asset type, price, license, and content hash for blockchain transactions.
Instructions
Build Glyph NFT metadata for a data marketplace asset (DataMarketplace contract pattern). Returns CBOR-ready metadata structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | NFT reference for this asset | |
| name | Yes | Asset name | |
| type | Yes | Asset type | |
| price | Yes | Price in photons (0 = free/open) | |
| license | No | License terms (e.g., 'CC-BY-4.0') | |
| mime_type | No | MIME type | |
| size_bytes | No | Content size in bytes | |
| description | Yes | Asset description | |
| content_hash | Yes | Blake3 hash of the content (64 hex chars) | |
| derived_from | No | Parent dataset refs (for provenance) |