Use Cases
Native swaps for every chain your users touch.
Your users hold tokens on multiple chains. They expect to swap between them without leaving your wallet. Hypermid gives you one REST API that covers 90+ blockchains, handles routing automatically, and lets you earn on every swap.
The problem
Wallet teams need to integrate multiple bridges and DEX aggregators individually. Each has a different API format, different error codes, different status-tracking mechanisms. Supporting five chains means maintaining five separate integrations — and hoping none of them change their API without warning.
PulseChain? That's a custom integration from scratch. There is no bridge aggregator that covers it out of the box. Your engineering team either builds a bespoke solution or your PulseChain users get nothing.
How Hypermid solves it
- •One integration for every chain — a single REST API covers 90+ blockchains. Add new chains as Hypermid adds them, with zero code changes on your side.
- •PulseChain as a differentiator — PulseChain has 500K+ active users and almost no wallet support for cross-chain swaps. Integrating Hypermid gives you instant access to that user base.
- •Unified status tracking — one status endpoint for every swap, regardless of which bridge or DEX is used under the hood. No more per-provider polling logic.
- •Built-in monetization — Hypermid charges a 0.3% flat fee. Partner wallets can earn a revenue share on every swap their users execute.
- •Fallback safety for PulseChain — SuperSwap provides redundant routing so PulseChain swaps don't fail silently.
Integration effort
The full integration is three steps: get a quote, have the user sign the transaction, and poll for status. Here's the pattern in TypeScript.
import { ethers } from "ethers";
const HYPERMID_API = "https://api.hypermid.io/v1";
// 1. Get a quote
async function getQuote(params: {
fromChain: number;
toChain: number;
fromToken: string;
toToken: string;
fromAmount: string;
fromAddress: string;
}) {
const res = await fetch(`${HYPERMID_API}/quote`, {
method: "GET",
headers: {
"x-api-key": process.env.HYPERMID_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify(params),
});
return res.json();
}
// 2. Execute — user signs the transaction
async function executeSwap(quote: any, signer: ethers.Signer) {
const tx = await signer.sendTransaction({
to: quote.transactionRequest.to,
data: quote.transactionRequest.data,
value: quote.transactionRequest.value,
gasLimit: quote.transactionRequest.gasLimit,
});
return tx.hash;
}
// 3. Poll for status
async function pollStatus(txHash: string): Promise<string> {
while (true) {
const res = await fetch(`${HYPERMID_API}/status`, {
method: "GET",
headers: {
"x-api-key": process.env.HYPERMID_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({ txHash }),
});
const data = await res.json();
if (data.status === "DONE") return "success";
if (data.status === "FAILED") throw new Error(data.error);
await new Promise((r) => setTimeout(r, 5000));
}
}What you can build
In-wallet cross-chain swaps
Let users swap between any two tokens on any two chains without leaving your wallet interface.
PulseChain on-ramp
Give users a one-click path from Ethereum, Arbitrum, or any other chain into PulseChain.
Multi-chain portfolio
Show a unified portfolio view and let users rebalance across chains with a single action.
Gas auto-bridging
Detect when a user needs gas on a destination chain and automatically bridge a small amount.
Cross-chain zaps
Combine a bridge, a swap, and a DeFi action (deposit, stake, provide liquidity) into a single user-facing transaction.
Ready to integrate?
Start building with Hypermid's cross-chain infrastructure today.