[−][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; |
Modules
| balances | Implements support for the pallet_balances module. |
| contracts | Implements support for the pallet_contracts module. |
| 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 |
| ChargeTransactionPayment | Require the transactor pay for themselves and maybe include a tip to gain additional priority in the queue. |
| CheckEra | Check for transaction mortality. |
| CheckGenesis | Check genesis hash |
| CheckNonce | Nonce check and increment to give replay protection for transactions. |
| CheckSpecVersion | SignedExtra checks copied from substrate, in order to remove requirement to implement
substrate's |
| CheckTxVersion | Ensure the transaction version registered in the transaction is the same as at present. |
| CheckWeight | Resource limit check. |
| Client | Client to interface with a substrate node. |
| ClientBuilder | ClientBuilder for constructing a Client. |
| DefaultExtra | Default |
| 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 | Event 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 |
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. |
Type Definitions
| Extra | Extra type. |
| SignedPayload | SignedPayload type. |
| UncheckedExtrinsic | UncheckedExtrinsic type. |
Attribute Macros
| module |
Derive Macros
| Call | |
| Event | |
| Store |