pub struct QuicknodeSdk {
pub admin: AdminApiClient,
pub streams: StreamsApiClient,
pub webhooks: WebhooksApiClient,
pub kvstore: KvStoreApiClient,
pub sql: SqlApiClient,
}Expand description
Top-level entry point for the Quicknode SDK. Holds sub-clients for each product area; all share a single HTTP client and API key.
Fields§
§admin: AdminApiClientAdmin API client: manages endpoints, tags, teams, billing, usage, metrics, security, and rate limits.
streams: StreamsApiClientStreams API client: creates and manages blockchain data streams.
webhooks: WebhooksApiClientWebhooks API client: creates and manages filter-template webhooks.
kvstore: KvStoreApiClientKey-Value Store client: manages sets (single values) and lists (ordered collections) under string keys.
sql: SqlApiClientSQL Explorer client: executes SQL queries against indexed blockchain data and fetches the database schema.
Implementations§
Source§impl QuicknodeSdk
impl QuicknodeSdk
Sourcepub fn new(config: &SdkFullConfig) -> Result<Self, SdkError>
pub fn new(config: &SdkFullConfig) -> Result<Self, SdkError>
Creates a new SDK instance from an explicit configuration.
Sourcepub fn new_with_client_info(
config: &SdkFullConfig,
client_info: Option<ClientInfo>,
) -> Result<Self, SdkError>
pub fn new_with_client_info( config: &SdkFullConfig, client_info: Option<ClientInfo>, ) -> Result<Self, SdkError>
Creates a new SDK instance, attributing the auto-generated User-Agent
to a specific language binding. Used internally by Python/Node/Ruby
binding crates.
Sourcepub fn from_env() -> Result<Self, SdkError>
pub fn from_env() -> Result<Self, SdkError>
Creates a new SDK instance using configuration from environment variables.
Sourcepub fn from_env_with_client_info(
client_info: Option<ClientInfo>,
) -> Result<Self, SdkError>
pub fn from_env_with_client_info( client_info: Option<ClientInfo>, ) -> Result<Self, SdkError>
Same as Self::from_env but with a binding-supplied ClientInfo.