跳转到主要内容
POST
SDK

SDK Example

授权

x-api-key
string
header
必填

用于鉴权的 API Key

路径参数

wallet
string
必填

Solana 钱包地址(Base58,约 32–44 字符)

Pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$

查询参数

pnlMode
enum<string>
默认值:strict

对被无效 PnL 启发式标记的仓位:strict 归零;adjusted 按成本基础封顶;raw 不改动已实现盈亏。API 也接受别名 pnl_modemode

可用选项:
strict,
adjusted,
raw

请求体

application/json
tokens
string[]
必填

Token mint addresses to look up. Max 100.

Maximum array length: 100
示例:

响应

Positions found. Tokens the wallet never traded appear in notFound.

wallet
string
identity
object

Unified wallet identity. Only fields with known values are returned; a wallet can carry multiple tags at once.

pnlMode
enum<string>
可用选项:
strict,
adjusted,
raw
count
integer

Number of positions returned

positions
object[]
notFound
string[]

Token mints with no position for this wallet

invalid
string[]

Addresses that failed Base58 validation. Omitted when empty.