buy_lot
Purchase units from an open lot with $CPU auto-approved. Provide lot ID, delivery chain (hub to your cell), and quantity. Confirm cost via quote_buy.
Instructions
Buy units from an OPEN lot, delivered to your own cell. Requires a session. chain = [hub, ...waypoints, your destination cell] (the Hub holding the lot → your revealed cell). Always paid in $CPU (seller price + any foreign-hub transit fees) — auto-approves the spend once and submits the on-chain payment. NOTE: this reserves the units immediately (no dry-run) — preview the exact cost first with quote_buy. Track delivery with list_my_transports / get_lot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lotId | Yes | The lot id to buy from (from list_lots / get_lot / get_markets). | |
| chain | Yes | [hub, ...waypoints, destination] — first node is the lot Hub, last is your own revealed cell where the goods are delivered. | |
| value | Yes | Units to buy, as a positive integer string (≤ the lot remaining). |