API Widget
π Embedding the HyBridge Widget
You can embed the HyBridge widget on any website with a simple <iframe>
tagβno SDKs or back-end code required. Everything is configurable via URL parameters.
β
Basic Example
π¨ Customise the Look & Feel
Pass any of the parameters below as query-string pairs to tailor the widget to your brand.
Hex values must be URL-encoded (e.g. #000000
β %23000000
).
primary
Accent / button colour (hex)
%23000000
text-colour
Main text colour (hex)
%23000000
paper-bg
Widget background (hex)
%23ffffff
input-bg
Input-field background (hex)
%23ffffff
border-colour
Outline colour (hex)
%23000000
border-width
Outline thickness (any CSS unit)
1px
border-radius
Corner radius (any CSS unit)
8px
, 1rem
, 0
font-family
Font stack (web-safe or pre-loaded)
georgia
, arial
πΈ Optional Referral-Fee Support
Earn a share of every transfer that passes through your embed by adding two extra parameters:
referralFee
Percentage fee (0 β 100, decimal form)
0.01
(0.01 %)
referralAddress
Wallet address that receives referral earnings
0xYourWalletAddress
π Recommended Size Width: 350px Height: 500px You can adjust these values depending on your layout.
Last updated