accounting_assertions_edit
Correct engine-derived lot details by source transfer, updating unit price, acquisition time, or origin lot while preserving quantity as the account's true balance.
Instructions
Correct a lot the engine derived, naming it by the transfer it opened from. Asserts at least one of unit price, acquisition time, or origin lot. Quantity is never editable: the account's real balance is ground truth.
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": {
"smartAccountId": "<smartAccountId>",
"chainId": "<chainId>",
"tokenAddress": "<tokenAddress>",
"sourceTransferId": "<sourceTransferId>"
},
"name": "accounting_assertions_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain id | |
| unitPrice | No | Corrected cost basis per whole token, in USD | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| originLotId | No | Corrected lot this one carries basis from | |
| tokenAddress | Yes | Token contract address (0x...) | |
| smartAccountId | Yes | Account id the lot belongs to (from 'accounts list') | |
| acquisitionTime | No | Corrected acquisition time. ISO 8601, must be in the past. | |
| sourceTransferId | Yes | Transfer the lot opened from ('sourceTransferId' on the lot) | |
| anchorOriginLotId | No | Origin lot currently on the lot being edited ('originLotId'). Part of the lot's identity, not a new value. |