← Back to directory

Realized profit and loss and cost basis for an ERC20 token in a wallet on Base, ...

https://api.x402node.dev/wallet/pnl

Overview

Realized profit and loss and cost basis for an ERC20 token in a wallet on Base, computed from on-chain DEX trades against a quote asset (USDC by default). Returns average buy and sell price, realized PnL, remaining position and cost basis. Search terms: wallet PnL, realized gains, cost basis, token profit, crypto tax accounting, trade history.

Protocol x402
Price
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/wallet
Provider x402node
Source bazaar
Indexed 2026-06-03 00:17:40

Health

Status healthy
Latency (p50) 484ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-09-06 23:01:30
Last Healthy 2026-09-06 23:01:30
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator

Recent Health Checks

Time Status HTTP Latency Error
2026-09-06 23:01:30 healthy 402 428ms
2026-09-06 20:17:27 healthy 402 484ms
2026-09-06 07:42:44 healthy 402 435ms
2026-09-06 02:20:42 healthy 402 432ms
2026-09-05 22:22:47 healthy 402 473ms
2026-09-05 14:12:27 healthy 402 667ms
2026-09-05 03:03:09 healthy 402 833ms
2026-09-04 18:09:54 healthy 402 924ms
2026-09-04 13:21:05 healthy 402 426ms
2026-09-04 01:38:27 healthy 402 633ms