quote_transport
Preview a transport route: returns free/paid status, hop distance, travel time, and fees. Validates route with rejection reason before committing.
Instructions
Preview a transport route without committing: returns whether it is free or paid, the hop distance and travel time, and (for a paid route through a foreign Hub) the exact $CPU fee, burn, and per-hub payouts. It has no side effects — it does not escrow resources. It also validates the route, surfacing the rejection reason and hop index if the path is invalid. Use it before transport to decide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Waypoint chain [source, ...intermediate, target] in axial hex coords. Each hop must be within reach, and every waypoint revealed and eligible (your own cell, or a Hub). The API validates the physics. | |
| resourceId | Yes | Resource type id to move (must have a balance at the source cell). | |
| amount | Yes | Units to move, as a positive integer string (matches on-map resource balances). |