Skip to main content

Crate wp_solana_jupiter_lend_sdk

Crate wp_solana_jupiter_lend_sdk 

Source
Expand description

Jupiter Lend read-only SDK.

High-level async readers for the Jupiter Lend protocol, mirroring the public surface of @jup-ag/lend-read. Wraps the codama-generated *-client crates and the pure-math lend-core crate behind an Arc<solana_client::nonblocking::rpc_client::RpcClient>.

Re-exports§

pub use client::Client;
pub use error::AccountNotFoundError;
pub use error::DecodeError;
pub use error::Result;
pub use error::SdkError;
pub use lending::LendingReader as Lending;
pub use lending_rewards::LendingRewardsRateModelReader as LendingRewards;
pub use liquidity::LiquidityReader as Liquidity;
pub use vault::VaultReader as Vault;

Modules§

client
Unified entry point composing the three reader modules.
error
fetch
Multi-account fetch helpers with automatic chunking + parallel sub-requests. Mirrors lend-read’s fetchAccountsInfo (index.mjs:3157-3173).
lending
Read-only reader for the Jupiter Lend Lending (jlToken) program.
lending_rewards
Lending-rewards admin reader.
liquidity
Read-only reader for the Jupiter Lend Liquidity program. Mirrors the public surface of @jup-ag/lend-read’s Liquidity class.
vault
Read-only reader for the Jupiter Lend Vaults program.

Constants§

DEFAULT_RPC_URL
Default mainnet RPC URL.