MCPcopy Create free account
hub / github.com/Commit-Boost/commit-boost-client / get_header_url

Method get_header_url

crates/common/src/pbs/relay.rs:111–121  ·  view source on GitHub ↗
(
        &self,
        slot: u64,
        parent_hash: &B256,
        validator_pubkey: &BlsPublicKey,
    )

Source from the content-addressed store, hash-verified

109 }
110
111 pub fn get_header_url(
112 &self,
113 slot: u64,
114 parent_hash: &B256,
115 validator_pubkey: &BlsPublicKey,
116 ) -> Result<Url, PbsError> {
117 self.builder_api_url(
118 &format!("/header/{slot}/{parent_hash}/{validator_pubkey}"),
119 BuilderApiVersion::V1,
120 )
121 }
122
123 pub fn get_status_url(&self) -> Result<Url, PbsError> {
124 self.builder_api_url(GET_STATUS_PATH, BuilderApiVersion::V1)

Callers 5

mainFunction · 0.80
do_get_headerMethod · 0.80
send_timed_get_headerFunction · 0.80

Calls 1

builder_api_urlMethod · 0.80