Expand description
Gear api
Re-exports§
pub use crate::config::GearConfig;pub use crate::gear::Event;pub use crate::gear::runtime_types::vara_runtime::RuntimeError;pub use crate::result::Error;pub use crate::result::Result;pub use crate::subscription::PayloadFilter;pub use crate::subscription::ProgramStateChange;pub use crate::subscription::ProgramStateChanges;pub use crate::subscription::UserMessageSent;pub use crate::subscription::UserMessageSentFilter;pub use crate::subscription::UserMessageSentSubscription;
Modules§
- backtrace
- Backtrace support for
gsdk - blocks
- This module provides useful functions for working with block stream.
- config
- Gear config
- events
- This module provides useful functions for working with event stream.
- ext
- gear
- Generated runtime API types.
- result
- GSdk Results
- subscription
- Subscription implementation.
Structs§
- Api
- Gear API wrapper.
- ApiBuilder
- GasInfo
- Pre-calculated gas consumption estimate for a message.
- Pair
Signer - A
Signerimplementation that can be constructed from ansp_core::Pair. - Signed
Api - Signed Gear API wrapper.
- TxOutput
- Transaction with its output value.
- Value
Valueholds a representation of some value that has been decoded, as well as some arbitrary context.
Enums§
- Account
Keyring - Set of test accounts.
- Program
- Gear Program
Traits§
- AsGear
- Helper traits to decoding
subxttypes into Gear-specific types. - Into
Account Id32 - Helper trait for different equivalents of
AccountId32. - Into
Substrate - Trait for
subxttypes convertible to their Substrate counterpart. - Into
Subxt - Trait for Substrate types convertible to their
subxtcounterpart.
Type Aliases§
- Block
Number - Block number type
- Gear
GasNode - Gear gas node.
- Gear
GasNode Id - Gear gas node id.
- Gear
Pages - Gear pages.
- Signer
- TxIn
Block - Transaction in block.
- TxIn
Block Result - Transaction in block with result wrapper.
- TxStatus
- Transaction status.