Skip to main content

Crate noesis_api

Crate noesis_api 

Source
Expand description

Official Rust SDK for the Noesis on-chain intelligence API — Solana token & wallet analytics.

All endpoints return serde_json::Value. Deserialize into your own domain types as needed — the SDK is deliberately schema-agnostic so new response fields don’t break compilation.

Get an API key at noesisapi.dev/keys.

§Example

use noesis_api::Noesis;

let client = Noesis::new("se_...");

let preview = client.token_preview("So11111111111111111111111111111111111111112").await?;
println!("{preview:#}");

let bundles = client.token_bundles("<MINT>").await?;
println!("{bundles:#}");

§Rate limits

Endpoints are tagged Light (1 req/sec), Heavy (1 req / 5 sec), or VeryHeavy (1 req/min, internal only). The API returns HTTP 429 when you exceed the limit; this surfaces as Error::RateLimit with a typed retry_after_seconds field.

Structs§

ConnectionsOptions
Optional filters for Noesis::wallet_connections.
HistoryOptions
Optional filters for Noesis::wallet_history.
HoldersOptions
Optional filters for Noesis::token_holders.
Noesis
Noesis API client.

Enums§

Chain
Chain identifier. Noesis supports Solana and Base.
Error
Errors returned by the Noesis SDK.
TxSource
Source-protocol filter for Noesis::wallet_history.
TxType
Transaction type filter for Noesis::wallet_history.

Type Aliases§

Result
Convenience Result alias with the crate error type.