Liquidity API
Sponsor liquidity pool endpoints
Liquidity API
Interact with the StepFi liquidity pool.
Get Pool Info
GET /api/v1/liquidity/pool
Response:
{
"totalDeposits": 48320000000,
"totalShares": 4710000000,
"sharePrice": 10260000,
"availableLiquidity": 31200000000,
"lockedLiquidity": 17120000000,
"apy": 12.4
}
Deposit
POST /api/v1/liquidity/deposit
Authorization: Bearer {token}
Content-Type: application/json
{
"amount": 500000000000
}
Returns unsigned XDR for sponsor to sign.