Allow PartialExtrinsic to be held across await points (#1658)

* Allow PartialTransaction to be held across await points, and example to prove it

* Add comment to tx_parital example

* Fix book link
This commit is contained in:
James Wilson
2024-06-26 13:23:26 +01:00
committed by GitHub
parent 4fcabe211d
commit 75bb9b8354
5 changed files with 66 additions and 4 deletions
+9
View File
@@ -205,6 +205,15 @@
#![doc = include_str!("../../../examples/tx_status_stream.rs")]
//! ```
//!
//! ### Signing transactions externally
//!
//! Subxt also allows you to get hold of the signer payload and hand that off to something else to be
//! signed. The signature can then be provided back to Subxt to build the final transaction to submit:
//!
//! ```rust,ignore
#![doc = include_str!("../../../examples/tx_partial.rs")]
//! ```
//!
//! Take a look at the API docs for [`crate::tx::TxProgress`], [`crate::tx::TxStatus`] and
//! [`crate::tx::TxInBlock`] for more options.
//!