sage-coins
Sage coin and address operations. List coins, check spendability, validate addresses, get derivations, check asset ownership.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- sage-coins
- description
- Sage coin and address operations. List coins, check spendability, validate addresses, get derivations, check asset ownership.
03 SKILL.md 正文
Sage Coins & Addresses
Coin queries and address management.
Endpoints
Coin Queries
| Endpoint | Payload | Description |
|---|---|---|
get_coins |
See below | List coins with filters |
get_coins_by_ids |
{"coin_ids": [...]} |
Get specific coins |
get_are_coins_spendable |
{"coin_ids": [...]} |
Check spendability |
get_spendable_coin_count |
{"asset_id": null} |
Count spendable |
get_coins Payload
{
"asset_id": null,
"offset": 0,
"limit": 50,
"sort_mode": "created_height",
"filter_mode": "selectable",
"ascending": false
}
Sort modes: "coin_id", "amount", "created_height", "spent_height", "clawback_timestamp"
Filter modes: "all", "selectable", "owned", "spent", "clawback"
Address Operations
| Endpoint | Payload | Description |
|---|---|---|
check_address |
{"address": "xch1..."} |
Validate address |
get_derivations |
{"hardened": false, "offset": 0, "limit": 50} |
Get derivations |
increase_derivation_index |
{"index": 100, "hardened": true, "unhardened": true} |
Generate more |
Asset Ownership
| Endpoint | Payload | Description |
|---|---|---|
is_asset_owned |
{"asset_id": "..."} |
Check if owned |
Coin Record Structure
{
"coin_id": "0x...",
"parent_coin_info": "0x...",
"puzzle_hash": "0x...",
"amount": "1000000000000",
"asset_id": null,
"created_height": 1234567,
"spent_height": null,
"clawback_timestamp": null
}
Derivation Record Structure
{
"index": 0,
"hardened": false,
"address": "xch1...",
"puzzle_hash": "0x...",
"public_key": "0x..."
}
Examples
# List XCH coins
sage_rpc get_coins '{"asset_id": null, "limit": 20}'
# List CAT coins
sage_rpc get_coins '{"asset_id": "a628c1c2...", "limit": 20}'
# Check address
sage_rpc check_address '{"address": "xch1abc..."}'
# Check if coins are spendable
sage_rpc get_are_coins_spendable '{"coin_ids": ["0xabc...", "0xdef..."]}'
# Get address derivations
sage_rpc get_derivations '{"hardened": false, "offset": 0, "limit": 10}'
# Generate more addresses
sage_rpc increase_derivation_index '{"index": 200, "hardened": true, "unhardened": true}'
Notes
asset_id: nullqueries XCH coinsfilter_mode: "selectable"returns only spendable coins- Address validation checks format and wallet ownership
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.