mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-01 21:05:41 +00:00
ac606cf625
* Rename traits to renmove T suffix * Fix doc links * Fix straggler doc links
30 lines
1.1 KiB
Rust
30 lines
1.1 KiB
Rust
// Copyright 2019-2023 Parity Technologies (UK) Ltd.
|
|
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
|
|
// see LICENSE for license details.
|
|
|
|
//! Create and submit extrinsics.
|
|
//!
|
|
//! An extrinsic is submitted with an "signed extra" and "additional" parameters, which can be
|
|
//! different for each chain. The trait [`crate::config::ExtrinsicParams`] determines exactly which
|
|
//! additional and signed extra parameters are used when constructing an extrinsic, and is a part
|
|
//! of the chain configuration (see [`crate::config::Config`]).
|
|
|
|
use crate::macros::cfg_substrate_compat;
|
|
|
|
mod tx_client;
|
|
mod tx_progress;
|
|
|
|
// The PairSigner impl currently relies on Substrate bits and pieces, so make it an optional
|
|
// feature if we want to avoid needing sp_core and sp_runtime.
|
|
cfg_substrate_compat! {
|
|
pub use subxt_core::tx::signer::PairSigner;
|
|
}
|
|
|
|
pub use subxt_core::tx::payload::{dynamic, DefaultPayload, DynamicPayload, Payload};
|
|
pub use subxt_core::tx::signer::{self, Signer};
|
|
pub use tx_client::{
|
|
PartialExtrinsic, SubmittableExtrinsic, TransactionInvalid, TransactionUnknown, TxClient,
|
|
ValidationResult,
|
|
};
|
|
pub use tx_progress::{TxInBlock, TxProgress, TxStatus};
|