create_unlock
Create a keyless pay-to-unlock page to sell a file link, license key, or secret text for a fixed USD price; buyers pay your wallet and the payload appears only after payment confirmation.
Instructions
Create a keyless pay-to-unlock page with ZERO setup, no account, no API key: sell a file link, license key, or secret text (up to 100,000 chars) for a fixed price. The buyer pays the set USD price straight to your wallet and the payload is revealed on their paid confirmation, never before. Non-custodial. (To deliver an actual uploaded file up to 10MB, use the multipart HTTP API at /api/v1/unlocks.) IMPORTANT: confirm with your principal that the content is not adult, illegal, or non-consensual, then pass aup_accepted=true, otherwise the call fails.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"price_usd": "<price_usd>",
"payload": "<payload>",
"aup_accepted": "<aup_accepted>"
},
"name": "create_unlock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Defaults to USDC | |
| chain | No | Defaults to base | |
| No | Optional, lets the owner claim a dashboard later | ||
| title | No | What the buyer is purchasing, shown on the paywall | |
| address | Yes | Destination wallet; funds settle here. Shieldz never holds them. | |
| payload | Yes | The secret to reveal after payment: a URL or text. Never shown before payment. | |
| price_usd | Yes | Unlock price in USD, e.g. 5 for $5.00 | |
| description | No | Short pitch shown on the paywall | |
| aup_accepted | Yes | Must be true: asserts the content complies with the acceptable-use policy (no adult, illegal, or non-consensual content). |