POST
https://prv.gateway.indexer.biya.io
/
injective_spot_exchange_rpc.InjectiveSpotExchangeRPC
/
SubaccountTradesList
SubaccountTradesList
curl --request POST \
  --url https://prv.gateway.indexer.biya.io/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList \
  --header 'Content-Type: application/json' \
  --data '
{
  "subaccount_id": "<string>",
  "market_id": "<string>",
  "execution_type": "<string>",
  "direction": "<string>",
  "skip": 123,
  "limit": 123
}
'
List trades executed by a subaccount.
subaccount_id
string
required
Subaccount ID (required)
market_id
string
Market ID (optional)
execution_type
string
Execution type (optional)
direction
string
Trade direction (optional)
skip
number
Skip count (optional)
limit
number
Limit count (optional)

Response

{
  "trades": [
    {
      "order_hash": "string",
      "subaccount_id": "string",
      "market_id": "string",
      "trade_execution_type": "string",
      "trade_direction": "string",
      "price": {
        "price": "string",
        "quantity": "string",
        "timestamp": "number"
      },
      "fee": "string",
      "executed_at": "number",
      "fee_recipient": "string",
      "trade_id": "string",
      "execution_side": "string",
      "cid": "string"
    }
  ]
}