Crate tetcore_subxt[−][src]
A library to submit extrinsics to a tetcore node via RPC.
Re-exports
pub use tet_core; |
pub use tp_runtime; |
pub use crate::extrinsic::UncheckedExtrinsic; |
Modules
| app | Application specific crypto types |
| balances | Implements support for the noble_balances module. |
| contracts | Implements support for the noble_contracts module. |
| extrinsic | Create signed or unsigned extrinsics. |
| session | Session support |
| staking | Implements support for the noble_staking module. |
| sudo | Implements support for the fabric_sudo module. |
| system | Implements support for the fabric_system module. |
Macros
| subxt_test |
Structs
| AuthorityDiscovery | Authority discovery marker struct |
| Babe | BABE marker struct |
| BasicSessionKeys | Tetcore base runtime keys |
| BlockNumber | Wrapper for NumberOrHex to allow custom From impls |
| Client | Client to interface with a tetcore node. |
| ClientBuilder | ClientBuilder for constructing a Client. |
| ContractsTemplateRuntime | Concrete type definitions compatible with the node template, with the contracts noble enabled. |
| DefaultNodeRuntime | Concrete type definitions compatible with those in the default tetcore |
| 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 |
| Grandpa | GRANDPA marker struct |
| ImOnline | ImOnline marker struct |
| KeyIter | Iterates over key value pairs in a map. |
| 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. |
| Parachains | Parachain marker struct |
| RawEvent | Raw bytes for an Event |
| ReadProof | ReadProof struct returned by the RPC |
| 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 |
| SessionKeys | Polkadot/Kusama runtime keys |
| SystemProperties | System properties for a Tetcore-based runtime |
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 tetcore_subxt::Call for your struct and defines&implements the calls as an extension trait. |
| Event | |
| Store |