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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Contextimpl UnwindSafe for ContextBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more