UI integration
How to retrieve various pages using the UI parameters.
Cross Chain
Specify Network Type
GET
https://app.insurace.io/Dashboard?chain=ETH
Specify the network that you wish to connect to access and to use our services. Networks currently supported: ETH, BSC, Polygon and Avalanche.
Query Parameters
Name | Type | Description |
---|---|---|
chain | string | Value: ETH, BSC, Polygon or Avalanche |
Buy Cover
Specify the payment currency
GET
https://app.insurace.io/coverage/cart?currency=ETH
Specify the currency to set the payment currency for the cover.
Query Parameters
Name | Type | Description |
---|---|---|
currency | string | The currency you use to make the payment. Value (Ethereum): ETH, USDC, USDT and DAI Value (BSC): BNB, USDC, USDT and BUSD Value (Polygon): MATIC, USDC, USDT and DAI Value (Avalanche): AVAX, USDC, USDT and DAI |
Specify the product details
GET
https://app.insurace.io/coverage/cart?id=1&amount=1.5&day=30
Each product has 3 parameters: id, amount and day. For each Cover, it can contain 1 or more products.
Query Parameters
Name | Type | Description |
---|---|---|
id | integer | The product id can be retrieved from: |
amount | number | The Cover Amount you wish to be covered. |
day | integer | The Cover Period (days) you wish to be covered. Value between 15 to 365 |
Example
Ethererum
Refer & Earn
Specify referral code
GET
https://app.insurace.io/coverage/cart?referrer=some-referral-code
Specify the referrer code. - When buying cover uses the referral code, both referrer and referee will get $INSURE rewards. * Note: For details, please check our Refer & Earn Program.
Path Parameters
Name | Type | Description |
---|---|---|
referrer | string | The referral code It can be generated on the referral page in InsurAce.io dApp. |
Example
Ethereum
Last updated