Last active
April 29, 2023 13:56
-
-
Save Enigo/967a3bc4950a17c536d996e74203a117 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Deserialize, Debug)] | |
pub struct Transaction { | |
pub status: String, | |
pub result: Option<Vec<TheResult>>, | |
} | |
#[derive(Deserialize, Debug)] | |
pub struct TheResult { | |
pub hash: String, | |
pub from: String, | |
pub to: String, | |
pub value: String, | |
#[serde(rename = "isError")] | |
pub is_error: String, | |
pub input: String, | |
#[serde(rename = "methodId")] | |
pub method_id: String, | |
#[serde(rename = "functionName")] | |
pub function_name: String, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment