neo3 1.0.8

Production-ready Rust SDK for Neo N3 blockchain with high-level API, unified error handling, and enterprise features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone, PartialEq, Eq, Hash, Debug)]
pub struct States {
	#[serde(rename = "firstProof")]
	pub first_proof: Option<String>,
	#[serde(rename = "lastProof")]
	pub last_proof: Option<String>,
	pub truncated: bool,
	#[serde(default)]
	pub results: Vec<StateResult>,
}

#[derive(Serialize, Deserialize, Clone, PartialEq, Eq, Hash, Debug)]
pub struct StateResult {
	pub key: String,
	pub value: String,
}