substrate-api-client icon indicating copy to clipboard operation
substrate-api-client copied to clipboard

ExtrinsicV5: Add new General() creation option

Open haerdib opened this issue 9 months ago • 1 comments

For offline Extrinsic composition, we currently offer the "bare" version (previously unsigned) and the "Signed" one. With V5 there's now a third option called "General":

https://github.com/paritytech/polkadot-sdk/blob/350a6c4ccc4c2f376b9f5ed259daf3a56d5fed56/substrate/primitives/runtime/src/generic/unchecked_extrinsic.rs#L73-L91

We should match this possibility in our compose functions.

haerdib avatar Jan 31 '25 08:01 haerdib