White Label Widget Integration Instruction
Last updated
Was this helpful?
Last updated
Was this helpful?
Setting up an iframe:
Set the iframe size (width: 652, height: 700).
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
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.
<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.