结算流水对账
settlement.ledger查询结算账户的余额与该账户的往来流水(含哈希链凭证),用于多 Agent 结算对账:核对某 Agent 的收入/支出、验证链完整性(每条流水 digest 含前一条 prev_hash)。参数:account_id 账户标识、limit 返回条数(默认 50,最大 200)。返回余额、流水列表(direction=in/out、counterparty 对手方、amount、digest、prev_hash)。Example: {"account_id":"agent-a","limit":20}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回最近 N 条流水,默认 50,最大 200(可选) | |
| account_id | Yes | 账户标识(Agent 名/组织 ID) |