pub struct Noesis { /* private fields */ }Expand description
Noesis API client.
Cheap to clone — shares the underlying reqwest::Client connection pool.
Implementations§
Source§impl Noesis
impl Noesis
Sourcepub fn new(api_key: impl Into<String>) -> Self
pub fn new(api_key: impl Into<String>) -> Self
Create a client with the default base URL (https://noesisapi.dev).
Sourcepub fn with_base_url(
api_key: impl Into<String>,
base_url: impl Into<String>,
) -> Self
pub fn with_base_url( api_key: impl Into<String>, base_url: impl Into<String>, ) -> Self
Create a client with a custom base URL — useful for staging or a self-hosted deployment.
Sourcepub async fn token_preview(&self, mint: &str) -> Result<Value>
pub async fn token_preview(&self, mint: &str) -> Result<Value>
Flat token metadata + price + pools. Light rate limit.
Sourcepub async fn token_preview_on(&self, mint: &str, chain: Chain) -> Result<Value>
pub async fn token_preview_on(&self, mint: &str, chain: Chain) -> Result<Value>
Like token_preview, explicit chain.
Sourcepub async fn token_scan(&self, mint: &str) -> Result<Value>
pub async fn token_scan(&self, mint: &str) -> Result<Value>
Full scan: top holders, bundles, fresh wallets, dev profile. Heavy rate limit.
Sourcepub async fn token_scan_on(&self, mint: &str, chain: Chain) -> Result<Value>
pub async fn token_scan_on(&self, mint: &str, chain: Chain) -> Result<Value>
Like token_scan, explicit chain.
Sourcepub async fn token_info(&self, mint: &str, chain: Chain) -> Result<Value>
pub async fn token_info(&self, mint: &str, chain: Chain) -> Result<Value>
Detailed on-chain token metadata — authorities, supply, raw DAS asset. Light rate limit.
Sourcepub async fn token_top_holders(&self, mint: &str) -> Result<Value>
pub async fn token_top_holders(&self, mint: &str) -> Result<Value>
Top 20 holders with labels and tags. Heavy rate limit.
Sourcepub async fn token_holders(
&self,
mint: &str,
opts: HoldersOptions,
) -> Result<Value>
pub async fn token_holders( &self, mint: &str, opts: HoldersOptions, ) -> Result<Value>
Paginated full holders list (up to 1000 per page). Light rate limit.
Sourcepub async fn token_bundles(&self, mint: &str) -> Result<Value>
pub async fn token_bundles(&self, mint: &str) -> Result<Value>
Bundle (sybil buy) detection. Heavy rate limit.
Sourcepub async fn token_fresh_wallets(&self, mint: &str) -> Result<Value>
pub async fn token_fresh_wallets(&self, mint: &str) -> Result<Value>
Fresh wallet detection — wallets with no prior on-chain activity. Heavy rate limit.
Sourcepub async fn token_team_supply(&self, mint: &str, chain: Chain) -> Result<Value>
pub async fn token_team_supply(&self, mint: &str, chain: Chain) -> Result<Value>
Team/insider supply detection via funding-pattern clustering. Heavy rate limit.
Sourcepub async fn token_entry_price(&self, mint: &str, chain: Chain) -> Result<Value>
pub async fn token_entry_price(&self, mint: &str, chain: Chain) -> Result<Value>
Holder entry prices, realized & unrealized PnL. Heavy rate limit.
Sourcepub async fn token_dev_profile(&self, mint: &str) -> Result<Value>
pub async fn token_dev_profile(&self, mint: &str) -> Result<Value>
Token creator profile — wallet data, prior coins, funding source. Heavy rate limit.
Sourcepub async fn token_best_traders(&self, mint: &str) -> Result<Value>
pub async fn token_best_traders(&self, mint: &str) -> Result<Value>
Most profitable traders, enriched with labels. Heavy rate limit.
Sourcepub async fn token_early_buyers(&self, mint: &str, hours: f32) -> Result<Value>
pub async fn token_early_buyers(&self, mint: &str, hours: f32) -> Result<Value>
Buyers within hours after token creation. Heavy rate limit.
Sourcepub async fn wallet_profile(&self, addr: &str) -> Result<Value>
pub async fn wallet_profile(&self, addr: &str) -> Result<Value>
Full wallet profile — PnL, holdings, labels, funding. Heavy rate limit.
Sourcepub async fn wallet_history(
&self,
addr: &str,
opts: HistoryOptions,
) -> Result<Value>
pub async fn wallet_history( &self, addr: &str, opts: HistoryOptions, ) -> Result<Value>
Parsed transaction history with optional filtering & pagination. Light rate limit.
Sourcepub async fn wallet_connections(
&self,
addr: &str,
opts: ConnectionsOptions,
) -> Result<Value>
pub async fn wallet_connections( &self, addr: &str, opts: ConnectionsOptions, ) -> Result<Value>
SOL transfer connections (counterparties with net flow). Heavy rate limit.
Sourcepub async fn wallets_batch_identity(
&self,
addresses: &[String],
) -> Result<Value>
pub async fn wallets_batch_identity( &self, addresses: &[String], ) -> Result<Value>
Batch identity lookup — labels/tags/KOL info for up to 100 wallets. Light rate limit.
Sourcepub async fn cross_holders(&self, tokens: &[String]) -> Result<Value>
pub async fn cross_holders(&self, tokens: &[String]) -> Result<Value>
Wallets holding all specified tokens. Heavy rate limit.
Sourcepub async fn cross_traders(&self, tokens: &[String]) -> Result<Value>
pub async fn cross_traders(&self, tokens: &[String]) -> Result<Value>
Wallets that traded all specified tokens. Heavy rate limit.
Sourcepub async fn chain_status(&self) -> Result<Value>
pub async fn chain_status(&self) -> Result<Value>
Current slot, block height, epoch info. Light rate limit.
Sourcepub async fn account(&self, addr: &str) -> Result<Value>
pub async fn account(&self, addr: &str) -> Result<Value>
Account data (owner, lamports, data) for a single address. Light rate limit.
Sourcepub async fn accounts_batch(&self, addresses: &[String]) -> Result<Value>
pub async fn accounts_batch(&self, addresses: &[String]) -> Result<Value>
Batch account data for up to 100 addresses. Light rate limit.
Sourcepub async fn parse_transactions(&self, signatures: &[String]) -> Result<Value>
pub async fn parse_transactions(&self, signatures: &[String]) -> Result<Value>
Parse up to 100 transaction signatures into human-readable events. Light rate limit.
Sourcepub fn stream_pumpfun_new_tokens(
&self,
) -> impl Stream<Item = Result<Value>> + 'static
pub fn stream_pumpfun_new_tokens( &self, ) -> impl Stream<Item = Result<Value>> + 'static
Live stream of new PumpFun token creations.
Yields one Value per SSE event. Consume with
futures_util::StreamExt::next or tokio_stream::StreamExt. Auth
errors and transport failures surface as Err items — the stream
ends after the first such error.
Sourcepub fn stream_pumpfun_migrations(
&self,
) -> impl Stream<Item = Result<Value>> + 'static
pub fn stream_pumpfun_migrations( &self, ) -> impl Stream<Item = Result<Value>> + 'static
Live stream of PumpFun bonding-curve migrations (graduations).
Sourcepub fn stream_raydium_new_pools(
&self,
) -> impl Stream<Item = Result<Value>> + 'static
pub fn stream_raydium_new_pools( &self, ) -> impl Stream<Item = Result<Value>> + 'static
Live stream of new Raydium pools.
Sourcepub fn stream_meteora_new_pools(
&self,
) -> impl Stream<Item = Result<Value>> + 'static
pub fn stream_meteora_new_pools( &self, ) -> impl Stream<Item = Result<Value>> + 'static
Live stream of new Meteora pools.