1 2 3 4 5 6 7 8 9 10 11 12
use crate::types::encoded_blocks::EncodedBlock; use candid::CandidType; use serde::Deserialize; pub type Args = Vec<EncodedBlock>; #[derive(CandidType, Deserialize, Debug)] pub enum Response { Success, Error(String), }