Tender
OfficialThis MCP server lets an agent use Tender on Robinhood Chain to check tokens, quote payments, inspect wallet limits, and call x402 APIs.
Check whether a token is spendable and what paying $1 costs in it.
Quote a USD payment amount in a selected token, default token, or USDG.
View the agent wallet address, balances, and remaining daily spending limits.
Call x402 APIs, automatically handling 402 payments via token-to-USDG settlement, while fetching free endpoints and enforcing configured limits.
Support HTTP method, headers, body, max USD price, and per-call pay-with token.
Enables AI agents to pay x402 APIs on Robinhood Chain: checks whether a token has a Uniswap route to USDG and what $1 costs in it (check_coin), quotes payments in a chosen token (quote), shows the agent wallet's ETH/USDG/token balances and remaining daily limits (wallet), and pays paid endpoints with any token — swapped to USDG and settled on-chain — while enforcing per-call, fee and daily limits (pay).
Tender
Every coin on Robinhood is money. Tender is an x402 payment rail for Robinhood Chain that lets AI agents pay any x402 endpoint with any liquid token. The merchant always receives exact USDG.
Every payment covers its own gas. The facilitator prices the gas it will spend to settle (gas units × gas price × ETH price, +20%) into each quote, and the agent signs for it. The contract caps the gas part at
maxGasFee(1 USDG by default).Paying in USDG: Permit2 transfer, no swap. Fee = gas only.
Paying in any other token: in one transaction the payer's token is pulled with a Permit2 signature, swapped on Uniswap to USDG, the merchant is paid exactly, Tender keeps 0.5% + gas, and any unused token is refunded.
$TENDER (
0xda4a075417d613ec018c8959fea6ab5ac5d5b78c) is fee-exempt: gas only.The standard x402
exactscheme (EIP-3009 USDG) is on in production: any standard x402 client or API on Robinhood Chain can use Tender. Tender pays its gas with no fee, capped byEXACT_DAILY_MAXandEXACT_PER_PAYER_DAILY_MAX.
Live now
Website | |
Docs | https://paywithtender.com/docs: quickstarts, fees, facilitator API, addresses |
Coin checker | https://paywithtender.com/check — is a token spendable, and what does $1 cost in it |
Facilitator | https://facilitator.paywithtender.com ( |
Tender API | https://facilitator.paywithtender.com/api — paid endpoints ( |
SDK |
|
x402 plugin |
|
MCP server |
|
Contract |
|
Related MCP server: MoneySwitch MCP Server
Use Tender with the standard x402 SDKs
Tender is a standard x402 v2 facilitator for Robinhood Chain (eip155:4663). APIs built with Coinbase's @x402/* packages can point at it as-is and get paid in USDG with the stock exact scheme. Tender covers the gas (within daily limits), and there is no Tender fee.
import { paymentMiddleware, x402ResourceServer } from "@x402/express";
import { HTTPFacilitatorClient } from "@x402/core/server";
import { ExactEvmScheme } from "@x402/evm/exact/server";
const server = new x402ResourceServer(new HTTPFacilitatorClient({ url: "https://facilitator.paywithtender.com" }))
.register("eip155:4663", new ExactEvmScheme());
app.use(paymentMiddleware({
"GET /weather": { accepts: [{ scheme: "exact", price: "$0.01", network: "eip155:4663", payTo: "0xYourAddress" }] },
}, server));Agents using @x402/fetch with ExactEvmScheme pay these endpoints with no changes.
Accept any token: register TenderSwapServer from @paywithtender/x402 next to ExactEvmScheme, and add a tender-swap entry to accepts. Agents holding any token with a Uniswap route can then pay, and you still receive exact USDG. Agents register TenderSwapClient to pay with the token they hold.
import { TenderSwapServer } from "@paywithtender/x402";
server.register("eip155:4663", new TenderSwapServer());
// accepts: [{ scheme: "exact", ... }, { scheme: "tender-swap", price: "$0.01", network: "eip155:4663", payTo }]npm run test:x402 runs Coinbase's packages, plus @paywithtender/x402, against a local Tender stack.
Layout
Path | What |
|
|
| The facilitator server: |
|
|
|
|
|
|
| paywithtender.com and the coin checker ( |
| Full local run: chain, facilitator, paywalled API, agents paying in USDG and in a memecoin |
| The MCP server and the paid API, driven end to end on a local chain |
Run the tests
npm install
cd contracts && npx hardhat test && cd .. # 13 contract tests
npm run test:e2e # end-to-end checks on a local chain (incl. "fee covers real gas")
npm run test:mcp # MCP server tools against the local stack
npm run test:api # the paid /api endpoints, paid through the MCP serverHow a memecoin payment works
The agent hits a paid endpoint and gets a
402offeringexact(USDG) andtender-swap.The agent asks the facilitator
/quote: "how much RHDOGE pays 0.05 USDG?" The answer includes the fee (0.5% + gas, broken down) and a 3% slippage buffer. Agents can refuse withmaxFeePerCall.The agent signs a Permit2 witness transfer. The signature locks in the merchant, USDG amount, fee and resource URL, so nobody can redirect the money.
The merchant passes it to the facilitator, which builds the Uniswap route and simulates the whole settlement before sending it.
TenderSettlement.settlepulls the token, swaps, checks it got enough USDG, and then pays the merchant, the fee and the refund. If the output is short, everything reverts.
First-time setup per token is one approve(Permit2). If the agent has no ETH, /sponsor sends just enough gas for that one approval (once per wallet, capped).
Merchant integration
import express from "express";
import { tenderPaywall } from "@paywithtender/sdk";
const app = express();
app.use(tenderPaywall({
payTo: "0xYourWallet",
facilitator: "https://facilitator.paywithtender.com",
routes: { "GET /premium": { price: "$0.05", description: "Premium data" } },
}));
app.get("/premium", (req, res) => res.json({ data: "…" }));Agent integration
import { wrapFetchWithTender } from "@paywithtender/sdk";
const pay = wrapFetchWithTender(fetch, {
account, // viem LocalAccount
chain: robinhood, // chain id 4663
payWith: "0x<memecoin>", // omit to pay in USDG
maxUsdgPerCall: 100_000n, // refuse anything above $0.10
});
const res = await pay("https://api.example.com/premium");Mainnet launch checklist (in order)
New wallets, unconnected to anything else: deployer, relayer (hot, keep about $5 of ETH on it), treasury, and owner (cold).
Uniswap API key from the Uniswap developer portal, signed up under an anonymous email.
Deploy:
cd contracts DEPLOYER_PRIVATE_KEY=0x… TREASURY_ADDRESS=0x… RELAYER_ADDRESS=0x… OWNER_ADDRESS=0x… \ npx hardhat run scripts/deploy.js --network robinhoodThen accept ownership from the owner wallet. Code is published at github.com/paywithtender.
Start small:
ACTION=set-max USDG=25 npx hardhat run scripts/admin.js --network robinhoodAllowlist the Uniswap proxy router:
UNISWAP_API_KEY=… SETTLEMENT_ADDRESS=… TOKEN=<liquid coin> npx tsx packages/facilitator/scripts/find-router.ts, then run theset-routercommand it prints.Run the facilitator: copy
packages/facilitator/.env.exampleto.env, fill it in, thennpm run facilitator(or deploy the Dockerfile to Fly).Live smoke test: put a demo endpoint behind
tenderPaywallat $0.01, then pay it once in USDG and once in a liquid Pons coin. Check/feedand Blockscout.Verify the contract on Blockscout and publish the repo from the anonymous GitHub account.
Check these on the first mainnet run
These couldn't be tested from the build environment (no access to Robinhood's RPC or Uniswap's API there):
Trading API response shape:
quote.input.amountand the unit ofpriceImpact(assumed to be a percent) inadapters/uniswap.ts.Contract as swapper: that
EXACT_OUTPUTquotes withx-permit2-disabled: truework with the settlement contract asswapper, and that the returnedswap.tois the proxy router you allowlisted.Pons V2 coins: that coins sitting in Uniswap v4 pools with hooks get routed.
Gas units:
SETTLE_GAS_SWAP(600k) andSETTLE_GAS_USDG(200k) are estimates with headroom, including the L1 data part. Compare against the first real settlements and tune; the facilitator logs nothing yet, so readgasUsedon Blockscout.USDG signing domain: the EIP-712 name and version (
"Global Dollar","1"); confirm viaeip712Domain()on the USDG contract.
If the Trading API doesn't fit, add a direct Universal Router adapter next to adapters/uniswap.ts (same SwapAdapter interface) and allowlist the router with PERMIT2_MODE=true. The contract already supports both modes.
Security notes
The contract holds no funds between transactions. It approves the router only for the amount it just received, and revokes after.
A relayer can't redirect payments, because the payer's signature fixes the merchant, amount, fee and resource. The worst case for a payer is a bad fill up to the max input they signed, which is the quote plus 3%.
Only allowlisted relayers can call
settle, and only allowlisted routers can be called.The owner can pause, change the fee (hard-capped at 1%), set the size cap, and set exemptions.
There has been no external audit. Keep the per-payment cap low until it has run cleanly on mainnet.
Available Tools
4 toolscheck_coinCheck if a coin is spendableARead-only
Checks whether a Robinhood Chain token can be used to pay on Tender (it needs a Uniswap route to USDG), and what paying $1.00 costs in it.
Inputs: token (required).
payCall a paid APIA
Calls an x402 API. If it answers 402 Payment Required with a Tender option, pays with the agent's token (swapped to USDG on Uniswap in the same transaction) and returns the API's response. Free endpoints are just fetched. Refuses anything above the configured per-call, fee or daily limits.
Inputs: url (required), body, method, headers, +2 more.
quoteQuote a paymentARead-only
Prices a payment of a given USD amount in a given token (default: the configured pay-with token, or USDG).
Inputs: usd (required), token.
walletAgent wallet and limitsARead-only
Shows the agent wallet address, its ETH, USDG and pay-with token balances, and the spending limits left today.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool maps to a distinct step in the payment flow: feasibility check (check_coin), pricing (quote), execution (pay), and account state (wallet). check_coin and quote are close cousins — both report what a token costs — but the descriptions distinguish them (fixed $1 probe + route validity vs. arbitrary USD amount pricing), so confusion is limited to edge cases.
Names mix conventions: one verb_noun (check_coin), two bare verbs (quote, pay), and one bare noun (wallet). Individually readable and short, but there is no predictable pattern an agent can rely on to predict a name.
Four tools is lean but each covers a real stage of the x402 pay-with-token workflow, with no filler. It sits at the low end of the ideal range, leaving little room for adjacent needs like transaction history.
The core lifecycle — verify token, price payment, execute payment under limits, inspect wallet/remaining limits — is fully covered with no dead ends. Minor gaps: no payment/transaction history or receipt lookup, and no way to inspect or adjust spending limits beyond viewing them.
Maintenance
Related MCP Connectors
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.
Machine-payable API infrastructure for autonomous agents. Per-call x402 settlement in USDC.
Let an AI agent find and pay for x402 APIs and products in USDC on Base, within owner-set limits.
x402 layer for AI agents: 35 pay-per-call resources, x402 service discovery, USDG/USDC.
Related MCP Servers
AlicenseAqualityBmaintenanceEnables agents to autonomously pay x402 API requests in USDG on Robinhood Chain while enforcing budget caps and scoped sessions.7411 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents to make payments over x402-priced HTTP APIs using USDC on Monad testnet, with policy enforcement, budgets, and approval workflows, without exposing private keys.9AGPL 3.0
- AlicenseAqualityCmaintenanceEnables AI agents to autonomously quote, execute, and verify on-chain payments in USDG on Robinhood Chain (chainId 4663) under spending policy caps, alongside live PONS price, launch-token metadata, market, and balance lookups. Payments are signed, broadcast, and only marked confirmed once the on-chain receipt and expected USDG transfer event verify.9MIT
- AlicenseAqualityBmaintenanceEnables AI agents to autonomously quote, execute, and verify USDG payments on Robinhood Chain 4663 under configurable spending caps, while accessing PONS price, token, balance, and launch-market intelligence through MCP tools.9MIT