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§
- General node-api Error implementation.
- 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
- For querying runtime storage.
- A contiguous growable array type with heap-allocated contents, written
Vec<T>
.
Macros§
- Creates a
Vec
containing the arguments.
Structs§
- An ordered map based on a B-Tree.
- 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§
- This trait is implemented for any type
T
whereT
implementsIntoVisitor
and the errors returned from thisVisitor
can be converted intoError
. It’s essentially a convenience wrapper aroundvisitor::decode_with_visitor
that mirrorsscale-encode
’sEncodeAsType
. - Trait to uniquely identify the events’s identity from the runtime metadata.