Skip to main content
GET
Wallet - PnL By Token

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 Supported blockchain chains

Available options:
sol,
eth,
bsc
walletAddress
string
required

An address of a wallet

Query Parameters

tokenAddresses
string
required

A list of token addresses in string separated by commas (,). Maximum 100 token addresses allowed

resolution
enum<string>
default:1d

Time resolution for PnL aggregation PnL resolution period

Available options:
1d,
7d,
30d,
all

Response

200 - application/json

Successful response

Full PnL details result with cursor pagination.

data
object[]
required

List of per-token PnL details

summary
object
required

Aggregated PnL summary

endCursor
string | null

Cursor for the end of current page

Example:

"eyJpZCI6ImVuZCJ9"

hasNext
boolean

Whether there is a next page

Example:

false

hasPrev
boolean

Whether there is a previous page

Example:

false

startCursor
string | null

Cursor for the start of current page

Example:

"eyJpZCI6InN0YXJ0In0="