HyperDEX Widget Integration
No-code integration of DEX widget
HypeDEX widget code for iframe integration
Copy paste the widget code to your website <body> or app.
HyperDEX widget code for Button integration
Copy paste the widget code to your website <body> or app.
With Button "Swap":
Widget Customization and Fee setup
Optional parameters of the DEX widget
r= string
- referral address for fees from each Swap
chainId= string
- Network Id (Ethereum: 1; Polygon: 137; BNB chain: 56; Avalanche: 43114; Fantom: 250; Celo: 42220; Optimism: 10 )
fromTokenId= string
- Token Contract Address
toTokenId= string
- Token Contract Address
darkTheme= boolean
- theme mode (1 - dark mode, 0 - light mode)
closeBtn= boolean
- close button for iframe (1 - yes, 0 - no, modal window)
To call the Tab just use its name (Swap, Bridge, Portfolio) in the URL (https://widget.plasma.finance/bridge)
Example of parameters in the src link:
Widget Integration Example
Iframe https://plasma.finance/widg SWAP button https://plasma.finance/widg2
Last updated