View Source Kadena.Chainweb.P2P.BlockHash (Kadena v0.19.1)
BlockHash endpoints implementation for P2P API.
Link to this section Summary
Link to this section Types
@type error() :: {:error, Kadena.Chainweb.Error.t()}
@type json() :: String.t()
@type network_opts() :: Keyword.t()
@type payload() :: Keyword.t()
@type response() :: Kadena.Chainweb.P2P.BlockHashResponse.t() | error()
Link to this section Functions
@spec retrieve(network_opts :: network_opts()) :: response()
@spec retrieve_branches(payload :: payload(), network_opts :: network_opts()) :: response()