Skip to content
Fourohtwo

chainhilt.ai/api/v1/predict/polymarket/wallet/:signer/fund/prepare

Prepare a batch moving native USDC held by the deposit wallet to the bridge (credited as pUSD). Only for USDC already in the deposit wallet: the normal path is sending USDC to the bridge deposit addresses from GET /predict/polymarket/wallet/{signer}, which needs no batch. The chainhilt wallet signs `response.actions[0]`, a Batch, and POSTs it to /predict/polymarket/wallet/batch/submit. Errors: 400

BaseAnswering
POSThttps://chainhilt.ai/api/v1/predict/polymarket/wallet/:signer/fund/prepare

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://chainhilt.ai/api/v1/predict/polymarket/wallet/:signer/fund/prepare", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":"25"}),
});
console.log(await res.json());

Example input

{
  "amount": "25"
}

More from chainhilt-x402Provider status