Add a ledger row (maintainer)
record_ledgerMaintainer only: append one public treasury ledger row. Positive income requires a Base transaction hash; negative costs may omit it. WRITES: this call changes stored state and is not safe to repeat blindly.
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": {
"description": "<description>",
"amount_cents": "<amount_cents>"
},
"name": "record_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | 0x-prefixed 32-byte transaction hash | |
| secret | No | ||
| description | Yes | ||
| amount_cents | Yes |