Skip to content

Commit 7e51b3e

Browse files
authored
Expose the extrinsic hash from TxProgress (paritytech#614)
1 parent cb43ffe commit 7e51b3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

subxt/src/tx/tx_progress.rs

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ impl<T: Config, C> TxProgress<T, C> {
6464
ext_hash,
6565
}
6666
}
67+
68+
/// Return the hash of the extrinsic.
69+
pub fn extrinsic_hash(&self) -> T::Hash {
70+
self.ext_hash
71+
}
6772
}
6873

6974
impl<T: Config, C: OnlineClientT<T>> TxProgress<T, C> {

0 commit comments

Comments
 (0)