API ReferenceUser docs

Kiln provides a diverse suite of earn products for your platform like pooled ETH staking, tokenised ETH validators, defi lending monetization and a lot more coming.

The goal of the Kiln Connect API is to help you

  1. facilitate the integration of any existing and future yield products supported by Kiln
  2. enable deposits from any position to these products on your platform

It is divided in 2 categories of routes, one for transaction crafting of any deposit / withdrawal transaction, and one for unified reporting, enabling you to focus on the UI and not on the integration complexities of each product.


💡

You don't want to build your own UI?

Kiln Widget is a whitelabel UI that is already integrating all these capabilities, you can embed it on your platform as an iFrame and be ready to offer these services in minutes.

Even if you want to build your own UI, Kiln widget can be an easy way to get started before you release your integration!


What flows will you be able to create

Display all positions

Showcase to your users his positions in your deployed Kiln earn products, and which assets he is holding that could be deposited into these products (CTA).


Help the user to choose which product to deposit on

Showcase which products the user can deposit to, and help him choose by APY, Asset, Protocol etc.

Guide the user to deposit from any initial positions, with a simple step by step flow

Once user chose which product he wants to deposit to, guide him through all the transactions he needs to do to achieve the deposit from any initial position (different asset, different chain, even a position on an existing product).


Connecting the pieces

In this guide, we are going to use 5 endpoints of Kiln Connect to achieve these flows, if you already have some of them in-house, you can replace some parts with your own stack, it is meant to be flexible.