Skip to content
Fourohtwo

Base send endpoint

x402factory.ai/base/send

Base send endpoint. This specific request will send 950000 token atomics to 0x430F4BA3ffDa98ea1814A2fDb3368e6c26f2fc54 on base for token 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. For Base USDC with 6 decimals, 0.001 USDC = 1000 atomics and 1000 atomics is the practical minimum.

BaseAnswering
POSThttps://x402factory.ai/base/send

Uptime100% of 3 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://x402factory.ai/base/send", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"token":{"type":"string","required":false,"description":"Optional ERC-20 token contract address (0x...). When omitted, the endpoint uses BASE_USDC for the current BASE_NETWORK."},"receiver":{"type":"string","required":true,"description":"Base/EVM 0x wallet address that should receive the tokens."},"amountAtomic":{"type":"string","required":true,"description":"Amount in token smallest units (atomi),
});
console.log(await res.json());

Example input

{"token":{"type":"string","required":false,"description":"Optional ERC-20 token contract address (0x...). When omitted, the endpoint uses BASE_USDC for the current BASE_NETWORK."},"receiver":{"type":"string","required":true,"description":"Base/EVM 0x wallet address that should receive the tokens."},"amountAtomic":{"type":"string","required":true,"description":"Amount in token smallest units (atomi