/api/v1/extension/positions/info

token

Your extension token

chain

One of the available options

post
Body
tokenstringOptional
chainstring · enumOptionalDefault: CHAIN_UNSPECIFIEDPossible values:
Responses
200

A successful response.

application/json
post
POST /api/v1/extension/positions/info HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 44

{
  "token": "text",
  "chain": "CHAIN_UNSPECIFIED"
}
{
  "positions": [
    {
      "id": "text",
      "userId": "text",
      "chain": "CHAIN_UNSPECIFIED",
      "poolAddress": "text",
      "poolPlatform": "PLATFORM_UNSPECIFIED",
      "poolMcapUsd": "text",
      "shitcoinInfo": {
        "address": "text",
        "name": "text",
        "symbol": "text",
        "decimals": 1,
        "isStable": true
      },
      "stablecoinInfo": {
        "address": "text",
        "name": "text",
        "symbol": "text",
        "decimals": 1,
        "isStable": true
      },
      "stableSpend": "text",
      "shitcoinReceived": "text",
      "shitcoinSold": "text",
      "shitcoinLeft": "text",
      "stableReturned": "text",
      "stableUnrealized": "text",
      "stableProfit": "text",
      "pnl": 1,
      "shitcoinLeftPercentage": 1,
      "shitcoinReserves": "text",
      "stablecoinReserves": "text",
      "stableValue": "text",
      "avgBuyMcapUsd": "text",
      "walletId": "text",
      "status": "POSITION_STATUS_UNSPECIFIED"
    }
  ]
}

Last updated