← 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) 421ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-07-23 15:42:57
Last Healthy 2026-07-23 15:42:57
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator

Recent Health Checks

Time Status HTTP Latency Error
2026-07-23 15:42:57 healthy 402 421ms
2026-07-23 10:18:04 healthy 402 435ms
2026-07-23 05:06:36 healthy 402 415ms
2026-07-23 04:31:23 healthy 402 418ms
2026-07-22 23:38:07 healthy 402 416ms
2026-07-22 20:22:59 healthy 402 137ms
2026-07-22 17:51:58 healthy 402 421ms
2026-07-22 13:54:15 healthy 402 416ms
2026-07-22 01:42:15 healthy 402 431ms
2026-07-22 00:05:39 healthy 402 441ms
2026-07-21 18:28:07 healthy 402 444ms
2026-07-21 12:38:53 healthy 402 433ms
2026-07-21 08:16:49 healthy 402 554ms