# Scry Solana Wallet PnL (Per-Transaction SOL)

> Scry Solana Wallet PnL (Per-Transaction SOL) is a paid API for AI agents from scry.solanahub.de, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns per-transaction SOL profit-and-loss for a Solana wallet address, computed from validator pre/postBalances — never estimated or price-derived — with explicit null + reason when uncomputable.

## Facts

- Endpoint: GET https://scry.solanahub.de/x402/wallet/:address/pnl
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scry-solana-wallet-pnl-per-transaction-sol-17f1825d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__644M_89uAueYXdXj3Y89

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scry-solana-wallet-pnl-per-transaction-sol-17f1825d
```

Example prompt: What's the verified on-chain SOL PnL for Solana wallet CTyFguG69kwYrzk24P3UuBvY1rR5atu9kf2S6XEwAU8X — computed from validator balances, not estimated from prices?

## When to prefer this

Choose this endpoint when you need a tamper-evident, lamport-level SOL PnL that is never estimated from token prices — ideal for agent-driven due diligence, copy-trade vetting, or leaderboard auditing where integrity of the number matters. Prefer this over price-derived PnL APIs when you need an explicit null + reason for uncomputable cases rather than a silently wrong estimate. Best when the wallet is a known Solana trader wallet (not a multi-asset DeFi vault). Requires micro-payment via x402 ($0.002 USDC), making it cost-effective for single-wallet lookups.

## Known failure modes

- Wallet address not indexed — returns null PnL with reason explaining data is unavailable
- Multi-asset wallet — returns null PnL with caveat that SOL-only computation is not valid
- Large PnL on now-empty wallet — withheld as unverifiable, returns null with explicit reason
- Invalid Solana address format — likely HTTP 400 or error status
- Payment not received or insufficient — x402 payment required, request rejected
- Wallet has zero transactions — returns null with coverage = 0 or empty trade count
- Chain-anchored verification not yet complete — sol_pnl_chain_anchored=false flag returned with result

## How this service works

Per-transaction SOL PnL for one Solana wallet from validator pre/postBalances — never estimated or price-derived (that data source is verified to the lamport). Returns an explicit null + reason when the number is not computable, the wallet is multi-asset, or a large PnL sits on a now-empty wallet (withheld as unverifiable pending the chain-anchored recompute — equally a real winner who withdrew or a flow artifact, NOT judged fake). NOTE: whole-lifetime chain-anchored verification is being hardened — the served number is currently internal-consistency-checked, NOT yet certified against the on-chain lifetime balance delta (sol_pnl_chain_anchored=false). Includes trade count, classification, coverage, and freshness. No API keys, no subscriptions; x402 exact payment per request.

## Output

Returns a JSON object containing the SOL PnL figure (or explicit null with reason), trade count, PnL classification, coverage metric, confidence score, freshness/as_of timestamp, evidence pack, methodology description, and an agent_decision_support field with plain-language guidance. Includes flags for chain-anchored verification status and whether the wallet is supported or multi-asset.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "examples": [
        "CTyFguG69kwYrzk24P3UuBvY1rR5atu9kf2S6XEwAU8X"
       ]
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "product",
      "coverage",
      "evidence_pack",
      "agent_decision_support",
      "methodology"
     ],
     "properties": {
      "pnl": {
       "type": "object",
       "additionalProperties": true
      },
      "as_of": {
       "type": "string"
      },
      "in_db": {
       "type": "boolean"
      },
      "caveat": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "sources": {
       "type": "array"
      },
      "coverage": {
       "type": "object",
       "additionalProperties": true
      },
      "frozen_at": {
       "type": "string"
      },
      "supported": {
       "type": "boolean"
      },
      "is_example": {
       "type": "boolean"
      },
      "methodology": {
       "type": "string"
      },
      "fixture_note": {
       "type": "string"
      },
      "evidence_pack": {
       "type": "object",
       "additionalProperties": true
      },
      "spend_rationale": {
       "type": "object",
       "additionalProperties": true
      },
      "confidence_score": {
       "type": "number"
      },
      "field_provenance": {
       "type": "object",
       "additionalProperties": true
      },
      "source_updated_at": {
       "type": "string"
      },
      "agent_decision_support": {
       "type": "object",
       "additionalProperties": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scry-solana-wallet-pnl-per-transaction-sol-17f1825d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scry.solanahub.de](https://www.zero.xyz/host/scry.solanahub.de/llms.txt)
