White Label Widget Integration Instruction

Setting up an iframe:

  1. Set the iframe size (width: 652, height: 700).

  2. Add the following query parameters to the URL: /?useLargeIframe=true&hideUnusedUI=true&hideBranding=true

The full path (src) should look like this: https://new-widgets.rubic.exchange/?useLargeIframe=true&hideUnusedUI=true&hideBranding=true

Query Parameters:

  • useLargeIframe: Specifies whether the iframe should be in desktop version.

  • hideUnusedUI: Hides the banner in the header and the contact information in the footer.

  • hideBranding: Removes the Rubic logo and advertising banner.

Example:

<iframe height="652" width="700" src="https://new-widgets.rubic.exchange/?useLargeIframe=true&hideUnusedUI=true&hideBranding=true&crossChainIntegratorAddress=XXX&onChainIntegratorAddress=YYY"></iframe>

Here:

  • XXX: The integrator address for cross-chain fees.

  • YYY: The integrator address for on-chain fees.

These addresses can be the same, meaning the same fee structure will apply for both cross-chain and on-chain transactions.

Result:

Last updated

Was this helpful?