Crate ac_node_api
source ·Expand description
Contains stuff to instantiate communication with a substrate node.
Re-exports
pub use decoder::DecodeError;
pub use decoder::EncodeError;
pub use events::EventDetails;
pub use events::Events;
pub use metadata::Metadata;
pub use metadata::MetadataError;
Modules
- Decode helper. It was not possible to take the scale-value as crate, because it’s not no_std compatible. Based on https://github.com/paritytech/scale-value/blob/4d30d609dc86cbcf102385bc34ef2c01b8c9bbb1/src/scale_impls/decode.rs
- The errors use in the node-api crate.
- A representation of a block of events.
- Handle substrate chain metadata
- For querying runtime storage.
Structs
- Wraps an already encoded byte vector, prevents being encoded as a raw byte vector as part of the transaction payload
- Record of an event happening.
Enums
- A phase of a block’s execution.
Traits
- Trait to uniquely identify the events’s identity from the runtime metadata.