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§
Structs§
- BTree
Map - 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
- Event
Record - Record of an event happening.
Enums§
- Phase
- A phase of a block’s execution.
Traits§
- Decode
AsType - 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
. - Static
Event - Trait to uniquely identify the events’s identity from the runtime metadata.