/api/v1/extension/position/info

token

Your extension token

chain

One of the available options

CHAIN_SOL

tokenA

First token of the position

tokenB

Second token of the positions

implements position info

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

A successful response.

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

{
  "token": "text",
  "chain": "CHAIN_UNSPECIFIED",
  "tokenA": "text",
  "tokenB": "text"
}
{
  "position": {
    "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