79trust / 100
Stonk Quote Invoke
by SolEnrich in Company & people data
x402 APIPassing, checked 2 h ago
Cost and payback of one StonkFun trade at one size, no swap: entry and exit cost (transfer tax + price impact at size), round-trip % and the breakeven price move, your pro-rata share of each payout with a dust warning, expected payout over the hold from the yield window with real history, and a PAYS / MARGINAL / COSTS / NOT_PAYING verdict with breakeven hold days. Composes stonk-reward-risk, stonk-yield, and enrich-token-light. Inputs: mint, size_usd (100), hold_days (7).
POST https://api.solenrich.com/entrypoints/stonk-quote/invoke
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 347 ms typical, 431 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.solenrich.com/entrypoints/stonk-quote/invoke" \
-H "content-type: application/json" \
-d '{"format":"json","hold_days":7,"mint":"HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR","size_usd":100}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.solenrich.com%2Fentrypoints%2Fstonk-quote%2Finvoke
const res = await pay("https://api.solenrich.com/entrypoints/stonk-quote/invoke", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"format":"json","hold_days":7,"mint":"HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR","size_usd":100}),
});
console.log(await res.json());Example input
{
"format": "json",
"hold_days": 7,
"mint": "HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR",
"size_usd": 100
}Example output
{
"output": {
"eligibility": {
"dust_risk": true,
"est_usd_per_payout": 0.000007,
"note": "StonkFun publishes no minimum holding; payouts are pro-rata by balance. Share...",
"share_of_supply_pct": 0.0001
},
"entry": {
"price_impact_pct": 0.07,
"price_impact_usd": 0.07,
"tax_pct": 3,
"tax_usd": 3,
"total_pct": 3.07,
"total_usd": 3.07
},
"exit": {
"price_impact_pct": 0.07,
"price_impact_usd": 0.07,
"tax_pct": 3,
"tax_usd": 3,
"total_pct": 3.07,
"total_usd": 3.07
},
"expected_payout": {
"basis": "7d",
"basis_actual_days": 7,
"caution": false,
"caution_reason": null,
"reward_asset": "ZEC",
"usd_over_hold": 1.58,
"usd_per_week": 1.58,
"yield_pct_per_week": 1.5805
},
"hold_days": 7,
"mint": "HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR",
"name": "Anonymous Cat",
"payout_status": "PAYING",
"price_usd": 0.09729,
"quote": {
"category": "custom",
"mint": "A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS",
"symbol": "ZEC"
},
"round_trip": {
"breakeven_move_pct": 6.33,
"cost_pct": 6.14,
"cost_usd": 6.14
},
"size_usd": 100,
"symbol": "ZCAT",
"tokens_at_size": 996.3
},
"run_id": "uuid",
"status": "succeeded"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 431 ms | $0.005 |
| 5 h ago | Passed | 402 | 349 ms | $0.005 |
| 9 h ago | Passed | 402 | 663 ms | $0.005 |
| 12 h ago | Passed | 402 | 340 ms | $0.005 |
| 16 h ago | Passed | 402 | 332 ms | $0.005 |
| 19 h ago | Passed | 402 | 358 ms | $0.005 |
| 23 h ago | Passed | 402 | 347 ms | $0.005 |
| 27 h ago | Passed | 402 | 412 ms | $0.005 |
| 30 h ago | Passed | 402 | 179 ms | $0.005 |
| 35 h ago | Passed | 402 | 339 ms | $0.005 |
| 38 h ago | Passed | 402 | 401 ms | $0.005 |
| 41 h ago | Passed | 402 | 179 ms | $0.005 |
| 46 h ago | Passed | 402 | 332 ms | $0.005 |