GET
/
wallet
/
{chain}
/
{walletAddress}
/
stats
curl --request GET \
  --url https://api-dex.chainstream.io/wallet/{chain}/{walletAddress}/stats \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "1",
    "chain": "solana",
    "walletAddress": "HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH",
    "tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
    "tokenPriceInUsd": "1.23",
    "openTime": "1741780514000",
    "closeTime": "1741780514000",
    "lastTime": "1741780514000",
    "balance": "1000",
    "buyAmount": "1500",
    "buyAmountInUsd": "1845",
    "buys": "10",
    "sellAmount": "500",
    "sellAmountInUsd": "615",
    "sells": "5",
    "averageBuyPrice": "1.23",
    "averageSellPrice": "1.23",
    "unrealizedProfitInUsd": "123.45",
    "unrealizedProfitRatio": "12.34",
    "realizedProfitInUsd": "45.67",
    "realizedProfitRatio": "4.56",
    "totalRealizedProfitInUsd": "169.12",
    "totalRealizedProfitRatio": "16.91"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chain
enum<string>
required

A chain name listed in supported networks

Available options:
sol,
base
walletAddress
string
required

An address of a wallet

Example:

"MJKqp326RZCHnAAbew9MDdui3iCKWco7fsK9sVuZTX2"

Response

200 - application/json
id
number
required

Record identifier

Example:

"1"

chain
string
required

Blockchain network

Example:

"solana"

walletAddress
string
required

Wallet address

Example:

"HN7cABqLq46Es1jh92dQQisAq662SmxELLLsHHe4YWrH"

tokenAddress
string
required

Token contract address

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

tokenPriceInUsd
number
required

Current token price in USD

Example:

"1.23"

openTime
number
required

Position opening time

Example:

"1741780514000"

closeTime
number
required

Position closing time

Example:

"1741780514000"

lastTime
number
required

Last update time

Example:

"1741780514000"

balance
number
required

Current token balance

Example:

"1000"

buyAmount
number
required

Total amount of tokens bought

Example:

"1500"

buyAmountInUsd
number
required

Total value of tokens bought in USD

Example:

"1845"

buys
number
required

Number of buy transactions

Example:

"10"

sellAmount
number
required

Total amount of tokens sold

Example:

"500"

sellAmountInUsd
number
required

Total value of tokens sold in USD

Example:

"615"

sells
number
required

Number of sell transactions

Example:

"5"

averageBuyPrice
number
required

Average buying price

Example:

"1.23"

averageSellPrice
number
required

Average selling price

Example:

"1.23"

unrealizedProfitInUsd
number
required

Unrealized profit in USD

Example:

"123.45"

unrealizedProfitRatio
number
required

Unrealized profit ratio

Example:

"12.34"

realizedProfitInUsd
number
required

Realized profit in USD

Example:

"45.67"

realizedProfitRatio
number
required

Realized profit ratio

Example:

"4.56"

totalRealizedProfitInUsd
number
required

Total realized profit in USD

Example:

"169.12"

totalRealizedProfitRatio
number
required

Total realized profit ratio

Example:

"16.91"