메인 콘텐츠로 건너뛰기
GET
/
v2
/
wallet
/
{chain}
/
{walletAddress}
/
pnl
지갑 - PnL 요약
curl --request GET \
  --url https://api.chainstream.io/v2/wallet/{chain}/{walletAddress}/pnl \
  --header 'Authorization: Bearer <token>'
{
  "avgProfitPerTradeInUsd": "402.86",
  "buyAmountInUsd": "101371192.39",
  "buys": "1515999",
  "losses": "348350",
  "realizedProfitInUsd": "802583.91",
  "realizedProfitRatio": "0.0035521324",
  "resolution": "1d",
  "sellAmountInUsd": "60369621.10",
  "sells": "1011994",
  "tokens": "15126",
  "totalCostInUsd": "225944253.64",
  "totalProfitInUsd": "1018427683.08",
  "totalProfitRatio": "4.5074290081",
  "totalTrades": "2527993",
  "unrealizedProfitInUsd": "1017625099.17",
  "unrealizedProfitRatio": "4.5038768756",
  "walletAddress": "54Pz1e35z9uoFdnxtzjp7xZQoFiofqhdayQWBMN7dsuy",
  "winRate": "0.5575",
  "wins": "438944",
  "updatedAt": "2026-02-04T11:42:50.000Z"
}
Get profit and loss summary for a wallet. Shows realized and unrealized PnL across all token positions.
Related: GraphQL Wallet PnL | MCP: wallet_get_pnl

인증

Authorization
string
header
필수

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

경로 매개변수

chain
enum<string>
필수

지원되는 네트워크에 나열된 체인 이름 Supported blockchain chains

사용 가능한 옵션:
sol,
eth,
bsc
walletAddress
string
필수

지갑 주소

쿼리 매개변수

resolution
enum<string>
기본값:1d

PnL 기간 해상도 (1d, 7d, 30d, 또는 all) PnL resolution period

사용 가능한 옵션:
1d,
7d,
30d,
all

응답

200 - application/json

성공 응답

Wallet PnL Summary (aggregated across all tokens for a given resolution)

avgProfitPerTradeInUsd
string
필수

USD 기준 거래당 평균 수익

예시:

"402.86"

buyAmountInUsd
string
필수

USD 기준 총 매수 금액

예시:

"101371192.39"

buys
string
필수

총 매수 거래 건수

예시:

"1515999"

losses
string
필수

손실 거래 건수

예시:

"348350"

realizedProfitInUsd
string
필수

USD 기준 실현 수익

예시:

"802583.91"

realizedProfitRatio
string
필수

실현 수익률

예시:

"0.0035521324"

resolution
string
필수

PnL 기간 해상도

예시:

"1d"

sellAmountInUsd
string
필수

USD 기준 총 매도 금액

예시:

"60369621.10"

sells
string
필수

총 매도 거래 건수

예시:

"1011994"

tokens
string
필수

총 거래 토큰 수

예시:

"15126"

totalCostInUsd
string
필수

USD 기준 총 비용 기반

예시:

"225944253.64"

totalProfitInUsd
string
필수

USD 기준 총 수익 (실현 + 미실현)

예시:

"1018427683.08"

totalProfitRatio
string
필수

총 수익률

예시:

"4.5074290081"

totalTrades
string
필수

총 거래 건수

예시:

"2527993"

unrealizedProfitInUsd
string
필수

USD 기준 미실현 수익

예시:

"1017625099.17"

unrealizedProfitRatio
string
필수

미실현 수익률

예시:

"4.5038768756"

walletAddress
string
필수

지갑 주소

예시:

"54Pz1e35z9uoFdnxtzjp7xZQoFiofqhdayQWBMN7dsuy"

winRate
string
필수

총 거래 대비 수익 거래 비율

예시:

"0.5575"

wins
string
필수

수익 거래 건수

예시:

"438944"

updatedAt
string | null

마지막 업데이트 타임스탬프

예시:

"2026-02-04T11:42:50.000Z"