Skip to main content
GET
On-chain holdings with cost-basis overlay

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Path Parameters

w
string
required

Wallet address (base58, 32–44 characters).

Query Parameters

dex
integer

Filter FIFO cost-basis computation to a single DEX by integer ID. See DexId for the mapping. Has no effect on the Shyft on-chain token list.

Response

Holdings with cost-basis

Response from /wallets/{w}/holdings. holdings_source indicates whether the token list came from Shyft (authoritative) or fell back to FIFO-derived data.

wallet
string
required
holdings_source
enum<string>
required

shyft = authoritative on-chain balances. fifo_fallback = Shyft was temporarily unavailable; list is derived from Dexploit's swap index only.

Available options:
shyft,
fifo_fallback
holdings
object[]
required
computed_at
integer<int64>
required

Unix epoch milliseconds when this response was assembled.