Skip to content
Fourohtwo

Build the UNSIGNED plan to mint or redeem an Einstein index basket

emc2ai.io/x402/index-tokens/plan

Build the UNSIGNED plan to mint or redeem an Einstein index basket — curated (EIX-AI, EIX-COMPUTE, EIX-NVSP on Robinhood Chain 4663; EIX-AI, EIX-NVSP on Base 8453) or any registered platform basket by address. Params { basket, kind: mint|redeem, usd? (mint via the zap: USDG on 4663, USDC through Aerodrome on Base), shares? (redeem), wallet, skip?, chainId? (4663 default | 8453) }. Returns zap and

BaseSolanaAnswering
POSThttps://emc2ai.io/x402/index-tokens/plan

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://emc2ai.io/x402/index-tokens/plan", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}