Struct bitcoin_rest::Context [−][src]
pub struct Context { /* fields omitted */ }Expand description
bitcoin_rest context.
Implementations
Call the REST endpoint and parse it as a JSON.
Call the REST endpoint (binary).
Call the REST endpoint (hex).
Call the /tx endpoint.
Call the /block endpoint.
pub async fn block_notxdetails(
&self,
blockhash: &BlockHash
) -> Result<BlockHeader, Box<dyn Error>>
pub async fn block_notxdetails(
&self,
blockhash: &BlockHash
) -> Result<BlockHeader, Box<dyn Error>>Call the /block/notxdetails endpoint.
Call the /headers endpoint.
Call the /blockhashbyheight endpoint.
Call the /chaininfo endpoint.
Auto Trait Implementations
impl RefUnwindSafe for Contextimpl UnwindSafe for Context