sage-txn
Sage transaction operations. List transactions, sign coin spends, view without signing, submit transactions.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sage-txn
- description
- Sage transaction operations. List transactions, sign coin spends, view without signing, submit transactions.
03 SKILL.md 正文
Sage Transactions
Transaction signing and submission.
Endpoints
Query Transactions
| Endpoint | Payload | Description |
|---|---|---|
get_transactions |
See below | List transactions |
get_transaction |
{"height": 1234567} |
Get by height |
get_pending_transactions |
{} |
List pending |
get_transactions Payload
{
"offset": 0,
"limit": 50,
"ascending": false,
"find_value": null
}
Sign & Submit
| Endpoint | Payload | Description |
|---|---|---|
sign_coin_spends |
See below | Sign transaction |
view_coin_spends |
{"coin_spends": [...]} |
Preview without signing |
submit_transaction |
{"spend_bundle": {...}} |
Broadcast |
sign_coin_spends
{
"coin_spends": [
{
"coin": {
"parent_coin_info": "0x...",
"puzzle_hash": "0x...",
"amount": 1000000000000
},
"puzzle_reveal": "0x...",
"solution": "0x..."
}
],
"auto_submit": false,
"partial": false
}
partial: truefor multi-sig partial signatures
submit_transaction
{
"spend_bundle": {
"coin_spends": [...],
"aggregated_signature": "0x..."
}
}
Transaction Record Structure
{
"height": 1234567,
"timestamp": 1700000000,
"fee": "100000000",
"inputs": [...],
"outputs": [...]
}
Pending Transaction Structure
{
"transaction_id": "0x...",
"fee": "100000000",
"submitted_at": 1700000000,
"coin_spends": [...]
}
Examples
# List recent transactions
sage_rpc get_transactions '{"limit": 20, "ascending": false}'
# Get pending
sage_rpc get_pending_transactions '{}'
# View coin spends (preview)
sage_rpc view_coin_spends '{"coin_spends": [...]}'
# Sign and submit
sage_rpc sign_coin_spends '{
"coin_spends": [...],
"auto_submit": true
}'
# Manual submit
sage_rpc submit_transaction '{"spend_bundle": {...}}'
Workflow
- Build coin spends (from other endpoints with
auto_submit: false) - Optionally
view_coin_spendsto preview sign_coin_spendsto create spend bundlesubmit_transactionto broadcast (or useauto_submit: true)
Notes
auto_submit: truesigns and broadcasts in one callpartial: truefor multi-signature workflows- Pending transactions await mempool confirmation
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.