sage-options
Sage options protocol operations. Mint options, exercise, transfer, list and manage options contracts.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sage-options
- description
- Sage options protocol operations. Mint options, exercise, transfer, list and manage options contracts.
03 SKILL.md 正文
Sage Options
Chia options protocol operations.
Endpoints
Query Options
| Endpoint | Payload | Description |
|---|---|---|
get_options |
See below | List options |
get_option |
{"option_id": "..."} |
Get specific option |
update_option |
{"option_id": "...", "visible": true} |
Update visibility |
get_options Payload
{
"offset": 0,
"limit": 50,
"sort_mode": "name",
"ascending": false,
"find_value": null,
"include_hidden": false
}
Sort modes: "name", "created_height", "expiration_seconds"
Mint Option
{
"expiration_seconds": 604800,
"underlying": {
"asset_id": null,
"amount": "1000000000000"
},
"strike": {
"asset_id": "a628c1c2...",
"amount": "100000"
},
"fee": "100000000",
"auto_submit": true
}
asset_id: null= XCH- Returns
option_id
Exercise Options
{
"option_ids": ["..."],
"fee": "100000000",
"auto_submit": true
}
Transfer Options
{
"option_ids": ["..."],
"address": "xch1...",
"fee": "100000000",
"clawback": null,
"auto_submit": true
}
Option Record Structure
{
"option_id": "...",
"underlying_asset_id": null,
"underlying_amount": "1000000000000",
"strike_asset_id": "a628c1c2...",
"strike_amount": "100000",
"expiration_seconds": 604800,
"created_height": 1234567,
"visible": true
}
Examples
# List options
sage_rpc get_options '{"limit": 20}'
# Mint option: 1 XCH underlying, 100k CAT strike, 7 day expiry
sage_rpc mint_option '{
"expiration_seconds": 604800,
"underlying": {"asset_id": null, "amount": "1000000000000"},
"strike": {"asset_id": "a628c1c2...", "amount": "100000"},
"fee": "100000000",
"auto_submit": true
}'
# Exercise option
sage_rpc exercise_options '{
"option_ids": ["option123"],
"fee": "100000000",
"auto_submit": true
}'
# Transfer option
sage_rpc transfer_options '{
"option_ids": ["option123"],
"address": "xch1buyer...",
"fee": "100000000",
"auto_submit": true
}'
Notes
- Options allow derivative-style contracts on Chia
- Exercise before expiration to claim underlying
- Expired options can be reclaimed by creator
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.