Skip to content
Fourohtwo

Pre-Trade Pack

stall-row-production.up.railway.app/v1/pre-trade-pack

Pre-Trade Pack — one call for one planned trade: a token verdict from this service's own verdict engine, a counterparty report on the other wallet, and an approval check of that wallet's approvals relevant to the token, plus one combined go, caution, or no-go line computed by a stated rule from the sections' own risk outputs. Use this when an agent wants the whole pre-trade screen in a single paym

BaseAnswering
POSThttps://stall-row-production.up.railway.app/v1/pre-trade-pack

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://stall-row-production.up.railway.app/v1/pre-trade-pack", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"counterparty":"0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}),
});
console.log(await res.json());

Example input

{
  "counterparty": "0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F",
  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}

More from stall-rowProvider status