Struct chainseeker::Client [−][src]
pub struct Client { /* fields omitted */ }
Implementations
GET the REST endpoint and parse it as a JSON.
PUT the REST endpoint and parse it as a JSON.
pub async fn block_summary(
&self,
offset: u32,
limit: u32
) -> Result<Vec<BlockSummary>, Error>
pub async fn block_with_txids<T: ToString>(
&self,
hash_or_height: T
) -> Result<BlockWithTxids, Error>
pub async fn block_with_txs<T: ToString>(
&self,
hash_or_height: T
) -> Result<BlockWithTxs, Error>
pub async fn block_header<T: ToString>(
&self,
hash_or_height: T
) -> Result<BlockHeader, Error>
pub async fn rich_list_addr_rank(
&self,
script_or_address: &str
) -> Result<RichListRank, Error>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more