AGENT SKILL

sage-xch

Sage XCH transaction operations. Send XCH, bulk send, combine coins, split coins, multi-send, clawback finalization.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
sage-xch
description
Sage XCH transaction operations. Send XCH, bulk send, combine coins, split coins, multi-send, clawback finalization.

03 SKILL.md 正文

Sage XCH Transactions

XCH (Chia) transaction operations.

Amount Format

All amounts in mojos (string): 1 XCH = "1000000000000"

Endpoints

Send XCH

Endpoint Description
send_xch Send to single address
bulk_send_xch Send to multiple addresses
multi_send Send multiple asset types

send_xch

{
  "address": "xch1...",
  "amount": "1000000000000",
  "fee": "100000000",
  "memos": ["optional memo"],
  "clawback": null,
  "auto_submit": true
}

bulk_send_xch

{
  "addresses": ["xch1...", "xch1..."],
  "amount": "100000000000",
  "fee": "100000000",
  "memos": [],
  "auto_submit": true
}

multi_send

{
  "payments": [
    {"asset_id": null, "address": "xch1...", "amount": "1000000000000", "memos": []},
    {"asset_id": "a628c1c2...", "address": "xch1...", "amount": "1000", "memos": []}
  ],
  "fee": "100000000",
  "auto_submit": true
}

Coin Management

Endpoint Payload Description
combine {"coin_ids": [...], "fee": "...", "auto_submit": true} Merge coins
split {"coin_ids": [...], "output_count": 10, "fee": "...", "auto_submit": true} Split coin
auto_combine_xch See below Auto-merge small coins

auto_combine_xch

{
  "max_coins": 500,
  "max_coin_amount": "1000000000000",
  "fee": "100000000",
  "auto_submit": true
}

Clawback

Endpoint Payload Description
finalize_clawback {"coin_ids": [...], "fee": "...", "auto_submit": true} Complete clawback

Response Format

All transaction endpoints return:

{
  "summary": {
    "fee": "100000000",
    "inputs": [...],
    "outputs": [...]
  },
  "coin_spends": [...]
}

Examples

# Send 1 XCH
sage_rpc send_xch '{
  "address": "xch1abc...",
  "amount": "1000000000000",
  "fee": "100000000",
  "auto_submit": true
}'

# Combine dust
sage_rpc auto_combine_xch '{
  "max_coins": 100,
  "fee": "50000000",
  "auto_submit": true
}'

Clawback Feature

Send with clawback (recoverable for N seconds):

{
  "address": "xch1...",
  "amount": "1000000000000",
  "fee": "100000000",
  "clawback": 86400,
  "auto_submit": true
}

After clawback period, recipient runs finalize_clawback to claim.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/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.

★ 1
kbarbel640-del
kbarbel640-del/skills

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).

★ 1
kbarbel640-del
kbarbel640-del/skills

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.

★ 1
kbarbel640-del
kbarbel640-del/skills

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.

★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

★ 1