Skip to main content

Introduction

A configured client authenticates hosted requests and selects the Solana network. Use one in the server runtime that owns your integration. Query methods return data; preparation methods return transactions for your application to sign. Install the latest package from the Developer SDK homepage.

Examples

Initialize clients

Create and reuse the clients in your server runtime.

Bind an existing wallet

Binding a handle makes no hosted request. The config address identifies the wallet; add a requester only when preparing a write.

Bind an IdP session

After your application verifies its IdP session, use its addresses and requester to bind a wallet handle. This helper does not authenticate the session.

Manage the Python client lifetime

Use a context manager for a bounded task, or call aclose() during application shutdown. Wallet handles share their parent client’s lifetime.

Configure eligible retries

Set retry limits when your application needs a different policy. Operation-specific exclusions still apply, such as Ramp transfer preparation/submission.
TypeScript retry delays are milliseconds; Python retry delays and inactivity timeout are seconds. Every admitted retry counts toward the relevant usage allowance.

Input

Output

Rust

Use Rust 1.87 or later. Set package.rust-version = "1.87" and workspace.resolver = "3" in Cargo.toml; commit Cargo.lock. Run snippets inside an async, Result-returning function with a runtime such as Tokio. Add the crates directly imported by your examples. Ramp uses its own client configuration.

Errors