read.account.pnl
Retrieve profit/loss data and yield earnings for an Arcadia Finance account, including cost basis, current value, net transfers, and lifetime totals in USD and token units.
Instructions
Get PnL (cost basis) and yield earned for an Arcadia account. Returns lifetime totals: cost basis vs current value (negative cost_basis = net profit withdrawn), net transfers per token, total yield earned in USD and per token. cost_basis, current_value, cost_diff are in USD (human-readable). Per-token fields (net_transfers, summed_yields_earned) are in raw token units.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_address | Yes | Arcadia account address | |
| chain_id | No | Chain ID: 8453 (Base) or 130 (Unichain) |