[−][src]Crate substrate_subxt
A library to submit extrinsics to a substrate node via RPC.
Re-exports
pub use sp_core; |
pub use sp_runtime; |
pub use crate::extrinsic::UncheckedExtrinsic; |
Modules
| balances | Implements support for the pallet_balances module. |
| contracts | Implements support for the pallet_contracts module. |
| extrinsic | Create signed or unsigned extrinsics. |
| sudo | Implements support for the frame_sudo module. |
| system | Implements support for the frame_system module. |
Macros
| subxt_test |
Structs
| BlockNumber | Wrapper for NumberOrHex to allow custom From impls |
| Client | Client to interface with a substrate node. |
| ClientBuilder | ClientBuilder for constructing a Client. |
| DefaultNodeRuntime | Concrete type definitions compatible with those in the default substrate |
| Encoded | Wraps an already encoded byte vector, prevents being encoded as a raw byte vector as part of the transaction payload |
| EventSubscription | Event subscription simplifies filtering a storage change set stream for events of interest. |
| EventsDecoder | Events decoder. |
| ExtrinsicSuccess | Captures data for when an extrinsic is successfully included in a block |
| KusamaRuntime | Concrete type definitions compatible with those for kusama, v0.7 |
| Metadata | Runtime metadata. |
| NodeTemplateRuntime | Concrete type definitions compatible with the node template. |
| PairSigner | Extrinsic signer using a private key. |
| RawEvent | Raw bytes for an Event |
| RuntimeVersion | Runtime version.
This should not be thought of as classic Semver (major/minor/tiny).
This triplet have different semantics and mis-interpretation could cause problems.
In particular: bug fixes should result in an increment of |
Enums
| Error | Error enum. |
| MetadataError | Metadata error. |
Traits
| Call | Call trait. |
| Event | Event trait. |
| Runtime | Runtime trait. |
| SignedExtension | Means by which a transaction may be extended. This type embodies both the data and the logic that should be additionally associated with the transaction. It should be plain old data. |
| SignedExtra | Trait for implementing transaction extras for a runtime. |
| Signer | Extrinsic signer. |
| Store | Store trait. |
Attribute Macros
| module | Register type sizes for EventsDecoder and set the |
Derive Macros
| Call | Derive macro that implements substrate_subxt::Call for your struct and defines&implements the calls as an extension trait. |
| Event | |
| Store |