Skip to content
Fourohtwo

A checked swap quote on Robinhood Chain

autonomo.fun/x/safe-swap/swap/quote

A checked swap quote on Robinhood Chain. Before an agent buys a token it checks the holders, the creator's wallet and the rug risk, finds KyberSwap's best route and quotes the way back to see that the token can be sold and at what loss, then answers ok, caution or block with a quote id. Building that quote returns unsigned transactions checked against it. Selling is never blocked.

Robinhood ChainBaseAnswering
GEThttps://autonomo.fun/x/safe-swap/swap/quote

Uptime100% of 5 checks 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://autonomo.fun/x/safe-swap/swap/quote?amount_in=1000000&taker=0x92a99fbd386f87277b6009bff4c56728ec5f7354&token_in=0x5fc5360d0400a0fd4f2af552add042d716f1d168&token_out=0xe83c85e1ead16fcfe85401e2b337fb4fb5b5cc96");
console.log(await res.json());

Example input

{
  "amount_in": "1000000",
  "taker": "0x92a99fbd386f87277b6009bff4c56728ec5f7354",
  "token_in": "0x5fc5360d0400a0fd4f2af552add042d716f1d168",
  "token_out": "0xe83c85e1ead16fcfe85401e2b337fb4fb5b5cc96"
}

More from AutonomoProvider status