Skip to content
Fourohtwo

Lorcana draw sim

lorcana-sim.fmf-x402.workers.dev/mpp/lorcana/draw-odds

Lorcana draw sim: exact odds to draw your cards by turn N — Exact joint odds of drawing one or more cards (up to 6 groups) in the opening 7 and by each turn, on the play (no turn-1 draw) or draw. Price $0.001 per call.

BaseAnswering
POSThttps://lorcana-sim.fmf-x402.workers.dev/mpp/lorcana/draw-odds

Uptime100% of 1 check in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lorcana-sim.fmf-x402.workers.dev/mpp/lorcana/draw-odds", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"turn":4,"cards":[{"min":1,"name":"Elsa - Snow Queen","copies":4},{"min":4,"name":"inkable","copies":44}]}),
});
console.log(await res.json());

Example input

{
  "turn": 4,
  "cards": [
    {
      "min": 1,
      "name": "Elsa - Snow Queen",
      "copies": 4
    },
    {
      "min": 4,
      "name": "inkable",
      "copies": 44
    }
  ]
}