Skip to main content

Display Options

Mode Control

You can control which modes are available in the widget using the modes parameter:
When only one mode is enabled, the mode toggle is automatically hidden.

Chain & Token Presets

The destAddress parameter is useful when the destination address differs from the connected wallet — for example, when building a payment flow where users send tokens to a merchant address, or when the recipient is a smart contract.

Chain Identifiers

Hypermid uses a unified chain ID system. You can reference chains by either their numeric ID or a human-readable slug:
Use slugs for non-EVM chains"solana" is much easier to work with than 1151111081099710. EVM chains can use either format: defaultFromChain: 1 or defaultFromChain: "ethereum".
For the complete list of all 90+ supported chains, use the Chains API endpoint or the Preset Builder. Example — ETH to USDC on Arbitrum (using slugs):
Example — Solana to Bitcoin (non-EVM slugs):

Theme Customization

Override any visual aspect of the widget to match your brand:

Border Color Format

The borderColor option uses a special hex:opacity format where opacity is a percentage (0–100):

Font Family

Any Google Font is supported. The widget dynamically loads the font when specified. Popular choices: Sora (default), Inter, Poppins, Space Grotesk, DM Sans, Roboto, Manrope, Outfit, Plus Jakarta Sans, Nunito Sans, Work Sans, Montserrat, Rubik, Figtree, Lexend

Full Branding Example

Direct Iframe URL Parameters

When using the direct iframe embed, pass theme options as URL query parameters (hex values without #):
Use the Widget Playground to visually configure all these options and generate the embed code automatically.