Embed the Unizen Widget
Integrating the Unizen Widget into Your WebApp

const params = { uuid: 'your uuid', apiKeyId: 'your apiKeyId', themeName: 'dark', inputCurrency: '0xdac17f958d2ee523a2206206994597c13d831ec7', // USDT address outputCurrency: '0x0000000000000000000000000000000000000000', // ETH address (native currency) inputChainId: '1', // Ethereum mainnet chain ID outputChainId: '1', // Ethereum mainnet chain ID tokenFromAmount: '1000', // Exact in amount of 1000 USDT tokenToAmount: '', // Leave empty for exact in trade primaryTextColorLight: 'red', primaryTextColorDark: 'blue', secondaryTextColor: 'blue', interactiveColorLight: 'orange', interactiveColorDark: 'purple', accentColorLight: 'pink', accentColorDark: 'cyan', containerCardColorLight: 'yellow', containerCardColorDark: 'yellow', dialogColorLight: 'green', dialogColorDark: 'green', cardRadius: '10px', buttonRadius: '5px' };<iframe src={WIDGET_URL} title='Unizen Exchange Widget' className={clsx( 'w-[600px]', 'h-[600px]', 'border-2' )}> </iframe>
Last updated