Skip to main content

Noesis

Struct Noesis 

Source
pub struct Noesis { /* private fields */ }
Expand description

Noesis API client.

Cheap to clone — shares the underlying reqwest::Client connection pool.

Implementations§

Source§

impl Noesis

Source

pub fn new(api_key: impl Into<String>) -> Self

Create a client with the default base URL (https://noesisapi.dev).

Source

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.

Source

pub async fn token_preview(&self, mint: &str) -> Result<Value>

Flat token metadata + price + pools. Light rate limit.

Source

pub async fn token_preview_on(&self, mint: &str, chain: Chain) -> Result<Value>

Like token_preview, explicit chain.

Source

pub async fn token_scan(&self, mint: &str) -> Result<Value>

Full scan: top holders, bundles, fresh wallets, dev profile. Heavy rate limit.

Source

pub async fn token_scan_on(&self, mint: &str, chain: Chain) -> Result<Value>

Like token_scan, explicit chain.

Source

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.

Source

pub async fn token_top_holders(&self, mint: &str) -> Result<Value>

Top 20 holders with labels and tags. Heavy rate limit.

Source

pub async fn token_holders( &self, mint: &str, opts: HoldersOptions, ) -> Result<Value>

Paginated full holders list (up to 1000 per page). Light rate limit.

Source

pub async fn token_bundles(&self, mint: &str) -> Result<Value>

Bundle (sybil buy) detection. Heavy rate limit.

Source

pub async fn token_fresh_wallets(&self, mint: &str) -> Result<Value>

Fresh wallet detection — wallets with no prior on-chain activity. Heavy rate limit.

Source

pub async fn token_team_supply(&self, mint: &str, chain: Chain) -> Result<Value>

Team/insider supply detection via funding-pattern clustering. Heavy rate limit.

Source

pub async fn token_entry_price(&self, mint: &str, chain: Chain) -> Result<Value>

Holder entry prices, realized & unrealized PnL. Heavy rate limit.

Source

pub async fn token_dev_profile(&self, mint: &str) -> Result<Value>

Token creator profile — wallet data, prior coins, funding source. Heavy rate limit.

Source

pub async fn token_best_traders(&self, mint: &str) -> Result<Value>

Most profitable traders, enriched with labels. Heavy rate limit.

Source

pub async fn token_early_buyers(&self, mint: &str, hours: f32) -> Result<Value>

Buyers within hours after token creation. Heavy rate limit.

Source

pub async fn wallet_profile(&self, addr: &str) -> Result<Value>

Full wallet profile — PnL, holdings, labels, funding. Heavy rate limit.

Source

pub async fn wallet_history( &self, addr: &str, opts: HistoryOptions, ) -> Result<Value>

Parsed transaction history with optional filtering & pagination. Light rate limit.

Source

pub async fn wallet_connections( &self, addr: &str, opts: ConnectionsOptions, ) -> Result<Value>

SOL transfer connections (counterparties with net flow). Heavy rate limit.

Source

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.

Source

pub async fn cross_holders(&self, tokens: &[String]) -> Result<Value>

Wallets holding all specified tokens. Heavy rate limit.

Source

pub async fn cross_traders(&self, tokens: &[String]) -> Result<Value>

Wallets that traded all specified tokens. Heavy rate limit.

Source

pub async fn chain_status(&self) -> Result<Value>

Current slot, block height, epoch info. Light rate limit.

Source

pub async fn account(&self, addr: &str) -> Result<Value>

Account data (owner, lamports, data) for a single address. Light rate limit.

Source

pub async fn accounts_batch(&self, addresses: &[String]) -> Result<Value>

Batch account data for up to 100 addresses. Light rate limit.

Source

pub async fn parse_transactions(&self, signatures: &[String]) -> Result<Value>

Parse up to 100 transaction signatures into human-readable events. Light rate limit.

Source

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.

Source

pub fn stream_pumpfun_migrations( &self, ) -> impl Stream<Item = Result<Value>> + 'static

Live stream of PumpFun bonding-curve migrations (graduations).

Source

pub fn stream_raydium_new_pools( &self, ) -> impl Stream<Item = Result<Value>> + 'static

Live stream of new Raydium pools.

Source

pub fn stream_meteora_new_pools( &self, ) -> impl Stream<Item = Result<Value>> + 'static

Live stream of new Meteora pools.

Trait Implementations§

Source§

impl Clone for Noesis

Source§

fn clone(&self) -> Noesis

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more