InsurAce Protocol
  • Welcome to InsurAce.io
  • V2 Updates
  • About InsurAce.io
    • Overview
      • Why InsurAce.io
      • What is InsurAce.io
      • Use Cases
      • Architecture
    • Cover Products
      • Product List
      • Smart Contract Vulnerability Cover
      • Stablecoin De-Peg Cover
      • Ethereum Slashing Cover
      • Bridge Cover
        • LI.FI Bridge Cover
      • Custodian Risk Cover
      • Post-Audit Cover
      • Risk Transfer Cover
      • Bundled Cover [Not Avaliable]
    • Protocol
      • Pricing Models
      • Capital Management
      • Risk Assessment
        • Security Rating Methodology
      • Governance
        • Data Publications
      • Investment
      • Mining
        • Staking Mechanisms
        • Staking Risks
    • Tokenomics
      • Token Buyback
    • Security
    • Roadmap
    • Coverage Request
      • Apply to be Listed
    • Refer & Earn Program
      • Direct Sharing
      • Customize Referral Link
    • FAQs
    • Disclaimers
    • Contact Us
      • Twitter
  • Documentation
    • User Guide
      • Buy Cover Guides
        • General Guide
        • Ethereum Slashing Cover Guide
      • Claim Guides
        • General Guide
        • Ethereum Slashing Cover Guide
        • Evidence Checklist
      • Cancel cover
      • Launch DAPP & Connect Wallet
        • MetaMask Installation & Configuration
      • Claim Assessors
      • Advisory Board
      • Underwriting Mining (Stake & Unstake)
      • Liquidity Mining
        • UniSwap
      • Harvest Rewards
      • Token Bridge
        • Step 1: MetaMask installation & Configuration
        • Step 2: Bridge
        • Step 3: View Bridging Status
        • Step 4: Check Proof of Assets
      • Governance
        • Get veINSUR and veNFT
        • Unlock and Harvest
        • Submit Proposal
        • Cancel Proposal
        • Vote Proposal
        • Harvest Voting Rewards
        • Mining Pool Gauge
        • Cover Capacity Gauge
        • Committee Member Nomination
        • Committee Member Removal
    • Claim Records
    • Whitepaper
  • Developer Reference
    • Service Integration
      • APIs for service integration
      • Smart Contract ABI
      • UI integration
      • InsurAce.io APIs Docs
    • Smart Contract Addresses
  • PR & Marketing
    • Branding & Media Kit
  • External Links
    • Website
Powered by GitBook
On this page
  • Cross Chain
  • Specify Network Type
  • Buy Cover
  • Specify the payment currency
  • Specify the product details
  • Example
  • Refer & Earn
  • Specify referral code
  • Example

Was this helpful?

  1. Developer Reference
  2. Service Integration

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: https://docs.insurace.io/landing-page/documentation/protocol-design/product-design/product-list

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

ETH

Product ID

Cover Amount

Cover Period

1

1.5 ETH

30 Days

2

3.0 ETH

30 Days

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

ETH

Product ID

Cover Amount

Cover Period

1

1.5 ETH

30 DAYS

2

2.0 ETH

10 DAYS

3

3.0 ETH

60 DAYS

1234567890

PreviousAPIs for service integrationNextSmart Contract Addresses

Last updated 4 months ago

Was this helpful?

URL:

URL:

https://app.insurace.io/Insurance/Cart?chain=ETH&currency=ETH&id=1&id=2&amount=1.5&amount=3&day=30&day=30
https://app.insurace.io/coverage/cart?chain=ETH&currency=ETH&id=1&amount=1.5&day=30&id=2&amount=2&day=40&id=3&amount=3&day=60&referrer=1234567890