A TypeScript-based data provider for fetching and managing stake pool information from various Solana liquid staking protocols including Marinade, Jito, Blaze, MarginFi, and JPool.
- Fetches APY and TVL data from multiple liquid staking protocols
- Implements caching mechanism to reduce API calls
- Includes retry mechanism for improved reliability
- TypeScript support for better development experience
Using pnpm:
pnpm install
Using yarn:
yarn install
Using pnpm:
pnpm run build
Using yarn:
yarn build
Using pnpm:
pnpm run dev
Using yarn:
yarn dev
Using pnpm:
pnpm run start
Using yarn:
yarn start
The server runs on port 6666 by default and provides the following endpoints:
GET /health
- Health check endpointGET /api/stake-pool-info
- Get information about all stake pools including APY, TVL, and other metricsGET /api/stake-pool-list
- Get a list of supported stake pools