Start adding json rpc wrapper

This commit is contained in:
Paul Hauner
2021-09-24 09:20:51 +10:00
parent 08308c0000
commit cb5e33d53c
2 changed files with 76 additions and 2 deletions

View File

@@ -15,6 +15,9 @@ pub enum Error {
RequestFailed(String),
JsonRpc(RpcError),
Json(serde_json::Error),
ServerMessage(String),
Eip155Error,
NoResultField,
}
impl From<reqwest::Error> for Error {