pub mod aptos; pub mod bitcoin; pub mod evm; pub mod starknet; // Helper macro to implement ToRpcParams for types that implement serde::Serialize. macro_rules! to_rpc_params_impl { () => { fn to_rpc_params( self, ) -> Result>, serde_json::Error> { let json = serde_json::value::to_raw_value(&self)?; Ok(Some(json)) } }; } pub(crate) use to_rpc_params_impl;