Registry / networking / near-jsonrpc-primitives

near-jsonrpc-primitives

JSON →
library0.36.0rscratesunverified

Structures for NEAR JSON RPC requests, responses, and error types.

# Cargo.toml [dependencies] near-jsonrpc-primitives = "0.36.0"
INSTALL
IMPORT
SIG · NEAR-JSONRPC-PRIMI
N
near-jsonrpc-primitives
networkingrustv0.36.0
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.

RpcRequest
use near_jsonrpc_primitives::types::RpcRequest;

Create a JSON-RPC request for NEAR.

use near_jsonrpc_primitives::types::RpcRequest; fn main() { let request = RpcRequest::new("method_name", serde_json::json!({})); println!("Request: {:?}", request); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.36.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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