Docs.rs
  • chainhook-sdk-0.3.0
    • chainhook-sdk 0.3.0
    • Docs.rs crate page
    • GPL-3.0
    • Links
    • crates.io
    • Source
    • Owners
    • lgalabru
    • hugocaillard
    • MicaiahReid
    • Dependencies
      • anyhow ^1.0.56 normal
      • base58 ^0.2.0 normal
      • base64 ^0.13.0 normal
      • bitcoincore-rpc ^0.16.0 normal
      • bitcoincore-rpc-json ^0.16.0 normal
      • chainhook-types ^1.0.6 normal
      • chrono ^0.4.19 normal
      • clap ^3.1.6 normal
      • clap_generate ^3.0.3 normal
      • clarinet-utils ^1 normal
      • crossbeam-channel ^0.5.6 normal
      • ctrlc ^3.2.2 normal
      • dashmap ^5.4.0 normal
      • futures ^0.3.21 normal
      • fxhash ^0.2.1 normal
      • hex ^0.4.3 normal
      • hex-simd ^0.8.0 normal
      • hiro-system-kit ^0.1.0 normal
      • hyper ^0.14.24 normal
      • rand ^0.8.5 normal
      • reqwest ^0.11 normal
      • rocket =0.5.0-rc.3 normal
      • rocksdb ^0.21.0 normal
      • rusqlite ^0.27.0 normal
      • schemars ^0.8.10 normal
      • serde ^1 normal
      • serde-hex ^0.1.0 normal
      • serde_cbor ^0.11.2 normal
      • serde_derive ^1 normal
      • serde_json ^1 normal
      • stacks-rpc-client =1.0.6 normal
      • threadpool ^1.8.1 normal
      • tokio ^1.24 normal
      • toml ^0.5.6 normal
      • zeromq ^0.3.3 normal
    • Versions
    • 2.07% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

AbstractStacksBlock

Required Methods

  • get_identifier
  • get_parent_identifier
  • get_serialized_metadata
  • get_timestamp
  • get_transactions

Implementations on Foreign Types

  • StacksBlockData
  • StacksMicroblockData

Implementors

In chainhook_sdk::utils

?
Change settings

Trait chainhook_sdk::utils::AbstractStacksBlock

source ·
pub trait AbstractStacksBlock {
    // Required methods
    fn get_identifier(&self) -> &BlockIdentifier;
    fn get_parent_identifier(&self) -> &BlockIdentifier;
    fn get_transactions(&self) -> &Vec<StacksTransactionData>;
    fn get_timestamp(&self) -> i64;
    fn get_serialized_metadata(&self) -> JsonValue;
}

Required Methods§

source

fn get_identifier(&self) -> &BlockIdentifier

source

fn get_parent_identifier(&self) -> &BlockIdentifier

source

fn get_transactions(&self) -> &Vec<StacksTransactionData>

source

fn get_timestamp(&self) -> i64

source

fn get_serialized_metadata(&self) -> JsonValue

Implementations on Foreign Types§

source§

impl AbstractStacksBlock for StacksMicroblockData

source§

fn get_identifier(&self) -> &BlockIdentifier

source§

fn get_parent_identifier(&self) -> &BlockIdentifier

source§

fn get_transactions(&self) -> &Vec<StacksTransactionData>

source§

fn get_timestamp(&self) -> i64

source§

fn get_serialized_metadata(&self) -> JsonValue

source§

impl AbstractStacksBlock for StacksBlockData

source§

fn get_identifier(&self) -> &BlockIdentifier

source§

fn get_parent_identifier(&self) -> &BlockIdentifier

source§

fn get_transactions(&self) -> &Vec<StacksTransactionData>

source§

fn get_timestamp(&self) -> i64

source§

fn get_serialized_metadata(&self) -> JsonValue

Implementors§