gleeth/rpc/response_utils

Values

pub fn decode_rpc_response(
  body: String,
  result_decoder: decode.Decoder(a),
) -> Result(a, types.GleethError)
pub fn make_decoded_request(
  rpc_url: String,
  method: types.EthMethod,
  params: List(json.Json),
  decoder: decode.Decoder(a),
) -> Result(a, types.GleethError)
pub fn make_decoded_request_with_provider(
  p: provider.Provider,
  method: types.EthMethod,
  params: List(json.Json),
  decoder: decode.Decoder(a),
) -> Result(a, types.GleethError)
pub fn make_string_request(
  rpc_url: String,
  method: types.EthMethod,
  params: List(json.Json),
) -> Result(String, types.GleethError)
pub fn make_string_request_with_provider(
  p: provider.Provider,
  method: types.EthMethod,
  params: List(json.Json),
) -> Result(String, types.GleethError)
Search Document