FIFO PnL breakdown for a wallet
Wallets
FIFO PnL breakdown for a wallet
Computes per-token realized PnL using FIFO (First In, First Out) cost-basis accounting. Each sell is matched against the oldest remaining buy lots to determine the exact cost basis consumed. Returns per-token breakdown plus aggregated totals in SOL and USD.
GET
FIFO PnL breakdown for a wallet
Authorizations
Path Parameters
Query Parameters
Start timestamp (Unix seconds).
End timestamp (Unix seconds)
Maximum number of trades to process for FIFO calculation
Required range:
x <= 50000