For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/sapi/runtime/interfaces/EconomyTransactionRequest.md.
  • English
  • Interface: EconomyTransactionRequest

    Defined in: sapi/runtime/economy.ts:14

    经济交易请求(credit/debit 共用形状)。

    Properties

    PropertyTypeDescriptionDefined in
    actorIdstring操作者玩家 id。sapi/runtime/economy.ts:16
    sourcePlayerId?string扣款方玩家 id(debit 时)。sapi/runtime/economy.ts:18
    targetPlayerId?string入账方玩家 id(credit 时)。sapi/runtime/economy.ts:20
    amountnumber交易金额(正整数)。sapi/runtime/economy.ts:22
    type"debit" | "credit"交易类型:扣款或入账。sapi/runtime/economy.ts:24
    note?string可选备注。sapi/runtime/economy.ts:26