FETCH402
← Protocol index

Resource / 13257

unknown

Unnamed resource.

CoinStats shared portfolio total value and PnL — total value, DeFi value, unrealized + realized profit/loss. Requires sharetoken header

Eligibility
probeable
Failures
0
Last quote
Last probe
Payment requirements / accepts[] 1 options
State Network Scheme Atomic amount Asset payTo / untrusted
active eip155:8453 exact 1000 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 0x0750a9e669C37FE1A1847E4B8f9e16F07c16162f

All advertised payment options are stored. Base (`eip155:8453`) is the operational network for ranking and canaries; non-Base options remain visible for transparency.

Probe evidence 0 recent

No probe attempts recorded yet. Coverage runs prioritize never-probed endpoints.

Machine contract

Schemas.

InputJSON
{
  "headerFields": {
    "passcode": "optional-portfolio-passcode",
    "sharetoken": "eyJhbGciOi... (obtain from CoinStats portfolio -> Share)"
  },
  "method": "GET",
  "queryParams": {
    "currency": "USD",
    "portfolioId": "abc123def456"
  },
  "type": "http"
}
OutputJSON
{
  "example": {
    "allTimeProfitLoss": 1751,
    "defiValue": 2500.25,
    "realizedProfitLoss": 500.25,
    "realizedProfitLossPercent": 5,
    "totalCost": 10000.5,
    "totalValue": 12500.75,
    "unrealizedProfitLoss": 1250.75,
    "unrealizedProfitLossPercent": 12.5
  },
  "type": "json"
}