← 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 $0.10
Payment Asset USD Coin
Payment Network Base
Category crypto/wallet
Provider x402node
Source bazaar
Indexed 2026-06-03 00:17:40

Health

Status healthy
Latency (p50) 428ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-06-05 16:51:53
Last Healthy 2026-06-05 16:51:53
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified
Facilitator

Input Schema

{ "discoverable": true, "method": "GET", "type": "http" }

Recent Health Checks

Time Status HTTP Latency Error
2026-06-05 16:51:53 healthy 402 441ms
2026-06-05 14:31:15 healthy 402 416ms
2026-06-05 10:19:44 healthy 402 418ms
2026-06-05 08:26:31 healthy 402 140ms
2026-06-05 05:07:06 healthy 402 424ms
2026-06-05 02:52:04 healthy 402 429ms
2026-06-04 23:41:42 healthy 402 428ms
2026-06-04 20:21:44 healthy 402 421ms
2026-06-04 18:17:47 healthy 402 454ms
2026-06-04 13:57:45 healthy 402 419ms
2026-06-04 10:28:17 healthy 402 443ms
2026-06-04 08:48:46 healthy 402 446ms
2026-06-04 04:52:54 healthy 402 146ms
2026-06-04 02:58:38 healthy 402 432ms
2026-06-03 23:06:47 healthy 402 443ms
2026-06-03 21:14:26 healthy 402 414ms
2026-06-03 17:18:53 healthy 402 167ms
2026-06-03 14:28:21 healthy 402 451ms
2026-06-03 08:48:41 healthy 402 418ms
2026-06-03 06:01:19 healthy 402 429ms