Crate ac_node_api

Source
Expand description

Contains stuff to instantiate communication with a substrate node.

Re-exports§

pub use events::EventDetails;
pub use events::Events;
pub use events::RawEventDetails;
pub use metadata::Metadata;
pub use metadata::MetadataError;

Modules§

error
General node-api Error implementation.
events
A representation of a block of events. This file bases on https://github.com/paritytech/subxt/blob/8413c4d2dd625335b9200dc2289670accdf3391a/subxt/src/events/events_type.rs#L19-L196
metadata
storage
For querying runtime storage.
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros§

vec
Creates a Vec containing the arguments.

Structs§

BTreeMap
An ordered map based on a B-Tree.
Encoded
Wraps an already encoded byte vector, prevents being encoded as a raw byte vector as part of the transaction payload
EventRecord
Record of an event happening.

Enums§

Phase
A phase of a block’s execution.

Traits§

DecodeAsType
This trait is implemented for any type T where T implements IntoVisitor and the errors returned from this Visitor can be converted into Error. It’s essentially a convenience wrapper around visitor::decode_with_visitor that mirrors scale-encode’s EncodeAsType.
StaticEvent
Trait to uniquely identify the events’s identity from the runtime metadata.

Derive Macros§

DecodeAsType