Lido API - Liquid Staking

Integrate Lido's liquid staking solutions into your Web3 applications

What is Lido?

Lido is the leading liquid staking protocol, allowing users to stake their ETH and receive stETH tokens while maintaining liquidity. The Lido API provides programmatic access to staking operations.

Key Features

API Integration

// Get stETH balance
const stETH = await contract.balanceOf(userAddress);

// Submit stake
const tx = await contract.submit({ value: web3.utils.toWei('1') });

// Get stETH by ETH
const stETHAmount = await contract.getSharesByPooledEth(ethAmount);

Start Building

Use Lido to add liquid staking to your DeFi applications.

Get Started with OKX