Sweepster for builders: a gasless cross-chain sweep API
Sweepster gives wallets, exchanges and dapps a gasless cross-chain token sweep API: your users sign once, and their ERC-20s move from any supported chain to any wallet — even from wallets holding zero native gas. You earn a configurable share of every sweep's fee.
How integration works
Three calls take a user from quote to a settled, delivered sweep. Your backend calls /quote and /intents with your API key; the user’s wallet signs exactly once (the order digest plus an EIP-7702 authorization) — there is no separate gas-funding step for them to do.
1. Quote
Price the sweep, screen the token, and get back the exact unsigned order.
POST /quote { "owner": "0xYourUserWallet...", "tokenIn": "0xTokenTheyHold...", "tokenOut": "0xUSDC...", "destination": "0xWhereItShouldLand...", "amountIn": "1000000000000000000", "destChainId": 8453, "tier": "tier1", "subscriptionActive": false, "userId": "your-internal-user-id", "apiKey": "YOUR_BUILDER_API_KEY" } → 200 { "quote": { "id": "quote_abc123", "crossChain": false, "expiresAtMs": 1731000000000, "total": "2003500", "builderId": "bld_you", "signingScheme": "eip7702", "settlementAddress": "0xSweepDelegate..." }, "order": { /* unsigned SweepOrder — the exact bytes the user signs next */ } }2. Sign & submit
The user signs the order plus a 7702 authorization in their wallet; you relay both to
/intents.// In the user's wallet (not an API call): sign the returned order // as an EIP-712 typed-data digest, and sign an EIP-7702 authorization // delegating the EOA to settlementAddress. Then: POST /intents { "quoteId": "quote_abc123", "signature": "0x...", "authorization": { "address": "0xSweepDelegate...", "chainId": 8453, "nonce": 0, "r": "0x...", "s": "0x...", "yParity": 0 } } → 201 { "id": "quote_abc123", "status": "submitted", "txHash": "0x..." }3. Poll status
Poll
GET /intents/:iduntil the intent reaches a terminal status.GET /intents/quote_abc123 → 200 { "id": "quote_abc123", "status": "delivered", "txHash": "0x...", "crossChain": false }
Builder Program
Every sweep attributed to your API key carries a builder markup — a bps rate you set, capped at a per-builder maximum agreed with Sweepster — that you keep in full, split cleanly from Sweepster’s own protocol fee via an on-chain signed builder/builderFee field. The builder dashboard at dashboard.sweepster.xyz shows your accrued attribution and earnings and lets you rotate your API key. New integrators can self-serve create a zero-commission builder account from the dashboard (where self-serve signup is enabled) — Sweepster raises your commission cap on request; no approval is required to start integrating.