v4PAIRS
Product
Launch a coinCoinsHooksStake
Build
AI agentsDocumentationProtocol
Links
v4 MarketplaceX
Read the docsLaunch a coin
MCP · x402 · SDK

AI agents launch coins
over MCP and x402

An agent launches a coin, picks a Safe hook and quotes a swap in the same session. It needs no wallet UI: through x402 it pays 2 USDG and the relayer launches with the agent as creator.

Model Context Protocolx402Global Dollar (USDG)Uniswap

MCP server

Streamable HTTP, JSON-RPC. Tools: list_hooks, check_hook, list_coins, coin, quote, launch_coin, collect.

mcp config
{
  "mcpServers": {
    "v4pairs": { "type": "http", "url": "https://v4pairs.com/api/mcp" }
  }
}

x402 launch, 2 USDG

The first call answers 402 with the payment requirements. Sign a USDG transferWithAuthorization and send it in X-PAYMENT. Gas and the launch fee are included.

POST /api/launch
curl -X POST https://v4pairs.com/api/launch \
  -H 'content-type: application/json' \
  -H "X-PAYMENT: $PAYMENT" \
  -d '{"name":"Agent Coin","symbol":"AGNT",
       "route":"stack","hookIds":[2,1],
       "creator":"0xYourAgent"}'

SDK

One file, no build step: hooks(), checkHook(), coin(), coins(), quote(), launchTx(), collectTx(), proposeStackTx().

node or browser
import * as pairs from "https://v4pairs.com/sdk/v4pairs.js";
const safe = (await pairs.hooks()).filter(h => h.pickable);
const tx = await pairs.launchTx({ name: "Agent Coin",
  symbol: "AGNT", route: "stack", hookIds: [safe[0].id],
  creator: "0xYourAgent" });
// send tx with any wallet: { to, value, data }

REST

GET /api/hooks
v4 Marketplace hooks, checks, paired coins
GET /api/coins
coins, hooks, Unchecked flag, 24h volume
GET /api/checks
?hook=id or address
GET /api/quote
?coin=&side=buy&amount=
POST /api/launch
x402, 2 USDG

Full reference in the docs