<head>
of your pagediv
tag to the place, where the Rubic Widget will be<body>
from
ETH
to
RBC
fromChain
ETH
toChain
ETH
amount
1.2345
1
iframe
flex
hideSelectionFrom
false
hideSelectionTo
true
theme
dark
background
background
property, e.g.'#28372e', 'white', 'linear-gradient(45deg, black, #4aa956)'linear-gradient(45deg, black, #4aa956)
with dark theme, linear-gradient(45deg, #4aa956 20%, white)
with light themelanguage
en
injectTokens
eth
, bsc
, polygon
, harmony
e.g. { eth: ['0xd123575d94a7ad9bff3ad037ae9d4d52f41a7518', 'CRV'], bsc: ['0x2859e4544c4bb03966803b044a93563bd2d0dd4d'] }
{}
slippagePercent
instantTrades
, crossChain
, e.g. { instantTrades: 5, crossChain: 7 }
{}