jic_note_fee
【JIC 上刊费 · 自治闭环】结清 b.jic.io 的证据成本(默认 0.01 LOVE),让 pendingFee 的笔记真正上刊。三个 action:① steps —— 返回 approve + Router.consume 的就绪 calldata(memo = b.jic.io:fee:,chainId 8453),交调用方本地签名广播,本服务不碰私钥;② confirm —— 把交易哈希回传 b.jic.io 完成核验(POST /api/notes/:id/fee {tx}),笔记随即公开;b.jic.io 无 CORS 响应头,浏览器必须经本工具代理;③ status —— 查这篇笔记当前是否已上刊。官方等价脚本:GET https://b.jic.io/tools/jic-consume.mjs(approve + Router.consume)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"noteId": "<noteId>"
},
"name": "jic_note_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | confirm 时填:consume 交易哈希 0x… | |
| jwt | No | 已有票据(confirm 必填,status 可选) | |
| love | No | 上刊费 LOVE 数,默认 0.01 | |
| action | Yes | steps | confirm | status | |
| noteId | Yes | b.jic.io 笔记 id(必填) | |
| address | No | 付款方地址(steps 时用于查 allowance) | |
| message | No | 无 jwt 时的 challenge 原文 | |
| signature | No | 无 jwt 时的 personal_sign 结果 |