Registry / networking / near-jsonrpc-client

near-jsonrpc-client

JSON →
library0.21.1rscratesunverified

Provides a lower-level API for interacting with the NEAR Protocol blockchain via JSON-RPC.

# Cargo.toml [dependencies] near-jsonrpc-client = "0.21.1"
INSTALL
IMPORT
SIG · NEAR-JSONRPC-CLIEN
N
near-jsonrpc-client
networkingrustv0.21.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonRpcClient
use near_jsonrpc_client::JsonRpcClient;

Connects to a NEAR RPC endpoint.

use near_jsonrpc_client::JsonRpcClient; let client = JsonRpcClient::connect("https://rpc.mainnet.near.org");
Debug
Known issues
gotchaThis is a lower-level client; higher-level abstractions like near-api-rs may be easier for common tasks.
fix
Consider using near-api-rs for typical NEAR interactions.
affects: >=0.20.0
Upgrade
Version history
0.21.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
near-jsonrpc-client — cargo add near-jsonrpc-client · libregistry