macro_rules! jsonify_rpc {
($state:expr, $request:expr) => { ... };
}Expand description
Sends an RPC request and wraps the response in JSON.
Returns Result<Json<T>, AppError> where T is the RPC response type.
macro_rules! jsonify_rpc {
($state:expr, $request:expr) => { ... };
}Sends an RPC request and wraps the response in JSON.
Returns Result<Json<T>, AppError> where T is the RPC response type.