sage-xch
moltbot
Sage XCH transaction operations. Send XCH, bulk send, combine coins, split coins, multi-send, clawback finalization.
bunx add-skill moltbot/skills -s sage-xchLoading…
moltbot
Sage XCH transaction operations. Send XCH, bulk send, combine coins, split coins, multi-send, clawback finalization.
bunx add-skill moltbot/skills -s sage-xchLoading…
XCH (Chia) transaction operations.
All amounts in mojos (string): 1 XCH = "1000000000000"
| Endpoint | Description |
|---|---|
send_xch | Send to single address |
bulk_send_xch | Send to multiple addresses |
multi_send | Send multiple asset types |
{
"address": "xch1...",
"amount": "1000000000000",
"fee": "100000000",
"memos": ["optional memo"],
"clawback": null,
"auto_submit": true
}
{
"addresses": ["xch1...", "xch1..."],
"amount": "100000000000",
"fee": "100000000",
"memos": [],
"auto_submit": true
}
{
"payments": [
{"asset_id": null, "address": "xch1...", "amount": "1000000000000", "memos": []},
{"asset_id": "a628c1c2...", "address": "xch1...", "amount": "1000", "memos": []}
],
"fee": "100000000",
"auto_submit": true
}
| 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 |
{
"max_coins": 500,
"max_coin_amount": "1000000000000",
"fee": "100000000",
"auto_submit": true
}
| Endpoint | Payload | Description |
|---|---|---|
finalize_clawback | {"coin_ids": [...], "fee": "...", "auto_submit": true} | Complete clawback |
All transaction endpoints return:
{
"summary": {
"fee": "100000000",
"inputs": [...],
"outputs": [...]
},
"coin_spends": [...]
}
# 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
}'
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.
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.