Solana RPC provides client types and methods for interacting with the Solana JSON RPC API.
# Cargo.toml
[dependencies]
solana-rpc = "4.0.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an RPC client and fetches the current slot.
Add `features = ["full"]` to your Cargo.toml dependency.
No dependency data recorded yet.