Skip to content
onelayer.
All tools

Tool detail

SolEnrich

Returns entry/exit cost, breakeven and a PAYS/MARGINAL/COSTS/NOT_PAYING verdict for one StonkFun trade size.

Categories: Defi, Market prices

Use when

  • estimate round-trip cost and payback for a StonkFun trade at a given size
  • check whether a reward coin's yield covers its transfer tax over a hold period

Not for

  • not a screener across coins - see stonk-screener
  • not an on-chain swap - pricing/estimate only, no execution

Inputs

POST JSON body: { mint: string (base58, required) }; size_usd (number, optional, default 100); hold_days (number, optional, default 7); format (optional).

Admitted input schema

{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "json",
        "llm",
        "both"
      ],
      "description": "Response format: json (structured fields, default), llm (short deterministic briefing), or both (fields plus llm_summary).",
      "default": "json"
    },
    "hold_days": {
      "type": "number",
      "minimum": 0.25,
      "maximum": 365,
      "description": "Intended holding period",
      "default": 7
    },
    "mint": {
      "type": "string",
      "minLength": 32,
      "maxLength": 44,
      "description": "StonkFun reward coin mint (base58)"
    },
    "size_usd": {
      "type": "number",
      "minimum": 1,
      "maximum": 1000000,
      "description": "Position size in USD",
      "default": 100
    }
  },
  "required": [
    "mint"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.solenrich.com/entrypoints/stonk-quote/invoke

Payment

Protocol
x402
Listed price
0.005 USDC per call on Solana
Payment method
exact
Network
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Asset
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.solenrich.com/entrypoints/stonk-quote/invoke
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z