81trust / 100

Stonk Reward Risk Invoke

by SolEnrich in Onchain & crypto

x402 APIPassing, checked 28 min ago

Payout status for a StonkFun reward coin — what a holder observes: PAYING (payout in the last 24h), STALE, NEVER, or NOT_REWARD — plus trading cost (tax bps, round-trip %) and a 0-100 health score read from the chain: fee bps and cap, withdraw authority (must be StonkFun's distributor), fee mutability, distributions and recency, flywheel, holders and concentration, quote category, age. Call before sizing a reward-coin position.

POST https://api.solenrich.com/entrypoints/stonk-reward-risk/invoke

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
180 ms typical, 180 ms slowest 5%
Last check
28 min ago
Next check
in 2 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.solenrich.com/entrypoints/stonk-reward-risk/invoke" \
  -H "content-type: application/json" \
  -d '{"format":"json","mint":"HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR"}'
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-reward-risk%2Finvoke
const res = await pay("https://api.solenrich.com/entrypoints/stonk-reward-risk/invoke", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"json","mint":"HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR"}),
});
console.log(await res.json());

Example input

{
  "format": "json",
  "mint": "HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR"
}

Example output

{
  "output": {
    "adoption": {
      "launchpad": "raydium",
      "listed_on_stonkfun": true,
      "mode": "reward",
      "withdraw_authority_is_stonkfun": true
    },
    "level": "HEALTHY",
    "mint": "HcRLc9VDgjLeK154xDawfb1dmVJ98DoSqcwTHGqiDeJR",
    "name": "Anonymous Cat",
    "payout_status": "PAYING",
    "reasons": [
      "listed on StonkFun as a reward-mode raydium launch",
      "on-chain transfer tax 300 bps, withheld to StonkFun's distributor",
      "6.84K ZEC distributed over 1639143 payouts to 34109 holders"
    ],
    "reward_mechanism": "transfer_tax",
    "score": 97,
    "symbol": "ZCAT",
    "trading_cost": {
      "bps": 300,
      "per_transfer_pct": 3,
      "round_trip_pct": 6
    },
    "transfer_fee": {
      "config_authority": null,
      "maximum_fee_binds": false,
      "onchain_bps": 300,
      "onchain_maximum_fee_raw": "1000000000000000000",
      "stonkfun_bps": 300,
      "token_program": "token-2022",
      "withdraw_withheld_authority": "5KXDF6QnqhBj72hDtJNkkpFaQVUfbFXNybMsp3DiK6tD",
      "withheld_amount_raw": "217869790395176"
    },
    "warnings": [
      "rewards paid in ZEC, a custom mint — the reward asset carries its own token risk"
    ]
  },
  "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

WhenResultHTTPTimePrice
28 min agoPassed402180 ms$0.005
4 h agoPassed402180 ms$0.005
9 h agoPassed402179 ms$0.005