accounting_assertions_seed
Seeds a pre-custody opening inventory lot with unit price, acquisition time, and quantity; lot appears only after an inbound transfer is designated to draw from it. Reuse the target key to update it.
Instructions
Seed opening inventory: a lot that predates Splits custody. Requires unit price, acquisition time, and quantity together. A seed alone creates no lot: the lot appears once 'assertions designate' marks an inbound transfer as drawing from it. Quantity is in base units (wei for ETH, 6-decimal units for USDC).
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>",
"unitPrice": "<unitPrice>",
"acquisitionTime": "<acquisitionTime>",
"quantity": "<quantity>",
"targetKey": "<targetKey>"
},
"name": "accounting_assertions_seed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain id | |
| quantity | Yes | Lot size in base units | |
| targetKey | Yes | Caller-chosen key naming the seeded lot. Reuse it to correct that lot; pick a new one for a new lot. Rerunning with the same key updates the lot instead of creating a second one. | |
| unitPrice | Yes | 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. | |
| tokenAddress | Yes | Token contract address (0x...) | |
| smartAccountId | Yes | Account id the lot belongs to (from 'accounts list') | |
| acquisitionTime | Yes | When the lot was acquired. ISO 8601, must be in the past. |