Skip to content
Fourohtwo

api.solenrich.com/entrypoints/stonk-launch-preflight/invoke

Decodes the Raydium LaunchLab initialize in your unsigned transaction and diffs it against StonkFun's /launchlab/pricing for that quote + mode: GlobalConfig, platform id, curve, supply, totalSellA, raise, 6-decimal Token-2022 base mint, quote token program, curve-rule account last, and the reward-mode transfer fee (catches the transferFeeBasePoints / maxinumFee spelling). Returns ok, mismatches wi

SolanaBaseUnchecked
POSThttps://api.solenrich.com/entrypoints/stonk-launch-preflight/invoke

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.solenrich.com/entrypoints/stonk-launch-preflight/invoke", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"json","mode":"reward","quote_mint":"So11111111111111111111111111111111111111112","unsigned_transaction":"AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAKDw3DCB8iG/qh2fapNS7+A6KwO1p4JbWqXBb+DHdxyv/jolXgVp80Z/1WrkA6M9RZNdP9XQ2K1FaV90kALEdOXOCO+c2uBkh80jQRonwPh6TQ),
});
console.log(await res.json());

Example input

{"format":"json","mode":"reward","quote_mint":"So11111111111111111111111111111111111111112","unsigned_transaction":"AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAKDw3DCB8iG/qh2fapNS7+A6KwO1p4JbWqXBb+DHdxyv/jolXgVp80Z/1WrkA6M9RZNdP9XQ2K1FaV90kALEdOXOCO+c2uBkh80jQRonwPh6TQ

More from SolEnrich