Skip to main content
POST
Deposits the market’s borrow asset into the lending pool. The depositor receives LP shares proportional to their contribution, and those shares accrue value as borrowers pay interest. Two transactions are required: an ERC-20 approval, then the deposit. Both come back as ordered steps.

Path Parameters

string
required
Market ID.

Body Parameters

string
required
Amount to deposit as a decimal string, for example "250000". Denominated in the market’s borrow asset and parsed at its decimals.
string
Hash of the transaction you broadcast for this operation. Send it to confirm the transaction and record the result. Omit it to receive the calldata.

Response Fields

object
The first deposit into an empty pool must be at least 1,000,000,000 base units of the borrow asset. That is 1,000 USDC or USDT for a 6-decimal asset. The floor exists to prevent share price manipulation against an empty pool. Subsequent deposits have no minimum beyond the token’s own precision.
The minimum deposit is checked when the calldata is built, not when you confirm. Broadcasting an undersized first deposit reverts on-chain rather than returning BELOW_MIN_DEPOSIT. Check the pool’s totalShares through Get Market Metrics if you need to detect an empty pool ahead of time.
Depositors receive shares at the current share price, which already includes accrued interest. Depositing does not dilute existing providers.