tradeItems
tradeItems(
partner,give,get,timeoutMs?):Promise<InventoryResultData>
Deprecated by Steam: the SDK documents trading through the inventory as not supported. The call is wrapped for completeness and is expected to reject. Unverified against a live Steam client.
If Steam does accept it, this changes the user’s real inventory by trading items with partner.
Parameters
Section titled “Parameters”partner
Section titled “partner”bigint
The Steam id of the trade partner, as a bigint.
The items the user gives, with their quantities.
The items the user receives, with their quantities.
timeoutMs?
Section titled “timeoutMs?”number | null
How long to wait for Steam, in milliseconds. Defaults to 30000.
Returns
Section titled “Returns”Promise<InventoryResultData>
the result of the trade.
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
