Getting started
A native integration enables you to embed the entire cover purchase flow directly within your platform's interface. Users complete all steps, from getting a quote to purchasing coverage within your platform.
Integration overview
Native integration is supported on the following chains: Ethereum, Base, Arbitrum, Optimism, Polygon.
Request premium options for cover on a specific product (protocol, asset or ecosystem) given an amount and duration using the OpenCover API.
The API response will include cryptographically signed quotes in all supported currencies (e.g. USDC, cbBTC, ETH). These signed quotes are required for the onchain submission step.
Approve token transfer (if applicable)
If the premium is to be paid using an ERC20 token (like USDC or cbBTC), the user must first execute an approve transaction. This grants the OpenCover Quote contract permission to collect the premium amount from their wallet.
Submit the quote:
The user submits the signed quote to the OpenCover Quote contract. This transaction executes the purchase and transfers the approved ERC20 premium (if applicable).
See an example transaction on Base.
Submitted quotes are fulfilled by OpenCover within 24 hours. For more details, please see our Quote lifecycle page.
Show users their cover purchase history and active coverage in real-time via OpenCover's easy-to-use API.
Enable cover notifications via API (optional)
Offer users the ability to receive email notifications when their cover becomes active or is about to expire.
The next pages will guide you through each step with code examples.
Last updated

