tradeChannels

The trading-post channels and how busy each is.

The first call of any trading flow: `tradeSelect` takes an `index` from here. Entering the trading post also moves the character there, which is why a later `tradeRequest` re-asserts the location.

In Trading.

Request

POST /api/v1/sessions/{accountKey}/actions/tradeChannels

Takes no arguments.

Response

`{ isTrader, channels }`.

FieldTypeMeaning
isTraderbooleanWhether this character is at the trading post.
channels[].indexintegerWhat `tradeSelect` takes.
channels[].memberCountintegerHow many players are in it.

Example response

{
  "isTrader": true,
  "channels": [
    { "index": 1, "channelName": "Trade 1", "memberCount": 42, "groupIndex": 0 },
    { "index": 2, "channelName": "Trade 2", "memberCount": 38, "groupIndex": 0 }
  ]
}

Errors

CodeWhen
action_failedNo character is in the lobby, or the read timed out.

See also

DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.