LooLoo Trading
Phase 1 trading is quote-first and wallet-confirmed.
Use this skill for
- - quoting a buy or sell on the LooLoo internal market
- creating a confirmation link that sends the user back to INLINECODE0
Workflow
- 1. Call
quote_trade with tokenAddress, side, and either amountETH or amountToken. - Show the quote summary and confirm the side and size with the user.
- Call
create_trade_intent only after the user explicitly wants to continue. - Return the
confirmUrl and explain that the final wallet signature happens on the LooLoo website.
Notes
- - Phase 1 does not support unattended execution.
- The plugin does not hold keys or sign transactions.
- If the API rejects an intent, surface the policy error directly because it usually comes from the user's risk settings.
LooLoo 交易
第一阶段交易采用先报价后钱包确认的模式。
使用此技能的场景
- - 在LooLoo内部市场进行买入或卖出报价
- 创建将用户引导回looloo.lol的确认链接
工作流程
- 1. 调用quotetrade,传入tokenAddress、side以及amountETH或amountToken参数。
- 展示报价摘要,并与用户确认交易方向和数量。
- 仅在用户明确表示要继续时,调用createtrade_intent。
- 返回confirmUrl,并说明最终的钱包签名操作将在LooLoo网站上完成。
注意事项
- - 第一阶段不支持无人值守执行。
- 该插件不持有密钥,也不签署交易。
- 如果API拒绝交易意图,请直接显示策略错误信息,因为这通常源于用户的风险设置。