Registry / serialization / bitcoincore-rpc-json

bitcoincore-rpc-json

JSON →
library0.19.0rscratesunverified

JSON-enabled type structs for the bitcoincore-rpc crate.

# Cargo.toml [dependencies] bitcoincore-rpc-json = "0.19.0"
INSTALL
IMPORT
SIG · BITCOINCORE-RPC-JS
B
bitcoincore-rpc-json
serializationrustv0.19.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.

GetBlockchainInfoResult
use bitcoincore_rpc_json::GetBlockchainInfoResult;

Deserializes a blockchain info response from Bitcoin Core RPC.

use bitcoincore_rpc_json::GetBlockchainInfoResult; let info: GetBlockchainInfoResult = serde_json::from_str(r#"{"chain":"main","blocks":0}"#).unwrap(); println!("Chain: {}", info.chain);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.19.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
bitcoincore-rpc-json — cargo add bitcoincore-rpc-json · libregistry