Skip to main content
GET
SDK

SDK Example

Autorizaciones

x-api-key
string
header
requerido

Clave API

Parámetros de ruta

wallet
string
requerido

Dirección cartera Solana (base58, 32–44 caracteres)

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

Dirección mint (base58, 32–44 caracteres)

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

Parámetros de consulta

pnlMode
enum<string>
predeterminado:strict

Marcadas por heurística de PnL inválido: strict pone a cero; adjusted limita según coste; raw no toca PnL realizado. También pnl_mode y mode.

Opciones disponibles:
strict,
adjusted,
raw

Respuesta

Successful response.

A single token position for a wallet.

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>
Opciones disponibles:
strict,
adjusted,
raw
token
string

Token mint address (base58).

pnl
object

Realized, unrealized, and total profit/loss in USD.

invested
number | null

Total cost basis (USD spent buying this token).

proceeds
number | null

Total USD received from sales of this token.

roi
number | null

Return on investment percentage.

current
object
volume
object
averages
object
counts
object
timing
object
meta
object

Basic token metadata and current market data.

portfolioPercent
number | null

This position's value as a percentage of the wallet's total holdings value. Only present on the positions endpoint.