use serde::{ Serialize, Deserialize };

#[derive(Serialize, Deserialize)]
pub struct InvokeRequest {
    hash: String,
    method: String,
    params: String, // JSON, empty: []
}

#[derive(Serialize, Deserialize)]
pub struct InvokeResponse {
    request_id: String,
    hash: String,
    method: String,
    result: String,
}

